/* ============================================
   Restaurant Fine Dining - Styles
   ============================================ */

:root {
    --black: #0a0a0a;
    --dark-brown: #1a1510;
    --brown: #2a2118;
    --gold: #c9a227;
    --gold-light: #d4af37;
    --cream: #f5e6c8;
    --beige: #e8d5b5;
    --white: #ffffff;
    --gray: #888888;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--dark-brown);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    padding: 15px 60px;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    display: inline-block;
    border: 2px solid var(--gold);
    padding: 5px 15px;
}

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

.nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--gold);
}

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

.nav-search {
    color: var(--cream);
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-search:hover {
    color: var(--gold);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1510 0%, #2a2118 50%, #1a1510 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23c9a22710"/></svg>') repeat;
    background-size: 30px 30px;
    z-index: 1;
}

/* Simulated restaurant interior */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://res.cloudinary.com/dz2jnfig9/image/upload/f_auto,q_auto/duck-breast.webp') center center;
    background-size: cover;
    z-index: 2;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.2) 40%,
            rgba(10, 10, 10, 0.5) 100%);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
    animation: glow 4s ease-in-out infinite;
}

/* Bokeh lights effet - retiré car vraie image */

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Décorations retirées - vraie image utilisée */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    letter-spacing: 20px;
    color: var(--cream);
    text-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--gold);
    margin-top: 20px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.6s;
}

.hero-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 50px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.9s;
}

.hero-btn:hover {
    background: var(--gold);
    color: var(--black);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 8px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--cream);
}

.section-title span {
    color: var(--gold);
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    padding: 120px 60px;
    background: var(--dark-brown);
    position: relative;
}

.menu-section::before {
    display: none;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.menu-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
    padding-bottom: 10px;
    border-bottom: 1px solid transparent;
}

.menu-category:hover,
.menu-category.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    padding: 30px;
    border: 1px solid rgba(201, 162, 39, 0.1);
    background: rgba(42, 33, 24, 0.5);
    transition: all 0.4s ease;
}

.menu-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.menu-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--cream);
    letter-spacing: 1px;
}

.menu-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold);
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
}

/* Menu Compact */
.menu-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.menu-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    background: rgba(42, 33, 24, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-item-compact:hover {
    border-color: var(--gold);
    background: rgba(42, 33, 24, 0.8);
}

.menu-item-compact .menu-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--cream);
}

.menu-item-compact .menu-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--gold);
    margin-left: 10px;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .menu-grid-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .menu-item-compact {
        padding: 12px 16px;
    }
    
    .menu-item-compact .menu-item-name {
        font-size: 0.85rem;
    }
}

/* ============================================
   FEATURED DISHES
   ============================================ */
.featured-section {
    padding: 100px 60px;
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--brown) 50%, var(--dark-brown) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    padding-bottom: 100%;
    height: 0;
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.featured-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 162, 39, 0.2);
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.1);
}

/* Simulated food images */
.dish-visual {
    width: 80%;
    height: 80%;
    border-radius: 10px;
    position: relative;
}

.dish-1 {
    background: linear-gradient(145deg, #cd853f 0%, #8b4513 50%, #654321 100%);
    border-radius: 50%;
}

.dish-1::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(145deg, #f4a460 0%, #daa520 100%);
    border-radius: 50%;
}

.dish-2 {
    background: linear-gradient(145deg, #8b0000 0%, #a52a2a 50%, #cd5c5c 100%);
    border-radius: 5px;
}

.dish-2::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 15%;
    width: 70%;
    height: 40%;
    background: linear-gradient(90deg, #228b22 0%, #32cd32 50%, #228b22 100%);
    border-radius: 50%;
}

.dish-3 {
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 50%, #d2b48c 100%);
    border-radius: 50% 50% 5px 5px;
}

.dish-3::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 25%;
    width: 50%;
    height: 30%;
    background: linear-gradient(145deg, #8b4513 0%, #a0522d 100%);
    border-radius: 5px;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 45px 25px 25px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    transition: all 0.4s ease;
}

.featured-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.featured-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ============================================
   RESERVATION SECTION
   ============================================ */
.reservation-section {
    padding: 120px 60px;
    background: var(--black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.reservation-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--cream);
    margin-bottom: 30px;
}

.reservation-info p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.form-group input,
.form-group select {
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--cream);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group select option {
    background: var(--dark-brown);
    color: var(--cream);
}

.btn-reserve {
    padding: 18px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.btn-reserve:hover {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location-section {
    padding: 120px 60px;
    background: var(--dark-brown);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Stylized map */
.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-roads {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.road {
    position: absolute;
    background: rgba(201, 162, 39, 0.2);
}

.road-h1 {
    width: 100%;
    height: 3px;
    top: 30%;
}

.road-h2 {
    width: 100%;
    height: 3px;
    top: 60%;
}

.road-v1 {
    width: 3px;
    height: 100%;
    left: 25%;
}

.road-v2 {
    width: 3px;
    height: 100%;
    left: 70%;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
}

.pin-icon {
    width: 40px;
    height: 50px;
    background: var(--gold);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.4);
}

.pin-icon::before {
    content: '';
    width: 15px;
    height: 15px;
    background: var(--dark-brown);
    border-radius: 50%;
    transform: rotate(45deg);
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: ping 2s ease-out infinite;
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--cream);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.contact-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.contact-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 80px 60px 40px;
    background: var(--black);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-column h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--gold);
    background: var(--gold);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--cream);
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: var(--black);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    .reservation-section {
        grid-template-columns: 1fr;
        padding: 80px 30px;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        letter-spacing: 10px;
    }

    .menu-section {
        padding: 80px 20px;
    }

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

    .menu-categories {
        gap: 30px;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .featured-section {
        padding: 60px 15px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .location-section {
        padding: 80px 20px;
    }
    
    .location-info h2 {
        font-size: 2rem;
    }
    
    .reservation-section {
        padding: 60px 20px;
    }
    
    .reservation-info h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .reservation-form {
        padding: 30px 20px;
    }
}