/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    /* Colors derived from Logo & Theme */
    --color-cream: #FAF3E8;      /* Logo background approx */
    --color-cream-dark: #EADDCD;
    --color-burgundy: #9B1B1B;   /* Logo text approx */
    --color-burgundy-dark: #6B1111;
    --color-dark: #1A1111;
    --color-black: #0A0707;
    --color-gold: #D4AF37;       /* For Guinguette/Luxe accents */
    --color-light: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Great Vibes', cursive;
    
    /* Utilities */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-premium: 0 20px 40px rgba(0,0,0,0.2);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-burgundy);
}

.subtitle-script {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-burgundy);
    display: block;
    margin-bottom: -10px;
    position: relative;
    z-index: 1;
}

.text-center { text-align: center; }
.text-light { color: var(--color-light); }
.text-gold { color: var(--color-gold) !important; }
.text-burgundy { color: var(--color-burgundy); }
.bg-cream { background-color: var(--color-cream); }
.bg-dark { background-color: var(--color-dark); }
.bg-black { background-color: var(--color-black); }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }
.opacity-80 { opacity: 0.8; }
.opacity-50 { opacity: 0.5; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.section-padding {
    padding: 6rem 0;
}

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

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--color-burgundy);
    margin: 1.5rem auto;
}

.divider-left {
    margin-left: 0;
}

.divider-gold {
    background-color: var(--color-gold);
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-burgundy);
}

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

.btn-secondary:hover {
    background-color: var(--color-burgundy);
    color: var(--color-cream);
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 243, 232, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar.scrolled .logo-text { color: var(--color-burgundy); }
.navbar.scrolled .nav-links a { color: var(--color-dark); }
.navbar.scrolled .nav-links a:hover { color: var(--color-burgundy); }
.navbar.scrolled .hamburger .line { background-color: var(--color-dark); }

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--color-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    transition: var(--transition);
}

.logo-le { font-size: 1.2rem; letter-spacing: 2px; }
.logo-1942 { font-size: 2.5rem; font-weight: 700; }
.logo-sub { font-family: var(--font-script); font-size: 1.5rem; margin-top: -5px; }

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

.nav-links a {
    text-decoration: none;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

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

.btn-reserver-nav {
    border: 1px solid var(--color-cream);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-reserver-nav::after { display: none; }
.btn-reserver-nav:hover {
    background-color: var(--color-cream);
    color: var(--color-burgundy) !important;
}

.navbar.scrolled .btn-reserver-nav {
    border-color: var(--color-burgundy);
    color: var(--color-burgundy);
}

.navbar.scrolled .btn-reserver-nav:hover {
    background-color: var(--color-burgundy);
    color: var(--color-cream) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--color-cream);
    margin: 5px;
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 100vh;
    background-image: url('assets/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-cream);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,7,7,0.4) 0%, rgba(26,17,17,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-cream);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-cream);
    border-bottom: 2px solid var(--color-cream);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* =========================================
   MENU (VINS & TAPAS)
========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    margin-bottom: 2rem;
    position: relative;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted rgba(0,0,0,0.2);
    padding-bottom: 5px;
}

.light-text .menu-item-header {
    border-bottom: 1px dotted rgba(255,255,255,0.2);
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.item-price {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-burgundy);
}

.item-desc {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}

.light-text .item-desc {
    color: #CCC;
}

/* =========================================
   SPLIT LAYOUT (TAPAS & LE LIEU)
========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reverse-layout .split-image {
    grid-column: 2;
    grid-row: 1;
}

.reverse-layout .split-content {
    grid-column: 1;
    grid-row: 1;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.feature-icon {
    font-size: 1.5rem;
}

/* Guinguette Lights Decor */
.guinguette-lights-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: radial-gradient(circle at 10% 50%, rgba(212, 175, 55, 0.4) 0%, transparent 10%),
                      radial-gradient(circle at 30% 60%, rgba(212, 175, 55, 0.5) 0%, transparent 8%),
                      radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.3) 0%, transparent 12%),
                      radial-gradient(circle at 70% 55%, rgba(212, 175, 55, 0.6) 0%, transparent 9%),
                      radial-gradient(circle at 90% 45%, rgba(212, 175, 55, 0.4) 0%, transparent 11%);
    pointer-events: none;
    z-index: 0;
}

/* =========================================
   RESERVATION FORM
========================================= */
.border-top-gold {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: var(--color-black);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.reservation-info {
    background-color: var(--color-burgundy);
    padding: 4rem;
    color: var(--color-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reservation-info h2 { color: var(--color-cream); }
.reservation-info .subtitle-script { color: var(--color-gold); }

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--color-gold);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.reservation-form-container {
    padding: 4rem;
    background-color: #150F0F; /* Slightly lighter than black */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--color-light);
    font-family: var(--font-body);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   ANIMATIONS (Scroll Reveal)
========================================= */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.fade-in-up.appear, .fade-in-left.appear, .fade-in-right.appear {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media screen and (max-width: 968px) {
    .split-layout, .reservation-container {
        grid-template-columns: 1fr;
    }
    
    .reverse-layout .split-image { grid-column: 1; grid-row: 2; }
    .reverse-layout .split-content { grid-column: 1; grid-row: 1; }
    
    .reservation-info, .reservation-form-container {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .navbar.scrolled .nav-links a {
        color: var(--color-cream);
    }
    
    .hamburger { display: block; z-index: 1001; }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--color-cream);
    }
    .hamburger.active .line:nth-child(2) { opacity: 0; }
    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: var(--color-cream);
    }
    
    .navbar.scrolled .hamburger.active .line {
        background-color: var(--color-cream);
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .section-padding { padding: 4rem 0; }
}
