/* ===== Sacred Garden - Shared Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --green-deep: #2d3a1f;
    --green-mid: #586643;
    --green-olive: #6b7a4f;
    --green-light: #8a9a6d;
    --green-pale: #c5d4a8;
    --cream: #f5f0e8;
    --cream-warm: #ede6d8;
    --brown-warm: #8b7355;
    --brown-dark: #5c4a32;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #fefdfb;
    --gold: #c4a265;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(45, 58, 31, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

nav.nav-solid {
    background: var(--green-deep);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.25);
    padding-left: 1.5rem;
}

.lang-switch a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.lang-switch a.active { color: var(--gold); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    background: var(--green-deep);
    padding: 8rem 2rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(107,122,79,0.15), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(196,162,101,0.08), transparent 50%);
}

.page-header .container { position: relative; }

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== SHARED COMPONENTS ===== */
.section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-olive);
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--green-olive);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88,102,67,0.4);
}

.btn-dark {
    background: var(--green-deep);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45,58,31,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* ===== FOOTER ===== */
footer {
    background: var(--green-deep);
    color: rgba(255,255,255,0.6);
    padding: 3rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(45,58,31,0.97);
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

    .lang-switch {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid rgba(255,255,255,0.15);
        padding-top: 1rem;
    }

    .section { padding: 4rem 1.5rem; }
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 1.2rem; }
}
