/* ============================================
   BELLE ÉPOQUE DESIGN SYSTEM
   L'Artisans D'Indochine - Premium European Artisanal Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   COLOR PALETTE - BELLE ÉPOQUE
   ============================================ */

:root {
    /* Primary Colors - Warm & Sophisticated */
    --belle-cream: #F5F1E8;
    /* Soft cream background */
    --belle-ivory: #FAF8F3;
    /* Ivory white */
    --belle-parchment: #EDE8DD;
    /* Parchment tone */

    /* Accent Colors - Rich & Elegant */
    --belle-botanical: #428104;
    /* Deep green (formerly wine) */
    --belle-botanical-light: #5BA302;
    /* Lighter green */
    --belle-merlot: #6B2C3E;
    /* True deep red wine */
    --belle-wine: #6B2C3E;
    /* Alias for backward compatibility */
    --belle-wine-light: #8A3E52;
    /* Lighter wine for hover */
    --belle-wood: #5C4A37;
    /* Rich wood brown */
    --belle-wood-light: #7A6B5A;
    /* Lighter wood */
    --belle-gold: #C9A961;
    /* Elegant gold */
    --belle-gold-light: #D4B87A;
    /* Light gold */

    /* Text Colors */
    --belle-text-dark: #2C2416;
    /* Deep charcoal */
    --belle-text-medium: #4A4235;
    /* Medium brown */
    --belle-text-light: #8B8275;
    /* Light brown */

    /* Borders & Dividers */
    --belle-border: rgba(92, 74, 55, 0.15);
    --belle-border-light: rgba(92, 74, 55, 0.08);

    /* Shadows - Subtle & Refined */
    --belle-shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.06);
    --belle-shadow-md: 0 4px 16px rgba(44, 36, 22, 0.08);
    --belle-shadow-lg: 0 8px 32px rgba(44, 36, 22, 0.12);
    --belle-shadow-xl: 0 16px 48px rgba(44, 36, 22, 0.16);

    /* Typography */
    --belle-font-serif: 'Cormorant Garamond', serif;
    --belle-font-display: 'Cormorant Garamond', serif;
    --belle-font-sans: 'Inter', sans-serif;

    /* Spacing - Premium & Refined */
    --belle-space-xs: 0.5rem;
    /* 8px - Tight spacing */
    --belle-space-sm: 1rem;
    /* 16px - Small spacing */
    --belle-space-md: 1.5rem;
    /* 24px - Medium spacing */
    --belle-space-lg: 2.5rem;
    /* 40px - Large spacing */
    --belle-space-xl: 4rem;
    /* 64px - Extra large */
    --belle-space-2xl: 5.5rem;
    /* 88px - Section spacing */
    --belle-space-3xl: 7.5rem;
    /* 120px - Hero spacing */
    --belle-space-4xl: 10rem;
    /* 160px - Premium hero */

    /* Transitions - Smooth & Elegant */
    --belle-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --belle-transition-fast: all 0.2s ease;
    --belle-transition-slow: all 0.6s ease;

    /* Border Radius */
    --belle-radius-sm: 4px;
    --belle-radius-md: 8px;
    --belle-radius-lg: 12px;
    --belle-radius-xl: 16px;

    /* Layout Dimensions */
    --nav-height: 108px;
}



/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    /* ZERO-SHIFT FIX */
}

body {
    font-family: var(--belle-font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--belle-text-dark);
    background-color: var(--belle-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: var(--nav-height);
    /* Compensation for fixed header */
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--belle-botanical);
    color: var(--belle-ivory);
    padding: 1rem 1.5rem;
    z-index: 10001;
    transition: top 0.3s ease;
    border-radius: 0 0 var(--belle-radius-md) var(--belle-radius-md);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--belle-shadow-lg);
}

.skip-link:focus {
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--belle-font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
}

p {
    margin-bottom: var(--belle-space-sm);
    color: var(--belle-text-medium);
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.8;
    font-weight: 300;
    color: var(--belle-text-medium);
    letter-spacing: 0.01em;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--belle-space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--belle-space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--belle-space-sm);
    }
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1600px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    /* Locked position */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    /* Enforce fixed height */
    z-index: 1000;
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--belle-border-light);
    padding: var(--belle-space-sm) 0;
    /* Performance Optimization */
    contain: layout size;
    will-change: transform;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left Align */
    gap: var(--belle-space-md);
    height: 100%;
    /* Fill nav container */
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.logo-link {
    text-decoration: none;
    transition: var(--belle-transition);
    display: flex;
    align-items: center;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    height: auto;
}

.logo-placeholder img {
    height: 75px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: var(--belle-transition);
    display: block;
}

/* Fallback if image fails to load */
.logo-placeholder img[src=""],
.logo-placeholder img:not([src]) {
    display: none;
}

.logo-placeholder::after {
    content: 'L\'Artisan D\'Indochine';
    font-family: var(--belle-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--belle-text-dark);
    letter-spacing: 0.02em;
    display: none;
}

.logo-placeholder img[src=""]~.logo-placeholder::after,
.logo-placeholder:has(img[src=""])::after {
    display: block;
}

.logo-link:hover .logo-placeholder img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Hero logo - larger size */
.hero-logo-placeholder {
    display: flex;
    justify-content: center;
    margin-bottom: var(--belle-space-md);
}

.hero-logo-placeholder img {
    height: 518px;
    width: auto;
    max-width: 1728px;
    object-fit: contain;
    filter: drop-shadow(var(--belle-shadow-md));
}

/* Legacy text logo fallback */
.logo-text {
    font-family: var(--belle-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--belle-text-dark);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Specific fixed gap */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--belle-font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--belle-text-medium);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--belle-transition);
    position: relative;
    padding: 0.5rem 0;
    min-width: 40px;
    /* Lock min-width to prevent jitter */
    text-align: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--belle-botanical);
    transition: var(--belle-transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--belle-botanical);
}

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

/* Prevent transition glitches during initial page load */
body.nav-loading .nav,
body.nav-loading .nav *,
body.nav-loading .nav-link,
body.nav-loading .nav-link::after {
    transition: none !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--belle-text-dark);
}

/* ============================================
   MOBILE NAVIGATION OPTIMIZATION (Red Team Fix)
   ============================================ */
@media (max-width: 900px) {
    :root {
        --nav-height: 64px;
    }

    .nav {
        height: var(--nav-height);
        background: rgba(250, 248, 243, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(92, 74, 55, 0.1);
        padding: 0;
        /* Important: remove padding on mobile to keep items inside */
    }

    .mobile-menu-toggle {
        display: block;
        /* Make toggle visible */
        width: 48px;
        height: 48px;
        padding: 0;
        /* Remove padding to keep size exact */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }

    .nav-content {
        justify-content: space-between;
        align-items: center;
        /* Ensure vertical centering */
        /* Space out logo and toggle */
        padding: 0 var(--belle-space-md);
        height: 100%;
        /* Take full height of .nav */
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--belle-ivory);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--belle-space-xl) var(--belle-space-md);
        gap: var(--belle-space-lg);
        /* Increased for Thumb Zone */
        transform: translateX(100%);
        /* Hidden by default */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid var(--belle-border-light);
    }

    .nav-menu.active {
        transform: translateX(0);
        /* Slide in */
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    /* UX Thumb Zone Refinement */
    .nav-menu .nav-link {
        padding: 1rem 2rem;
        margin: 0;
        display: block;
        width: 100%;
        font-size: 1.25rem;
        /* Larger text for mobile */
        border-bottom: 1px solid var(--belle-border-light);
    }

    .nav-link::after {
        display: none;
        /* Remove underline animation on mobile */
    }

    .logo-link {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .site-logo {
        width: auto;
        height: 56px;
        object-fit: contain;
        transform: translateZ(0);
    }

    /* Hide Cart Button in header if needed, or adjust */
    .cart-button {
        margin-right: 0.5rem;
    }
}

/* ============================================
   TACTILE LUXURY MICRO-INTERACTIONS
   ============================================ */

/* Button Reset & Base */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--belle-font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--belle-radius-sm);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* "Heavy" luxury feel */
    cursor: pointer;
    overflow: hidden;
    /* Hardware acceleration for smoothness */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Primary Button - Solid */
.btn-primary {
    background-color: var(--belle-botanical);
    color: var(--belle-ivory);
    border: 1px solid var(--belle-botanical);
    box-shadow: 0 4px 6px rgba(66, 129, 4, 0.15);
}

.btn-primary:hover {
    background-color: var(--belle-botanical-light);
    border-color: var(--belle-botanical-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(66, 129, 4, 0.25);
    /* Expanded shadow */
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(66, 129, 4, 0.15);
}

/* Outline Button - Ghost */
.btn-outline {
    background-color: transparent;
    color: var(--belle-botanical);
    border: 1px solid var(--belle-botanical);
}

.btn-outline:hover {
    background-color: var(--belle-ivory);
    color: var(--belle-botanical-light);
    border-color: var(--belle-botanical-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(66, 129, 4, 0.15);
}

.btn-ghost {
    color: var(--belle-text-medium);
    border-color: var(--belle-border);
}

.btn-ghost:hover {
    background: var(--belle-parchment);
    border-color: var(--belle-border);
}

/* Premium Text Link Button */
.btn-text-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--belle-wine);
    font-family: var(--belle-font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--belle-transition);
    border: none;
    background: transparent;
    padding: 0;
}

.btn-text-premium:hover {
    color: var(--belle-gold);
    transform: translateX(4px);
    /* Subtle forward movement */
}

.btn-text-premium svg {
    transition: transform 0.3s ease;
}

.btn-text-premium:hover svg {
    transform: translateX(4px);
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--belle-ivory);
    border: 3px solid var(--belle-wine);
    border-radius: var(--belle-radius-lg);
    padding: var(--belle-space-lg);
    transition: var(--belle-transition);
    box-shadow: var(--belle-shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Alternating border colors for visual variety */
.card:nth-child(even) {
    border-color: var(--belle-botanical);
}

@media (max-width: 768px) {
    .card {
        padding: var(--belle-space-md);
    }
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 44, 62, 0.25);
    border-color: var(--belle-wine-light);
}

.card:nth-child(even):hover {
    box-shadow: 0 8px 24px rgba(66, 129, 4, 0.25);
    border-color: var(--belle-botanical-light);
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    /* Centralize image */
    border-radius: var(--belle-radius-md);
    margin-bottom: var(--belle-space-md);
    background: var(--belle-parchment);
}

.card-title {
    font-family: var(--belle-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-sm);
    line-height: 1.3;
}

.card-description {
    color: var(--belle-text-medium);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
    display: grid;
    gap: var(--belle-space-lg);
}

@media (max-width: 768px) {
    .grid {
        gap: var(--belle-space-md);
    }
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--belle-space-2xl) 0;
    /* Reduced from 3xl (120px) to 2xl (88px) */
}

.section:first-of-type {
    padding-top: var(--belle-space-xl);
    /* Reduced from 2xl (88px) to xl (64px) */
}

.section:last-of-type {
    padding-bottom: var(--belle-space-2xl);
    /* Reduced from 3xl (120px) to 2xl (88px) */
}

@media (max-width: 1024px) {
    .section {
        padding: var(--belle-space-xl) 0;
        /* Reduced from 2xl (88px) to xl (64px) */
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--belle-space-lg) 0;
        /* Reduced from xl (64px) to lg (40px) */
    }
}

.section-title {
    font-family: var(--belle-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-lg);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    color: var(--belle-text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto var(--belle-space-2xl);
    line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--belle-cream) 0%, var(--belle-parchment) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(245, 241, 232, 0.2) 0%, rgba(245, 241, 232, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: var(--belle-space-2xl) var(--belle-space-lg);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        padding: var(--belle-space-xl) var(--belle-space-md);
    }
}

.hero-title {
    font-family: var(--belle-font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-md);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-tagline {
    font-family: var(--belle-font-sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--belle-text-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--belle-space-lg);
    line-height: 1.5;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--belle-text-medium);
    line-height: 1.8;
    margin-bottom: var(--belle-space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--belle-space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--belle-space-lg);
}


/* Minimalist Hero Variant (Green Botanical Texture) */
/* Minimalist Hero Variant (Matches Testimonials Standard) */
.hero-minimal {
    position: relative;
    padding: var(--belle-space-xl) 0;
    /* Reduced padding for compact height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--belle-cream) 0%, var(--belle-parchment) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-minimal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/tonkin.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    /* Very subtle texture */
    filter: sepia(0.5) hue-rotate(45deg);
    /* Warm tone */
    z-index: 0;
}

.hero-minimal::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--belle-botanical-light), transparent);
    opacity: 0.5;
    z-index: 1;
}

.hero-minimal .hero-content {
    z-index: 2;
    position: relative;
    padding: 0 var(--belle-space-md);
    max-width: 800px;
}

.hero-minimal .hero-title {
    color: var(--belle-botanical);
    text-shadow: none;
    margin-bottom: var(--belle-space-sm);
}

.hero-minimal .section-subtitle {
    color: var(--belle-text-medium);
    font-weight: 400;
}



/* ============================================
   IMAGES
   ============================================ */

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

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--belle-radius-md);
    background: var(--belle-parchment);
    border: 3px solid var(--belle-botanical);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Centralize image */
    transition: var(--belle-transition-slow);
}

.image-container:hover {
    border-color: var(--belle-botanical-light);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #2D5016;
    /* Business card green */
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
    margin-top: var(--belle-space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Footer Logo Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--belle-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

/* Footer Contact Section */
.footer-contact h4 {
    font-family: var(--belle-font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: #FFFFFF;
}

.footer-specialty {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Footer Social Section */
.footer-social-section h4 {
    font-family: var(--belle-font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-admin {
    margin-top: 0.5rem;
}

.footer-admin a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.footer-admin a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        font-size: 2rem;
    }

    .footer-social-links {
        justify-content: flex-start;
    }
}


/* ============================================
   UTILITIES
   ============================================ */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-sm {
    margin-top: var(--belle-space-sm);
}

.mt-md {
    margin-top: var(--belle-space-md);
}

.mt-lg {
    margin-top: var(--belle-space-lg);
}

.mt-xl {
    margin-top: var(--belle-space-xl);
}

.mb-sm {
    margin-bottom: var(--belle-space-sm);
}

.mb-md {
    margin-bottom: var(--belle-space-md);
}

.mb-lg {
    margin-bottom: var(--belle-space-lg);
}

.mb-xl {
    margin-bottom: var(--belle-space-xl);
}

/* Color Utilities */
.text-merlot {
    color: var(--belle-merlot);
}

.bg-merlot {
    background-color: var(--belle-merlot);
}

.border-merlot {
    border-color: var(--belle-merlot);
}

.text-botanical {
    color: var(--belle-botanical);
}

.bg-botanical {
    background-color: var(--belle-botanical);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* Menu Page */
.menu-section {
    margin-bottom: var(--belle-space-xl);
}

.menu-category {
    margin-bottom: var(--belle-space-lg);
}

.category-filters {
    min-height: 70px;
    /* Reserves space for filter buttons to prevent jump */
}

.menu-content {
    min-height: 50vh;
    /* Keeps footer pushed down during loading */
    transition: opacity 0.3s ease;
}

.menu-category h3 {
    font-family: var(--belle-font-display);
    font-size: 2rem;
    color: var(--belle-botanical);
    margin-bottom: var(--belle-space-md);
    padding-bottom: var(--belle-space-xs);
    border-bottom: 2px solid var(--belle-border);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--belle-space-md) 0;
    border-bottom: 1px solid var(--belle-border-light);
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    gap: var(--belle-space-md);
    /* Hard Lock Dimensions & GPU */
    min-height: 130px;
    contain: layout;
}

.menu-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    /* Centralize image */
    border-radius: var(--belle-radius-sm);
    background-color: var(--belle-parchment);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    flex: 1;
    padding-right: var(--belle-space-sm);
}

.menu-item-name {
    font-family: var(--belle-font-display);
    font-size: 1.25rem;
    color: var(--belle-text-dark);
    margin-bottom: 0.5rem;
}

.menu-item-description {
    font-size: 0.9375rem;
    color: var(--belle-text-medium);
    line-height: 1.6;
}

.menu-item-price {
    font-family: var(--belle-font-display);
    font-size: 1.25rem;
    color: var(--belle-botanical);
    font-weight: 600;
    white-space: nowrap;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: var(--belle-space-sm);
    margin-bottom: var(--belle-space-xl);
    flex-wrap: wrap;
}

.menu-tab {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--belle-border);
    color: var(--belle-text-medium);
    cursor: pointer;
    border-radius: var(--belle-radius-sm);
    transition: var(--belle-transition);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--belle-font-sans);
}

.menu-tab.active,
.menu-tab:hover {
    background: var(--belle-botanical);
    color: var(--belle-ivory);
    border-color: var(--belle-botanical);
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
}

.page-header {
    text-align: center;
    padding: var(--belle-space-2xl) 0 var(--belle-space-lg);
}

.page-header h1 {
    font-family: var(--belle-font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-sm);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--belle-text-medium);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Shop Page */
.shop-hero {
    padding: var(--belle-space-2xl) 0 var(--belle-space-lg);
    background: linear-gradient(135deg, var(--belle-cream) 0%, var(--belle-parchment) 100%);
}

.shop-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--belle-space-xl);
    align-items: center;
}

.shop-hero-title {
    font-family: var(--belle-font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-sm);
}

.shop-hero-subtitle {
    font-size: 1.125rem;
    color: var(--belle-text-medium);
    line-height: 1.8;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--belle-space-md);
}

.shop-card {
    background: var(--belle-ivory);
    border: 1px solid var(--belle-border-light);
    border-radius: var(--belle-radius-lg);
    overflow: hidden;
    transition: var(--belle-transition);
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--belle-shadow-lg);
    border-color: var(--belle-border);
}

.shop-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--belle-parchment);
    border: 3px solid var(--belle-botanical);
    border-radius: var(--belle-radius-md);
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--belle-transition-slow);
}

.shop-card:hover .shop-card-image {
    border-color: var(--belle-botanical-light);
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.05);
}

.shop-card-body {
    padding: var(--belle-space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-card-name {
    font-family: var(--belle-font-display);
    font-size: 1.25rem;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-xs);
}

.shop-card-description {
    font-size: 0.9375rem;
    color: var(--belle-text-medium);
    line-height: 1.6;
    margin-bottom: var(--belle-space-sm);
    min-height: 1.5em;
    /* Reserve space for one line to maintain consistent card heights */
}

.shop-card-price {
    font-family: var(--belle-font-display);
    font-size: 1.5rem;
    color: var(--belle-wine);
    font-weight: 700;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--belle-space-md);
    min-height: 50vh;
    /* Prevent collapse during loading */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--belle-radius-lg);
    aspect-ratio: 4 / 3;
    border: 3px solid var(--belle-botanical);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Centralize image */
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-item:hover {
    border-color: var(--belle-botanical-light);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Events */
.event-card {
    background: var(--belle-ivory);
    border: 3px solid var(--belle-wine);
    border-radius: var(--belle-radius-lg);
    padding: 0;
    margin-bottom: var(--belle-space-md);
    transition: var(--belle-transition);
    box-shadow: var(--belle-shadow-sm);
    overflow: visible;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 44, 62, 0.25);
    border-color: var(--belle-wine-light);
}

.event-title {
    font-family: var(--belle-font-display);
    font-size: 1.5rem;
    color: var(--belle-text-dark);
    margin-bottom: var(--belle-space-xs);
}

.event-time {
    color: var(--belle-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--belle-space-xs);
}

.event-description {
    color: var(--belle-text-medium);
    line-height: 1.7;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--belle-border);
    border-radius: var(--belle-radius-sm);
    background: var(--belle-ivory);
    color: var(--belle-text-dark);
    font-family: var(--belle-font-sans);
    font-size: 1rem;
    transition: var(--belle-transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--belle-botanical);
    box-shadow: 0 0 0 3px rgba(66, 129, 4, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Admin Panel */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--belle-space-xl);
    background: var(--belle-cream);
    min-height: 100vh;
}

.admin-header {
    text-align: center;
    margin-bottom: var(--belle-space-xl);
}

.admin-tabs {
    display: flex;
    gap: var(--belle-space-sm);
    margin-bottom: var(--belle-space-lg);
    flex-wrap: wrap;
    border-bottom: 1px solid var(--belle-border);
    padding-bottom: var(--belle-space-sm);
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--belle-text-medium);
    cursor: pointer;
    font-family: var(--belle-font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--belle-transition);
}

.admin-tab:hover,
.admin-tab.active {
    color: var(--belle-botanical);
    border-bottom-color: var(--belle-botanical);
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--belle-ivory);
    border-radius: var(--belle-radius-md);
    overflow: hidden;
}

.admin-table th {
    background: var(--belle-parchment);
    padding: var(--belle-space-sm) var(--belle-space-md);
    text-align: left;
    font-family: var(--belle-font-sans);
    font-weight: 600;
    color: var(--belle-text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: var(--belle-space-md);
    border-top: 1px solid var(--belle-border-light);
    color: var(--belle-text-medium);
}

.btn-add {
    background: var(--belle-botanical);
    color: var(--belle-ivory);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--belle-radius-sm);
    font-family: var(--belle-font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: var(--belle-transition);
    margin-bottom: var(--belle-space-md);
}

.btn-add:hover {
    background: var(--belle-botanical-light);
}

.btn-edit,
.btn-delete {
    padding: 0.5rem 1rem;
    border: 1px solid var(--belle-border);
    border-radius: var(--belle-radius-sm);
    background: transparent;
    color: var(--belle-text-medium);
    cursor: pointer;
    font-family: var(--belle-font-sans);
    font-size: 0.875rem;
    transition: var(--belle-transition);
    margin-right: var(--belle-space-xs);
}

.btn-edit:hover {
    background: var(--belle-gold);
    border-color: var(--belle-gold);
    color: var(--belle-text-dark);
}

.btn-delete:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 22, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--belle-space-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--belle-ivory);
    border-radius: var(--belle-radius-lg);
    padding: var(--belle-space-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--belle-shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--belle-space-lg);
}

.modal-header h2 {
    font-family: var(--belle-font-display);
    font-size: 2rem;
    color: var(--belle-text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--belle-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--belle-text-dark);
}

.form-group {
    margin-bottom: var(--belle-space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--belle-space-xs);
    font-family: var(--belle-font-sans);
    font-weight: 500;
    color: var(--belle-text-dark);
    font-size: 0.9375rem;
}

.form-actions {
    display: flex;
    gap: var(--belle-space-sm);
    justify-content: flex-end;
    margin-top: var(--belle-space-lg);
}

.btn-save {
    background: var(--belle-botanical);
    color: var(--belle-ivory);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--belle-radius-sm);
    font-family: var(--belle-font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: var(--belle-transition);
}

.btn-save:hover {
    background: var(--belle-botanical-light);
}

.btn-cancel {
    background: transparent;
    color: var(--belle-text-medium);
    border: 1px solid var(--belle-border);
    padding: 0.75rem 2rem;
    border-radius: var(--belle-radius-sm);
    font-family: var(--belle-font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: var(--belle-transition);
}

.btn-cancel:hover {
    background: var(--belle-parchment);
    border-color: var(--belle-border);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Logo responsive sizing */
    .logo-placeholder img {
        height: 60px;
        max-width: 225px;
    }

    .hero-logo-placeholder img {
        height: 346px;
        max-width: 1210px;
    }

    .hero {
        min-height: 50vh;
    }

    .section {
        padding: var(--belle-space-xl) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .shop-hero-inner {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        flex-direction: column;
    }

    .menu-tab {
        width: 100%;
    }
}