:root {
    --primary-color: #58111A;
    /* Bordeaux */
    --secondary-color: #D4AF37;
    /* Gold */
    --text-dark: #2C2C2C;
    /* Dark text for light backgrounds */
    --text-light: #F4F1EA;
    /* Light text for bordeaux backgrounds */
    --bg-light: #FAF9F6;
    /* Off-white for light sections */
    --bg-bordeaux: #58111A;
    /* Bordeaux for dark sections */
    --bg-normandy: #F0EAD6;
    /* Unique light beige for normandy */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.4s ease;
    --container-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--primary-color);
    /* Fix white gap on overscroll (Mac/iOS) */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
    /* Prevent scrolling when modal is open */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    /* Gold on dark fits better */
}

.eyebrow,
.section-label {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    /* Gold looks better on red */
    margin-bottom: 0.5rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    /* White */
    color: var(--bg-light);
    /* Red Text */
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    /* White Text */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-light);
}

/* Modal / Age Gate */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 88%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.modal-logo h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0px;
}

.modal-logo span {
    display: block;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.modal-actions .btn-secondary {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.warning {
    font-size: 0.75rem;
    color: #e0e0e0;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.8rem 1.2rem;
        width: 92%;
    }

    .modal-logo h1 {
        font-size: 1.3rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.7rem;
    }

    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }
}


.contact-content {
    position: relative;
    text-align: left;
}

.contact-content label {
    font-weight: bold;
    display: block;
    margin-top: 1rem;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

.contact-methods {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.method strong {
    display: block;
    color: var(--secondary-color);
}

/* Mobile Nav Defaults (Hidden on Desktop) */
.mobile-nav,
.mobile-menu-btn {
    display: none;
}

/* Close button hidden on desktop */
.mobile-nav-close {
    display: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(88, 17, 26, 0.95);
    /* Explicit Bordeaux */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    /* Reduced padding for compactness */
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 3%;
    /* Reduced padding to push closer to edge if needed */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    /* Ensure minimum space between logo and nav */
}

.logo h1 {
    font-size: 1.2rem;
    /* Reduced size */
    color: #FFF;
    /* Always white in header */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    /* Remove bottom margin */
}

.logo .since {
    font-size: 0.7rem;
    /* Reduced size */
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav li {
    position: relative;
    padding: 1rem 0;
    /* Increase hit area for hover */
}

nav a {
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFF;
    white-space: nowrap;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--primary-color);
    /* Bordeaux */
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    z-index: 1001;
    border-radius: 4px;
}

nav li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    padding: 0;
    display: block;
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    text-transform: none;
    /* More readable */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.dropdown li:last-child a {
    border-bottom: none;
}

nav a.btn-visit {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Hero */
.hero {
    height: 85vh;
    /* Slightly reduced height */
    background: url('assets/img/hero_wide.jpg') no-repeat center center;
    background-size: cover;
    /* Ensures full coverage without excessive zoom */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger gradient for better text readability */
    background: linear-gradient(0deg, rgba(88, 17, 26, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 900px;
}

.hero h2 {
    font-size: 3.5rem;
    color: #FFF;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* Enhanced Buttons for Visibility */
.btn-primary {
    background-color: var(--secondary-color);
    /* Gold background */
    color: #000;
    /* Black text for contrast */
    border: 2px solid var(--secondary-color);
    font-weight: 700;
    padding: 1rem 2.5rem;
    /* Larger click area */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #FFF;
    border: 2px solid #FFF;
    /* Thicker border */
    font-weight: 700;
    padding: 1rem 2.5rem;
}

.btn-secondary:hover {
    background-color: #FFF;
    color: var(--primary-color);
}

/* Sections Defaults (Light) */
.content-section {
    padding: 6rem 5%;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal split */
    gap: 4rem;
    align-items: center;
}

/* Force image order on desktop: Text Left, Image Right by default */
/* But HTML structure is Image first now. Let's fix loop. */

/* Universal Side-by-Side Image Control */
.split-layout .image-content {
    order: 2;
    /* Image on Right */
}

.split-layout .text-content {
    order: 1;
    /* Text on Left */
}

.image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: none;
    /* Removed the solid bordeaux shadow bar */
    border-radius: 2px;
    /* Slight radius for polish */
    max-height: 500px;
}

.caption {
    display: block;
    margin-top: 15px;
    /* Spacing from image */
    font-size: 0.85rem;
    color: #666;
    /* Neutral grey, no bordeaux */
    text-align: right;
    font-style: italic;
    background: transparent !important;
    /* Force remove any background */
}

/* Specific Section Overrides */
/* Maison (History): Light/White */
.history-section {
    background-color: var(--bg-light);
}

.history-section h2 {
    color: var(--primary-color);
    /* Bordeaux Text */
}

.history-section .lead,
.history-section p {
    color: var(--text-dark);
}

.history-section blockquote {
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Image Controls */
/* Image Controls (Cleaned) */
/* Duplicate rules removed - using definition around line 440 */

/* Vins Section: Bordeaux */
.light-bg {
    background-color: var(--bg-bordeaux);
    /* Override to Bordeaux */
    color: var(--text-light);
}

.light-bg h2 {
    color: var(--text-light);
}

.light-bg .section-label {
    color: var(--secondary-color);
}

/* Story Block inside Vins */
/* Vins Section Structure Restoration */
.story-block {
    display: grid;
    grid-template-columns: 40% 1fr;
    /* Fixed width for image column */
    gap: 4rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    /* Remove padding from container */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
    overflow: hidden;
    /* Contain child elements */
    align-items: stretch;
}

.story-image {
    height: 100%;
    min-height: 400px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover is okay here as it's atmospheric */
}

.story-text {
    padding: 3rem;
    /* Padding moves to text block */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Features List (Rows) */
/* Features Grid (Cards) */
/* Features Grid (Cards) - Minimalist & Elegant */
/* Features Grid (Cards) - Premium Square Design */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 4rem auto 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    aspect-ratio: 1 / 1;
    background: rgba(44, 44, 44, 0.4);
    /* Dark glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    padding: 3rem;
    transition: all 0.5s ease;
    overflow: hidden;
    cursor: pointer;
}

/* Inner border for 'Label' effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-card:hover {
    background: rgba(88, 17, 26, 0.4);
    /* Subtle Bordeaux tint on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.feature-card:hover::after {
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(0.95);
}

.card-number {
    position: absolute;
    top: 0rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    /* Watermark effect */
    line-height: 1;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover .card-number {
    color: rgba(212, 175, 55, 0.1);
    transform: translateY(10px);
}

.feature-card h4 {
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: #e0e0e0;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 0;
    opacity: 0.8;
}

.feature-card .arrow {
    position: absolute;
    bottom: 2rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.feature-card:hover .arrow {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        aspect-ratio: auto;
        padding: 4rem 2rem;
    }
}


/* Detail Page Styles */
.selection-hero {
    height: 50vh;
    background: url('assets/img/crates_stack.jpg') no-repeat center center/cover;
}

.detail-section {
    padding: 6rem 5%;
}

.detail-section.dark {
    background-color: var(--bg-bordeaux);
    color: var(--text-light);
}

.detail-section.light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.detail-block {
    max-width: 800px;
    margin: 0 auto;
}

.detail-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.detail-section.light h2 {
    color: var(--primary-color);
}

.detail-section.dark h2,
.detail-section.dark p {
    color: var(--text-light);
}

.detail-section.dark .lead {
    color: #e0e0e0;
}

.detail-section.light p {
    color: var(--text-dark);
}

.detail-section .text-content {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.detail-section .text-content p {
    margin-bottom: 1.5rem;
}

.features-grid .feature-item h4 {
    color: var(--secondary-color);
}

.features-grid .feature-item p {
    color: #d0d0d0;
}

/* Reviews Ticker Section */
.reviews-ticker-section {
    background-color: var(--bg-bordeaux);
    /* Use the explicit Bordeaux variable */
    padding: 3rem 0;
    overflow: hidden;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-container::before,
.ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-bordeaux), transparent);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-bordeaux), transparent);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
    /* Pause on hover for reading */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half-way because content is duplicated */
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.review-card .stars {
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.review-card .author {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    display: block;
    text-align: right;
}

/* Normandy Section: Light Beige */
.normandy-section {
    background-color: var(--bg-normandy);
    color: var(--text-dark);
    border-top: none;
}

.normandy-section h2 {
    color: var(--primary-color);
}

.specialties-grid {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.specialty-item {
    border-left: 2px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.specialty-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.specialty-item p {
    font-size: 0.95rem;
    color: #4a4a4a;
    margin: 0;
    font-style: italic;
}

/* Editorial History Section */
.history-grid {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.history-item {
    border-left: 2px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.history-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-item p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.history-quote {
    margin-top: 3rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-layout .image-content {
        order: -1;
        /* Image on top on mobile */
    }

    .split-layout .text-content {
        order: 1;
    }
}

.footer-section {
    background-color: #111;
    /* Dark Grey for footer area */
    color: #aaa;
}



/* Cookie Consent Banner — Bottom-right floating widget */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 300px;
    background: rgba(40, 8, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-content {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.cookie-content p {
    margin-bottom: 0;
}

/* Cookie icon as small header */
.cookie-banner::before {
    content: "🍪 Cookies";
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    width: 100%;
}

.btn-cookie-accept {
    background-color: var(--secondary-color);
    color: #000;
    border: none;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

.btn-cookie-accept:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-cookie-details {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

.btn-cookie-details:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .btn-cookie-accept,
    .btn-cookie-details {
        flex: 1;
    }
}

/* Visit Section Compact Redesign */
#visit {
    padding: 4rem 5%;
    /* Reduced top/bottom padding */
    background: #111;
    /* Blend with footer */
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Info | Map */
    max-width: 1000px;
    /* Constrain width */
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold Border */
    border-radius: 2px;
    overflow: hidden;
    /* rounded corners for map */
}

.visit-info {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle contrast */
    text-align: left;
    /* Cleaner alignment */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-info h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visit-info address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.visit-info strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.hours {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.hours p:first-child {
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.map-container {
    height: 100%;
    min-height: 450px;
    /* Ensure visibility */
    border: none;
    /* Remove old border */
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    /* Separator */
    background: #000;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) grayscale(100%);
    display: block;
}

@media (max-width: 900px) {
    .visit-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
    }

    .visit-info {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: #111;
    color: #666;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.8rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: underline;
}

/* Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.delay-100 {
    transition-delay: 0.1s;
}

/* --- RESPONSIVE OPTIMIZATION --- */

/* Tablet & Smaller Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 5%;
    }

    /* --- MOBILE MENU ACTIVATION (Moved to 1024px) --- */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        width: 36px;
        height: 36px;
        cursor: pointer;
        z-index: 1200;
        /* Always above the overlay */
        position: relative;
        padding: 3px;
    }

    .mobile-menu-btn span {
        display: block;
        height: 2px;
        background: #fff;
        margin: 6px 0;
        transition: 0.3s;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-bordeaux);
        z-index: 1100;
        /* Below the burger button (1200) */
        padding-top: 5rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
        /* Scroll if content taller than screen */
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav ul {
        list-style: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-nav a {
        font-size: 1.4rem;
        color: #fff;
        font-family: var(--font-heading);
        font-weight: 700;
        text-transform: uppercase;
        display: block;
        padding: 0.5rem 2rem;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: color 0.2s;
    }

    .mobile-nav a:active {
        color: var(--secondary-color);
    }

    /* Close button (✕) inside the mobile nav */
    .mobile-nav-close {
        display: block;
        position: absolute;
        top: 1.2rem;
        right: 1.5rem;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #fff;
        font-size: 1.4rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        line-height: 1;
        z-index: 1300;
        transition: background 0.2s;
    }

    .mobile-nav-close:hover,
    .mobile-nav-close:active {
        background: rgba(255, 255, 255, 0.15);
    }

    /* ------------------------------------------- */

    .hero h2 {
        font-size: 3rem;
    }

    /* Stack Split Layouts */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Ensure images are on top or bottom consistently */
    .split-layout .image-content {
        order: -1;
        /* Images on top for mobile/tablet */
        max-height: 400px;
        overflow: hidden;
    }

    .split-layout .text-content {
        order: 1;
        text-align: center;
        /* Center text on tablet for better balance */
    }

    /* Vins/Story Block Stacking */
    .story-block {
        grid-template-columns: 1fr;
        height: auto;
    }

    .story-image {
        height: 300px;
        /* Limit height */
        min-height: auto;
    }

    .story-text {
        padding: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Menu rules removed from here as they are now in 1024px block */

    .content-section {
        padding: 3rem 5%;
    }

    .hero {
        height: 70vh;
        /* Reduce hero height */
    }

    /* Make 'Depuis 1828' visible on hero image */
    .hero .eyebrow {
        font-size: 1rem;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
        letter-spacing: 3px;
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 2.2rem;
        /* Smaller title */
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-title,
    h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        aspect-ratio: unset;
        /* Remove square constraint on mobile */
        min-height: 160px;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .visit-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .map-container {
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
        min-height: 300px;
    }

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

    /* Footer/Visit Section Stacking */
    #visit .contact-details,
    #visit .hours {
        text-align: center;
    }
}

/* --- MODE VITRINE (SHOWCASE) --- */
.commerce-element {
    display: none !important;
}

/* Commenter la règle ci-dessus pour réactiver la boutique */

/* --- BOUTON INSTAGRAM FLOTTANT --- */
.instagram-float {
    position: fixed;
    right: 1.5rem;
    bottom: 5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.instagram-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: var(--secondary-color);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

.instagram-float svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
    transition: fill 0.3s ease;
}

.instagram-float:hover svg {
    fill: var(--primary-color);
}