:root {
    --couleur1: #8a6246;
    --couleur2: #2294c6;
    --couleur-alt: #baa696;
    --couleur-alt2: #8bcae4;
}

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

body {
    font-family: 'Frank Ruhl Libre', serif;
    color: #333;
    overflow-x: hidden;
}

/* NAVIGATION */
.navbar {
    background: linear-gradient(135deg, var(--couleur1) 0%, var(--couleur-alt) 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 900;
    color: white !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

/* PAGE HEADER */
.page-header {
    background: linear-gradient(rgba(138, 98, 70, 0.4), rgba(34, 148, 198, 0.4)),
                url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1600&q=80') center/cover;
    padding: 8rem 0 5rem;
    margin-bottom: 4rem;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(138, 98, 70, 0.3), rgba(34, 148, 198, 0.3)), 
                url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.btn-primary-custom {
    background: var(--couleur2);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(34, 148, 198, 0.4);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--couleur-alt2);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(34, 148, 198, 0.6);
    color: white;
}

/* SECTION PLATS PHARES */
.plats-phares {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--couleur1);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--couleur2);
    margin: 1rem auto;
}

.plat-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.plat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.plat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--couleur2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.plat-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.plat-card-body {
    padding: 2rem;
}

.plat-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--couleur1);
    margin-bottom: 1rem;
}

.plat-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.plat-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--couleur2);
}

/* PRÉSENTATION SECTION */
.presentation-section {
    padding: 5rem 0;
}

/* PHILOSOPHIE SECTION */
.philosophie-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--couleur1) 0%, var(--couleur-alt) 100%);
    color: white;
}

.philosophie-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.philosophie-card:hover {
    transform: scale(1.05);
}

.philosophie-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--couleur-alt2);
}

.philosophie-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.philosophie-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* INFOS SECTION */
.infos-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-icon {
    font-size: 3.5rem;
    color: var(--couleur2);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--couleur1);
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* CARTE MENU SECTION */
.carte-section {
    padding: 5rem 0;
}

.menu-category {
    margin-bottom: 4rem;
}

.menu-category h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--couleur1);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.menu-item.featured-item {
    border: 2px solid var(--couleur2);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--couleur2);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
}

.menu-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateX(10px);
}

.menu-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.menu-item-content {
    flex: 1;
}

.menu-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--couleur1);
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 0;
}

.menu-item-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--couleur2);
}

.btn-commander {
    background: var(--couleur2);
    border: none;
    padding: 0.5rem 1.5rem;
    color: white;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-commander:hover {
    background: var(--couleur-alt2);
    transform: scale(1.1);
    color: white;
}

/* GALERIE SECTION */
.galerie-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(138, 98, 70, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* FORMULAIRE COMMANDE */
.commande-section {
    padding: 5rem 0;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--couleur2);
    box-shadow: 0 0 0 0.2rem rgba(34, 148, 198, 0.25);
}

.form-label {
    font-weight: 700;
    color: var(--couleur1);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* CONTACT SECTION */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 2rem;
    color: white !important;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.contact-phone-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--couleur-alt2) 0%, var(--couleur2) 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    margin-bottom: 2rem;
}

.contact-phone-box i {
    font-size: 3rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* AVANTAGES / ACCES SECTION */
.avantages-section,
.acces-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.avantage-card,
.acces-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.avantage-card:hover,
.acces-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.avantage-icon,
.acces-icon {
    font-size: 3.5rem;
    color: var(--couleur2);
    margin-bottom: 1.5rem;
}

.avantage-card h4,
.acces-card h4 {
    color: var(--couleur1);
    font-weight: 900;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* CONTACT RAPIDE SECTION */
.contact-rapide-section {
    padding: 5rem 0;
}

/* FAQ SECTION */
.faq-section {
    padding: 5rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.accordion-button {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--couleur1);
    background: white;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--couleur-alt) 0%, var(--couleur1) 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA SECTION */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--couleur1) 0%, var(--couleur-alt) 100%);
    text-align: center;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--couleur1) 0%, var(--couleur-alt) 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--couleur2);
    transform: translateY(-5px) scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* MODAL LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item img {
        width: 100%;
        height: 200px;
    }
    
    .plat-card img {
        height: 250px;
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .btn-primary-custom {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
