:root {
    --teal-dark: #1a3a4a;
    --teal-mid: #2a6b7c;
    --teal-accent: #5AAFBF;
    --gold: #C9A84C;
    --cream: #f9f6ef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--teal-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background-color: var(--teal-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    max-height: 50px;
    width: auto;
}

.back-link {
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

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

.lang-toggle {
    display: flex;
    gap: 0.5rem;
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 4px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.lang-btn.active {
    background-color: var(--gold);
    color: var(--teal-dark);
}

/* Header */
.page-header {
    background: linear-gradient(135deg, var(--teal-mid) 0%, var(--teal-accent) 100%);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--cream);
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.policy-section,
.terms-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: white;
    border-left: 4px solid var(--teal-accent);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.policy-section h2,
.terms-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.policy-section p,
.terms-section p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy-section ul,
.terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li,
.terms-section li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

a {
    color: var(--teal-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--teal-mid);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--teal-dark);
    color: var(--cream);
    padding: 3rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--teal-accent);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--teal-accent);
    border-radius: 50%;
    color: var(--teal-dark);
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--teal-dark);
    color: var(--cream);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    animation: slideUp 0.3s ease;
}

.cookie-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: var(--gold);
    color: var(--teal-dark);
}

.cookie-btn-accept:hover {
    background-color: var(--teal-accent);
    color: var(--cream);
}

.cookie-btn-necessary {
    background-color: transparent;
    color: var(--cream);
    border: 1px solid var(--cream);
}

.cookie-btn-necessary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    .policy-section,
    .terms-section {
        padding: 1.5rem;
    }

    .policy-section h2,
    .terms-section h2 {
        font-size: 1.4rem;
    }
}