/* ═══════════════════════════════════════════════
   ELORA WEDDINGS — Editorial Luxury Design System
   ═══════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
    --rose: #c49a96;
    --rose-deep: #a87d79;
    --sage: #8ca28e;
    --sage-deep: #6e8570;
    --blush: #edb2b8;
    --ivory: #faf9f7;
    --cream: #f3eeeb;
    --warm-gray: #4a5568;
    --warm-gray-light: #718096;
    --charcoal: #2d3748;
    --white: #fefefe;

    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--warm-gray);
    background: var(--ivory);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { color: inherit; }

/* ─── TYPOGRAPHY ─── */
.overline {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose);
}

.heading-xl {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--charcoal);
}

.heading-lg {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
}

.heading-md {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

.heading-sm {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}

em, .italic { font-style: italic; color: var(--rose-deep); }

.text-light { color: var(--warm-gray-light); }
.text-sm { font-size: 0.9rem; }
.text-center { text-align: center; }

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

nav.scrolled {
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    padding: 16px 48px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--charcoal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

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

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    margin: 6px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--charcoal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--rose-deep);
    transform: translateY(-1px);
}

.btn-primary-rose {
    background: var(--rose);
}

.btn-primary-rose:hover {
    background: var(--rose-deep);
}

.btn-secondary {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--rose);
    transition: color 0.3s;
}

.btn-secondary:hover { color: var(--charcoal); }

/* ─── SECTIONS ─── */
.section {
    padding: var(--space-2xl) var(--space-xl);
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--charcoal);
    color: var(--ivory);
}

.section-dark .overline { color: var(--blush); }
.section-dark .heading-lg,
.section-dark .heading-md { color: var(--ivory); }
.section-dark em { color: var(--blush); }

.section-cream {
    background: var(--cream);
}

.section-rose {
    background: var(--rose);
    color: var(--white);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-header .overline {
    margin-bottom: 20px;
}

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

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

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

/* ─── HERO ─── */
.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 36px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--warm-gray-light);
    max-width: 420px;
    margin-bottom: var(--space-lg);
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--cream) 0%, #d4b8b5 40%, var(--rose) 70%, var(--sage) 100%);
    position: relative;
}

.hero-image-placeholder::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 48px; left: 48px; right: 48px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.hero-scroll {
    position: absolute;
    bottom: 40px; left: var(--space-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    z-index: 2;
}

.hero-scroll-line {
    width: 48px; height: 1px;
    background: var(--rose);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--charcoal);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ─── PAGE HERO (non-homepage) ─── */
.page-hero {
    padding: 160px var(--space-xl) 80px;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.page-hero .overline { margin-bottom: 20px; }

.page-hero .heading-lg {
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--warm-gray-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── WHY ELORA GRID ─── */
.why-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.why-image {
    aspect-ratio: 4/5;
    background: linear-gradient(180deg, var(--cream) 0%, #c4b0a8 100%);
    position: relative;
}

.why-image::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 24px; left: 24px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.why-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-list {
    list-style: none;
    margin-top: var(--space-lg);
}

.why-list li {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
}

.why-list li:first-child {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.why-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--rose);
    line-height: 1;
    padding-top: 2px;
}

.why-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--warm-gray-light);
    line-height: 1.6;
}

/* ─── STATS RIBBON ─── */
.stats-ribbon {
    background: linear-gradient(rgba(196,154,150,0.85), rgba(168,125,121,0.85)), url('/images/stats-river.png') center/cover no-repeat;
    padding: 56px var(--space-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* ─── VENDOR GRID (dark section) ─── */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.vendor-card {
    background: rgba(255,255,255,0.04);
    padding: 56px 40px;
    position: relative;
    cursor: pointer;
    transition: background 0.4s;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    display: block;
}

.vendor-card:hover {
    background: rgba(255,255,255,0.08);
}

.vendor-count {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--blush);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.vendor-card:hover .vendor-count { opacity: 0.7; }

.vendor-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 10px;
}

.vendor-desc {
    font-size: 0.85rem;
    color: rgba(250,249,247,0.5);
    line-height: 1.6;
}

.vendor-arrow {
    position: absolute;
    top: 40px; right: 40px;
    width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, transform 0.3s;
}

.vendor-card:hover .vendor-arrow {
    border-color: var(--blush);
    transform: translateX(4px);
}

.vendor-arrow svg {
    width: 14px; height: 14px;
    stroke: rgba(255,255,255,0.4);
    fill: none;
    stroke-width: 2;
}

/* ─── VENDOR LISTING (category pages) ─── */
.vendor-listing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.listing-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.listing-card-overline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 8px;
}

.listing-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.listing-card-desc {
    font-size: 0.9rem;
    color: var(--warm-gray-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.listing-card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.listing-card-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
    padding: 4px 12px;
    border: 1px solid rgba(140,162,142,0.3);
}

/* ─── VENDOR DETAIL PAGE ─── */
.vendor-detail-hero {
    padding: 160px var(--space-xl) 80px;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.vendor-detail-back {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    transition: color 0.3s;
}

.vendor-detail-back:hover { color: var(--charcoal); }

.vendor-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.vendor-sidebar {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 40px;
    position: sticky;
    top: 100px;
}

.vendor-sidebar h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.vendor-sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    display: flex;
    justify-content: space-between;
}

.vendor-sidebar-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

.vendor-sidebar-value {
    font-size: 0.9rem;
    color: var(--charcoal);
    text-align: right;
}

.vendor-sidebar-value a {
    color: var(--rose-deep);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.vendor-sidebar-value a:hover { border-color: var(--rose-deep); }

.vendor-features {
    list-style: none;
    margin-top: 24px;
}

.vendor-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--warm-gray);
    display: flex;
    gap: 12px;
    align-items: center;
}

.vendor-features li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--rose);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── FORMS ─── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    transition: border-color 0.3s;
    outline: none;
}

.form-input:focus { border-bottom-color: var(--rose); }
.form-input::placeholder { color: rgba(0,0,0,0.25); }

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--charcoal);
    background: transparent;
    outline: none;
}

.form-textarea:focus { border-bottom-color: var(--rose); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-full { grid-column: 1 / -1; }

/* ─── VIP SECTION ─── */
.vip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.vip-perks {
    list-style: none;
    margin: 32px 0 40px;
}

.vip-perks li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--warm-gray-light);
    display: flex;
    gap: 12px;
    align-items: center;
}

.vip-perks li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--rose);
    border-radius: 50%;
    flex-shrink: 0;
}

.vip-image {
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--cream) 0%, var(--rose) 50%, var(--sage) 100%);
    position: relative;
}

.vip-image::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 24px; left: 24px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ─── IMAGE PLACEHOLDER ─── */
.image-placeholder {
    background: linear-gradient(160deg, var(--cream) 0%, #d4b8b5 40%, var(--rose) 70%, var(--sage) 100%);
    position: relative;
}

.image-placeholder::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 24px; left: 24px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ─── FOOTER ─── */
footer {
    padding: 60px var(--space-xl);
    background: var(--charcoal);
    color: rgba(250,249,247,0.5);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ivory);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(250,249,247,0.4);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(250,249,247,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
}

/* ─── LEGAL PAGES ─── */
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 40px 0 16px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.75;
}

.legal-content ul {
    margin: 12px 0 20px 24px;
}

.legal-content li {
    margin-bottom: 6px;
    line-height: 1.65;
}

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

.anim-hero { opacity: 0; }
.anim-hero.a1 { animation: fadeUp 0.8s 0.3s forwards; }
.anim-hero.a2 { animation: fadeUp 0.8s 0.5s forwards; }
.anim-hero.a3 { animation: fadeUp 0.8s 0.7s forwards; }
.anim-hero.a4 { animation: fadeUp 0.8s 0.9s forwards; }
.anim-hero.a5 { animation: fadeUp 0.8s 1.1s forwards; }

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s, transform 0.7s;
}

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

/* ─── SEASONS GRID ─── */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.season-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.season-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .section { padding: 80px 40px; }
    nav { padding: 20px 32px; }
    nav.scrolled { padding: 14px 32px; }
    .hero-content { padding: 100px 40px 60px; }
    .why-content { padding: 48px; }
    .stats-ribbon { padding: 40px; gap: 20px; }
    .vendor-grid { grid-template-columns: repeat(2, 1fr); }
    .vendor-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .vendor-sidebar { position: static; }
    .seasons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 40px;
        --space-2xl: 64px;
    }

    .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(250,249,247,0.98);
        backdrop-filter: blur(20px);
        padding: 24px 32px;
        gap: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .section { padding: 64px 24px; }

    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 120px 24px 48px;
        order: 2;
    }

    .hero-image {
        height: 50vh;
        order: 1;
    }

    .hero-scroll { display: none; }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero { padding: 120px 24px 48px; }

    .why-grid-2col { grid-template-columns: 1fr; }
    .why-image { aspect-ratio: 16/9; }

    .vendor-grid { grid-template-columns: 1fr; }
    .vendor-card { padding: 36px 24px; }
    .vendor-listing { grid-template-columns: 1fr; }
    .seasons-grid { grid-template-columns: 1fr; }

    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 24px;
    }

    .vip-grid { grid-template-columns: 1fr; gap: 48px; }

    .form-grid { grid-template-columns: 1fr; }

    footer { padding: 40px 24px; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
