/* Reset & variables */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --gold:#FFD700; --navy:#1e3a8a; --bg:#000; --text:#333;
  --font:'Playfair Display', serif;
}
body {
  font-family:var(--font); color:var(--text); background:#fff;
  line-height:1.5;
}
:root { --topbar-h: 50px; } /* plus compact */

/* HEADER & NAV */
header { background:var(--bg); }
.nav-mobile {
  display:flex; flex-direction:column;
  align-items:center; padding:1rem 0;
  padding-top: var(--topbar-h);
}


nav.has-topbar{
  /* garde ton display/flex d’origine */
  position: fixed; /* ou fixed si c’était le cas chez toi */
  top: 0;
  z-index: 4000;
  padding-top: var(--topbar-h); /* décale le contenu du nav sous la topbar */
}

.nav-topbar{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background-color: #81746b;
  color: #FFFFFF;
  display: flex; align-items: center;
  overflow: hidden;
  z-index: 1;
}

.nav-topbar .swiper{ width: 100%; height: 100%; }
.nav-topbar .swiper-slide{
  display:flex; align-items:center; justify-content:center;
  padding: 0 12px; text-align:center; font-size: 1rem; line-height:0.9; flex-direction: column;
}

/* Si ton nav est en position: fixed; ajoute un offset au premier bloc de page pour éviter l’écrasement */
body.has-fixed-nav .home-section{ margin-top: var(--topbar-h); }

/* Logo & contact */
.nav-mobile .logo img { height:10rem; }
.social-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .social-contact svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--gold);
    transition: fill 0.2s;
  }
  
  .phone {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
  }
  
  .phone:hover svg,
  .phone:hover {
    color: #fff;
    fill: #fff;
  }
  
  

/* MENU TOUJOURS visible */
.menu {
  list-style:none;
  width:100%;
  display:flex; flex-direction:column;
  margin-top:1rem;
}
/* Masquer les puces des UL */
.nav-mobile.menu { list-style: none; margin:0; padding:0; }

/* Masquer le triangle par dÃ©faut du summary */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: none; }

.menu li { border-top:1px solid #444; }
.menu li:first-child { border-top:none; }
.menu a, .menu summary {
  display:block; padding:0.75rem 1rem;
  color:var(--gold); text-decoration:none;
  font-size:1rem;
}
.menu a.active { background:#333; font-weight:bold; font-size:1.1rem; }

.menu a.order,
.menu > a.order {
  background: #000;
  color: var(--gold);
  font-weight: 900;
  font-size : 1.3rem;
  border: 1px solid var(--gold);
  padding: 0.75rem 1rem;
  display: block;
}


/* DÃ©tails / sous-menu */
.menu details {
  background:var(--bg);
}
.menu summary {
  cursor:pointer;
  list-style:none;
}

.menu summary.active {
  background:#333;
  font-weight:bold;
  font-size:1.1rem;
}

.menu .submenu {
  list-style:none;
  background:#111;
}
.menu .submenu li a {
  padding-left:2rem; font-size:0.9rem;
  border-top:1px solid #333;
}

/* MAIN (dÃ©calage header) */
main { padding-top:1rem; }


body {
  background-image: url('../images/marbre.jpeg');
  background-position: center 10vh;
  background-size: 100% auto;   /* couvre la largeur, hauteur auto */
  background-repeat: repeat-y;  /* se répète verticalement */
}

html , body {
margin: 0;
padding: 0;
height:100%;
}

/* Style pour le texte */
h2 {
font-size: 1.5rem;
color: var(--primary-color); /* Couleur principale */
gap: 10px;
margin-top: 2vh;
}

h3 {
  margin-top: 50px;
  font-size: 1rem;
}


.order-form {
    width: 40vh;
    margin: 10vh auto;
    padding: 20px;
    background: #f8f8f8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.order-form h2, .order-form h3 {
    text-align: center;
    color: black;
}

.order-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.order-form textarea,
.order-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.order-form label {
  font-size : 1.2rem;    
}

.order-form textarea {
    height: 20vh;
}
.order-form .info-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 10px;
}

.info-text p {
  margin-bottom: 10px;
}


.delivery-options {
    margin-bottom: 30px;
}

.delivery-options h2 {
  margin-bottom: 0;
}

.delivery-options label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

#retrait-options,
#livraison-options {
    margin-top: 15px;
    margin-bottom: 15px;
}

.delivery-options label p {
    white-space: nowrap;
}

.info-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.hidden {
    display: none;
}

.option label {
  font-size: 1rem;
}
.checkbox-options .option label {
  font-size: 1rem;
}
.delivery-options.option {
  padding: 0;
  margin: 0;
}
.order-form button {
    width: 100%;
    padding: 10px;
    background-color: gray;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}
.order-form button:hover {
    background-color: lightgray;
}

#confirmationMessage {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 15px;
}
/* Style de la popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Contenu de la popup */
.popup-content {
    background: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

/* Bouton Accepter */
.popup-content button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #1e3a8a;
    color: white;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #dae106;
}

/* Cache la popup par défaut */
.hidden {
    display: none;
}


/* Footer */
footer {
  background:var(--bg); color:var(--gold);
  text-align:center; padding:1.5rem 1rem;
}
.footer-content img { height:10rem; }
.footer-content p,
.footer-content a.legal {
  font-size:0.9rem; margin:0.25rem 0; text-decoration:none;
  color:var(--gold);
}
.footer-content a {
    color: var(--gold);
}
.footer-content a.legal:hover { text-decoration:underline; }
.opening-hours ul {
    list-style: none;   /* supprime les puces */
    margin: 0;          /* supprime la marge par défaut à gauche */
    padding-bottom: 5vh;
  }
  
  .opening-hours li {
    margin: 0;          /* pas de marge verticale supplémentaire */
    padding: 0;         /* pas d’indentation sur les li */
  }