/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #8b0000;
    --text-color: #1a1a1a;
    --text-light: #555;
    --bg-color: #ffffff;
    --bg-light: #f5f5f5;
    --border-color: #d0d0d0;
    --hover-color: #660000;
    --warning-bg: #fff8e1;
    --warning-border: #ff6f00;
    --strict-bg: #fafafa;
    --strict-border: #8b0000;
    --spacing-unit: 1rem;
    --max-width: 1200px;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Crimson Text', 'Times New Roman', Georgia, serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 17px;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--accent-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: white;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffcccc;
    border-bottom: 3px solid var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.warning-text {
    background-color: var(--warning-bg);
    border: 2px solid var(--warning-border);
    border-left: 5px solid var(--accent-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-weight: 600;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.75rem;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.strict-text {
    font-weight: 500;
    color: var(--primary-color);
    background-color: var(--strict-bg);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    margin: 1rem 0;
    border-radius: var(--border-radius);
}

.contact-email {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-email p {
    color: #ffffff !important;
    margin: 0;
}

.contact-email strong {
    color: #ffffff !important;
}

.contact-email a {
    color: #ffcccc !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #ffcccc;
    transition: var(--transition);
}

.contact-email a:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
}

.content-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.content-block li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-color);
}

.content-block li::marker {
    color: var(--accent-color);
}

/* Links */
.external-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.external-link:hover {
    color: var(--hover-color);
    border-bottom-color: var(--hover-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .content-block h3 {
        font-size: 1.25rem;
    }

    .content-block ul {
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle {
        display: none;
    }

    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
}

