/* ============================================
   THE FOREVER LEI COLLECTION — Global Styles v3
   ============================================ */

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

:root {
    --black: #0a0a0a;
    --black-light: #0f0f0f;
    --black-card: #141414;
    --black-elevated: #1a1a1a;
    --magenta: #c8307a;
    --magenta-light: #e84da0;
    --magenta-hot: #f062b2;
    --magenta-dim: #9b2560;
    --magenta-glow: rgba(200, 48, 122, 0.12);
    --purple: #8a5caa;
    --purple-soft: #c9a0dc;
    --purple-dim: rgba(138, 92, 170, 0.15);
    --white: #f0eaed;
    --white-dim: #b8aeb3;
    --white-muted: #7a7075;
    --gold: #d4a853;
    --gold-light: #e8c87a;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; background: var(--black); }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--white);
    background: var(--black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ TYPOGRAPHY ============ */
.t-label {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 1.2rem;
}

.t-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.t-heading-sm {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--white);
    line-height: 1.25;
}

.t-body {
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.85;
    max-width: 580px;
}

.t-italic {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
}

.rule {
    width: 36px;
    height: 1px;
    background: var(--magenta);
    margin: 2rem 0;
}

.rule-center {
    width: 36px;
    height: 1px;
    background: var(--magenta);
    margin: 2rem auto;
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.8rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: padding var(--transition), background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
    padding: 0.4rem 3rem;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(200, 48, 122, 0.05);
}

.nav-logo {
    height: 108px;
    width: auto;
    transition: height var(--transition);
}

.nav.scrolled .nav-logo {
    height: 80px;
}

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

.nav-links a {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white-dim);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--magenta);
    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(--white); }
.nav-links a.active::after { width: 100%; }

.nav-links .cta-link {
    color: var(--magenta-light);
    font-weight: 400;
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(200, 48, 122, 0.3);
    transition: all 0.3s ease;
}

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

.nav-links .cta-link:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 110;
}

.nav-toggle span {
    width: 22px; height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99;
}

.nav-overlay.open { display: block; }

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    padding: 1rem 2.8rem;
    border: 1px solid var(--magenta);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--magenta);
    box-shadow: 0 0 50px rgba(200, 48, 122, 0.2);
}

.btn-ghost {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--magenta-light);
    padding: 0.7rem 2rem;
    border: 1px solid rgba(200, 48, 122, 0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--magenta);
    background: rgba(200, 48, 122, 0.06);
    color: var(--white);
}

/* ============ FOOTER ============ */
.footer {
    padding: 4rem 2rem 3rem;
    border-top: 1px solid rgba(255,255,255,0.03);
    background: var(--black);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 200px;
    margin: 0 auto 2rem;
    opacity: 0.75;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-muted);
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.68rem;
    color: var(--white-muted);
    letter-spacing: 0.06em;
    opacity: 0.6;
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--magenta-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.25s; }
.stagger-3 { transition-delay: 0.4s; }
.stagger-4 { transition-delay: 0.55s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .nav { padding: 0.75rem 1.5rem; }
    .nav.scrolled { padding: 0.5rem 1.5rem; }
    .nav-toggle { display: flex; }
    .nav-logo { height: 66px; }
    .nav.scrolled .nav-logo { height: 52px; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: rgba(10, 10, 10, 0.82);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(200, 48, 122, 0.08);
        z-index: 105;
    }

    .nav-links.open { right: 0; }

    /* Inner page hero — tighter top padding */
    .page-hero { padding: 5.5rem 1.5rem 2.5rem; }

    /* Footer logo — tighter */
    .footer-logo { height: 130px; margin-bottom: 1.25rem; }
    .footer { padding: 2.5rem 1.5rem 2rem; }

    /* Global section spacing reductions */
    .rule, .rule-center { margin: 1.2rem 0; }
    .rule-center { margin: 1.2rem auto; }

    .t-heading { margin-bottom: 1rem; }
}
