:root {
    --primary: #c49b63;
    --primary-dark: #8a6e29;
    --secondary: #1a120b;
    --light: #f8f5f0;
    --dark: #141010;
    --accent: #e6b325;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    background-image: linear-gradient(rgba(20, 16, 16, 0.95), rgba(20, 16, 16, 0.95)), 
                      url(../img/E14.jpeg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    line-height: 1.6;
}

        /* Préchargeur amélioré */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--secondary);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }
        
        .preloader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .preloader-logo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }
        
        .preloader-logo img {
            width: 80%;
            filter: brightness(0) invert(1);
        }
        
        .loading-text {
            font-size: 1.2rem;
            letter-spacing: 2px;
            color: var(--light);
            margin-top: 20px;
            position: relative;
        }
        
        .loading-text::after {
            content: "";
            animation: loadingDots 1.5s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(196, 155, 99, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(196, 155, 99, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(196, 155, 99, 0); }
        }
        
        @keyframes loadingDots {
            0% { content: ""; }
            33% { content: "."; }
            66% { content: ".."; }
            100% { content: "..."; }
        }
        
        /* Header élégant */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            background: rgba(10, 8, 8, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        header.scrolled {
            padding: 10px 5%;
            background: rgba(26, 18, 11, 0.95);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 60px;
            margin-right: 15px;
        }
        
        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        
        .logo-text span {
            color: var(--light);
            font-weight: 300;
        }
        
        nav {
            display: flex;
            gap: 30px;
        }
        
        nav a {
            color: var(--light);
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition: all 0.3s ease;
        }
        
        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }
        
        nav a:hover {
            color: var(--primary);
        }
        
        nav a:hover::after {
            width: 100%;
        }
        
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 100px 5% 80px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            max-width: 650px;
            z-index: 2;
        }
        
        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            color: var(--light);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
        }
        
        .hero-title span {
            color: var(--primary);
            display: block;
        }
        
        .hero-subtitle {
            font-size: 1.4rem;
            margin-bottom: 40px;
            color: rgba(255, 255, 255, 0.9);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.3s forwards;
        }
        
        .hero-btns {
            display: flex;
            gap: 20px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
        }
        
        .btn {
            display: inline-block;
            padding: 15px 35px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            text-align: center;
            cursor: pointer;
            border: 2px solid transparent;
        }
        
        .btn-primary {
            background: var(--primary);
            color: var(--dark);
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(196, 155, 99, 0.3);
        }
        
        .btn-outline {
            background: transparent;
            color: var(--light);
            border: 2px solid var(--primary);
        }
        
        .btn-outline:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(196, 155, 99, 0.3);
        }
        
        .hero-image {
            position: absolute;
            right: 5%;
            top: 50%;
            transform: translateY(-50%);
            width: 45%;
            max-width: 600px;
            opacity: 0;
            animation: fadeIn 1.5s ease 0.9s forwards;
        }
        
        .hero-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 5px solid rgba(196, 155, 99, 0.3);
        }
        
        /* Section spécialités */
        .specialties {
            padding: 100px 5%;
            background: var(--secondary);
            position: relative;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 60px;
            color: var(--light);
            position: relative;
            padding-bottom: 20px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .dishes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .dish-card {
            background: rgba(26, 18, 11, 0.7);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.4s ease;
            position: relative;
            border: 1px solid rgba(196, 155, 99, 0.2);
        }
        
        .dish-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            border-color: var(--primary);
        }
        
        .dish-image {
            height: 250px;
            overflow: hidden;
        }
        
        .dish-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .dish-card:hover .dish-image img {
            transform: scale(1.1);
        }
        
        .dish-info {
            padding: 25px;
        }
        
        .dish-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--primary);
        }
        
        .dish-desc {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 20px;
        }
        
        .dish-price {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--light);
        }
        
        /* Section réservation */
        .reservation {
            padding: 100px 5%;
            background: url('../img/E14.jpeg') center/cover no-repeat;
            position: relative;
        }
        
        .reservation::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 8, 8, 0.85);
        }
        
        .reservation-container {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(26, 18, 11, 0.9);
            padding: 50px;
            border-radius: 20px;
            position: relative;
            z-index: 2;
            border: 1px solid rgba(196, 155, 99, 0.3);
        }
        
        .reservation-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: var(--primary);
        }
        
        .reservation-form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--light);
            font-weight: 500;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border-radius: 10px;
            border: 2px solid rgba(196, 155, 99, 0.3);
            background: rgba(187, 175, 175, 0.7);
            color: var(--light);
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(196, 155, 99, 0.2);
        }
        
        .submit-btn {
            grid-column: 1 / -1;
            padding: 16px;
            background: var(--primary);
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(196, 155, 99, 0.3);
        }
        
        /* Footer */
        footer {
            background: rgba(1, 53, 16, 0.774);
            padding: 70px 5% 30px;
            position: relative;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto 50px;
        }
        
        .footer-column h3 {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
        }
        
        .footer-column p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 15px;
            line-height: 1.8;
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .contact-info i {
            color: var(--primary);
            margin-right: 15px;
            font-size: 1.2rem;
            min-width: 20px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(196, 155, 99, 0.1);
            color: var(--primary);
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-5px);
        }

        .social-icons {
            display: flex;
            gap: 15px;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
        }

        .social-icons a img {
            width: 30px;
            height: 30px;
            transition: transform 0.3s ease;
        }

        .social-icons a:hover img {
             transform: scale(1.2);
        }

        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 150px;
            }
            
            .hero-content {
                margin-bottom: 50px;
            }
            
            .hero-image {
                position: relative;
                right: auto;
                top: auto;
                transform: none;
                width: 100%;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .hero-btns {
                justify-content: center;
            }
            
            .hero-title {
                font-size: 3rem;
            }
        }
        
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                padding: 15px;
            }
            
            .logo {
                margin-bottom: 15px;
            }
            
            nav {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .reservation-container {
                padding: 30px 20px;
            }
            
            .btn {
                padding: 12px 25px;
                font-size: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-btns {
                flex-direction: column;
                gap: 15px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }