/* Base styles */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-gray: #f3f4f6;
    --white: #ffffff;
    --price-size: 1.0rem;
    --price-color: #059a14;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 1280px;    
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.desktop-menu {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .desktop-menu {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .desktop-menu a {
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s;
    }

    .desktop-menu a:hover {
        color: var(--primary-color);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 64rem;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
.section {
    padding: 4rem 0;
    margin-top: 3rem;
}

.section.bg-gray {
    background-color: var(--bg-gray);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Menu Section */
.menu-section {
    margin-bottom: 4rem;
}

.menu-section h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    /*padding: 1.5rem;*/
    padding: 0.5rem 1rem 0.5rem 1rem;
    flex-grow: 1;
    color: #555;
    min-height: 150px;

    
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-item-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.menu-item-price {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--price-size)
}

.menu-item table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.menu-item table th,
.menu-item table td {
    padding: 0.3rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.menu-item table th {
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
}
.menu-item table td {
    color: var(--price-color);    
    text-align: center;
    font-weight: 700;
}

.menu-item-price-table {
    margin-top: auto;
    /*background-color: #f8f8f8;*/
    /*padding: 0.75rem 1rem;*/
    font-weight: bold;
    color: #333;    
}


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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1;
}

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

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

.gallery-caption {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-info h4 {
    font-weight: 600;
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.review-stars {
    color: #fbbf24;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #111827;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer p {
    color: #9ca3af;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--white);
}

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

.social-links a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}


/*  drop down meun */
.menu-dropdown {
    position: relative;
  }
  
  .menu-dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 1000;
  }
  
  .menu-dropdown .submenu a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
  }
  
  .menu-dropdown .submenu a:hover {
    background-color: #f5f5f5;
  }
  
  /* Affichage au survol */
  .menu-dropdown:hover .submenu {
    display: flex;
  }
  
  /* Optionnel : petit chevron ▼ */
  .has-submenu::after {
    content: " \25BC";
    font-size: 0.7em;
  }