/* Modern Brown Theme Design */
:root {
    --primary-brown: #8B4513;
    --dark-brown: #5D2F0A;
    --light-brown: #D2B48C;
    --cream: #F5E6D3;
    --tan: #CD853F;
    --gold: #B8860B;
    --text-dark: #2C1810;
    --text-light: #5C3A21;
    --white: #FFFFFF;
    --gray-light: #F9F6F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem;
}

.nav-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switcher a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--tan) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: var(--primary-brown);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--light-brown);
}

.content-section h3 {
    color: var(--dark-brown);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.content-section ul,
.content-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* Images */
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--cream);
    color: var(--text-light);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: var(--gray-light);
}

/* FAQ Accordion */
.faq-section {
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--light-brown);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--tan) 100%);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-brown);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--tan) 0%, var(--light-brown) 100%);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Internal Links */
.content-section a {
    color: var(--primary-brown);
    text-decoration: underline;
    transition: color 0.3s;
}

.content-section a:hover {
    color: var(--dark-brown);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

footer .footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p {
    opacity: 0.9;
    margin: 0;
    line-height: 1.8;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

footer .footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

footer .footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

footer .footer-links a:hover {
    color: var(--gold);
    background-color: rgba(255, 255, 255, 0.1);
}

footer .footer-links a:hover::after {
    width: 80%;
}

footer .footer-copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 0.9rem;
}

footer .footer-divider {
    display: inline-block;
    margin: 0 0.5rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    footer .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }

    main {
        padding: 2rem 1rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 1rem;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .lang-switcher {
        display: none;
    }

    .content-section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

