/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}/* ===== FORMULAIRE LIVRAISON (ISOLÉ) ===== */


.livraison-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 30px 10px;
}

/* IMPORTANT: border-box uniquement ici (sans impacter le reste) */
.livraison-container,
.livraison-container *{
  box-sizing: border-box;
}

.livraison-container{
  width: 100%;
  max-width: 420px;
  background: #111;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 16px;
  overflow: hidden; /* évite tout débordement visuel */
}

.livraison-title{
  text-align: center;
  margin-bottom: 12px;
  color: #c8a97e;
}

/* Grid robuste: minmax(0,1fr) empêche les colonnes de dépasser */
.livraison-grid{
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.livraison-full{
  grid-column: 1 / -1;
}

.livraison-group{
  display: flex;
  flex-direction: column;
  min-width: 0; /* empêche le débordement dans grid */
}

/* Labels */
.livraison-label{
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 4px;
}

/* ✅ LE FIX PRINCIPAL: inputs 100% */
.livraison-input,
.livraison-textarea{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;

  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.95rem;
}

.livraison-textarea{
  resize: vertical;
  min-height: 70px;
}

/* Boutons */
.livraison-actions{
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.livraison-actions .btn{
  flex: 1;
}









/* ===== VIDEO BACKGROUND ===== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-bg.active {
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo img {
    height: 50px;
    margin-right: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: #c8a97e;
    background: rgba(200, 169, 126, 0.1);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
    padding: 2rem;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #c8a97e;
    font-weight: 300;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 8rem 0;
}

.hero-logo img {
    max-width: 400px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #c8a97e;
    font-weight: 300;
}

.btn {
    background: linear-gradient(135deg, #c8a97e, #b8976e);
    color: #0a0a0a;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 169, 126, 0.3);
}

/* ===== OFFER CARD ===== */
.offer-card {
    background: rgba(30, 30, 30, 0.9);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #c8a97e;
    backdrop-filter: blur(10px);
}

.offer-title {
    color: #c8a97e;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #c8a97e;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #444;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #c8a97e;
    background: rgba(255, 255, 255, 0.12);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== MENU STYLES ===== */
.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.2rem;
    color: #c8a97e;
    margin-bottom: 2rem;
    border-bottom: 2px solid #c8a97e;
    padding-bottom: 0.5rem;
    font-weight: 300;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: rgba(30, 30, 30, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: #c8a97e;
    box-shadow: 0 10px 30px rgba(200, 169, 126, 0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 1.2rem;
    color: #c8a97e;
    font-weight: 600;
}

.item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.item-description {
    color: #aaa;
    font-style: italic;
    line-height: 1.5;
}

/* ===== LIVRAISON MODERNE ===== */
.menu-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.produit-card-modern {
    background: rgba(25, 25, 25, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.produit-card-modern:hover {
    border-color: #c8a97e;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(200, 169, 126, 0.15);
}

.produit-image-modern {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.produit-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.produit-nom-modern {
    color: #c8a97e;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.produit-prix-modern {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    margin-left: 1rem;
}

.produit-description {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ===== SUPPLEMENTS ===== */
.supplements-modern {
    margin: 1.5rem 0;
}

.supplements-title {
    font-size: 1rem;
    color: #c8a97e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.supplement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.supplement-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 8px;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.supplement-option:hover {
    border-color: #c8a97e;
}

.supplement-option.selected {
    background: rgba(200, 169, 126, 0.1);
    border-color: #c8a97e;
}

.supplement-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.supplement-nom {
    flex: 1;
    color: #ddd;
    font-size: 0.9rem;
}

.supplement-prix {
    color: #c8a97e;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.supplement-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-supplement-moins, .btn-supplement-plus {
    background: #c8a97e;
    color: #0a0a0a;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supplement-quantite {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* ===== BOUTON MODERNE ===== */
.btn-modern {
    background: linear-gradient(135deg, #c8a97e, #b8976e);
    color: #0a0a0a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 169, 126, 0.3);
}

/* ===== PANIER ===== */
.badge-panier-modern {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 999;
}

.btn-panier-modern {
    background: linear-gradient(135deg, #c8a97e, #b8976e);
    color: #0a0a0a;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(200, 169, 126, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-panier-modern:hover {
    transform: scale(1.1);
}

.compteur-panier {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.panier-sidebar-modern {
    position: fixed;
    right: -450px;
    top: 0;
    width: 420px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    overflow-y: auto;
    transition: right 0.4s ease;
    z-index: 1000;
    border-left: 1px solid #333;
}

.panier-sidebar-modern.open {
    right: 0;
}

.panier-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.panier-titre {
    color: #c8a97e;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 300;
}

.btn-fermer-modern {
    background: none;
    border: none;
    color: #c8a97e;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* ===== ITEMS PANIER ===== */
.item-panier-modern {
    background: rgba(30, 30, 30, 0.8);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #c8a97e;
}

.item-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.item-nom-modern {
    font-weight: 600;
    color: #c8a97e;
    flex: 1;
    font-size: 1.1rem;
}

.item-prix-modern {
    font-weight: bold;
    font-size: 1.1rem;
}

.supplements-panier-modern {
    margin: 0.5rem 0;
}

.supplement-panier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: #bbb;
}

.supplement-panier-nom {
    flex: 1;
}

.supplement-panier-prix {
    color: #c8a97e;
    font-weight: 600;
}

.quantite-controls-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-supprimer {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-supprimer:hover {
    background: #cc3333;
}

/* ===== TOTAL PANIER ===== */
.total-panier {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin: 2rem 0;
    color: #c8a97e;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 8px;
}

.btn-commander {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #c8a97e, #b8976e);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-commander:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 169, 126, 0.3);
}

/* ===== FILTRES ===== */
.filtres-modern {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-filtre {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #444;
    color: #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-filtre.active, .btn-filtre:hover {
    background: rgba(200, 169, 126, 0.2);
    border-color: #c8a97e;
    color: #c8a97e;
}

/* ===== FORMULAIRE OVERLAY ===== */
.formulaire-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.formulaire-container {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #c8a97e;
    backdrop-filter: blur(10px);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #333;
}









/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-logo img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-logo img {
        max-width: 300px;
    }
    
    .menu-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
      .panier-sidebar-modern {
        width: 100%;
        right: -100%;   /* IMPORTANT */
    }

    .panier-sidebar-modern.open {
        right: 0;
    }
    
    .supplement-grid {
        grid-template-columns: 1fr;
    }
    
    .filtres-modern {
        justify-content: center;
    }
    

    .badge-panier-modern {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-panier-modern {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
  
  .livraison-grid{
    grid-template-columns: 1fr;
  }
}


/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== UTILITIES ===== */
.text-gold {
    color: #c8a97e;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

