/* ============================================================
   LOERIE — SHARED STYLES
   ============================================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Design Tokens */
:root {
    --primary: #1a2f23;
    --accent: #d4a574;
    --light: #f8f6f3;
    --cream: #ebe6dd;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --section-padding: 8rem 3rem;
    --section-padding-mobile: 4rem 1.5rem;
}

/* Body */
body {
    font-family: 'Newsreader', serif;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(248, 246, 243, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Interior pages: always show scrolled state */
nav.nav-static {
    background: rgba(248, 246, 243, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1100;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
}

/* X animation when menu is open */
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
    padding: 12rem 3rem 6rem;
    background: linear-gradient(135deg, #1a2f23 0%, #2d4a38 100%);
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 165, 116, 0.08) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-label {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.page-header p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(248, 246, 243, 0.9);
    line-height: 1.8;
}

/* ============================================================
   COMMON SECTION LAYOUTS
   ============================================================ */
.section-wrapper {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #0f1a14;
    color: rgba(248, 246, 243, 0.7);
    padding: 3rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(248, 246, 243, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 2px;
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-social .social-icon {
    font-size: 1.1rem;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
    flex-shrink: 0;
}

.whatsapp-btn .wa-label {
    display: inline;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .whatsapp-btn .wa-label {
        display: none;
    }

    .whatsapp-btn {
        padding: 0.85rem;
        border-radius: 50%;
    }
}

/* ============================================================
   RESPONSIVE — SHARED
   ============================================================ */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Fullscreen overlay menu */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(248, 246, 243, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        letter-spacing: 0.05em;
    }

    .page-header {
        padding: 10rem 2rem 4rem;
    }

    .section-wrapper {
        padding: var(--section-padding-mobile);
    }

    .section-header {
        margin-bottom: 3rem;
    }

    footer {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1.2rem 1.5rem;
    }

    .logo {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 8rem 1.5rem 3rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}
