@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/Fontspring-DEMO-theseasons-reg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  .fallback-punctuation {
    font-family: serif;
  }

  @font-face {
    font-family: 'GlacialIndifference';
    src: url('../fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }

  p {
    font-family: 'GlacialIndifference', sans-serif;
  }
  
    body {
    margin: 0;
    font-family: 'The Seasons', serif, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
  }
  /* Header transparent */
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
  }

  header h1 {
    font-family: 'The Seasons', serif;
    color: #ffffff;
    font-size: 25px;
    font-weight: normal; /* ou bold si tu veux */
  }

  /* Réinitialisation de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  nav {
    display: flex;
    justify-content: center; /* Centrage horizontal */
    align-items: center;
    gap: 30px; /* Espacement entre les liens */
    position: relative;
    flex-wrap: wrap; /* Pour le responsive */
    font-family: 'GlacialIndifference', sans-serif;
  }
  
  
  /* Liens de navigation */
  nav a {
    text-decoration: none;
    color: #ffffff;

    padding: 8px 12px;
    font-weight: 500;
    position: relative;
  }

  
  /* Mega menu caché par défaut */
    
  .mega-menu {
    position: absolute;
    top: 156%;
    left: 46%;
    transform: translateX(-80%);
    width: 100vw;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .inner-mega-menu {
    display: flex;
    gap: 7%;
    justify-content: right;
    max-width: 1300px;
    margin: 0;
    flex-wrap: wrap; /* adaptatif */
  }

  .menu-column {
      display: flex;
      flex-direction: column;
      min-width: 180px;
  }

  .menu-column h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
  }

  .menu-column a {
    color: #3a5a8a;
    text-decoration: none;
  }

  .menu-column a:hover {
    color: #b37a4c;
  }

/* Affichage quand actif */
  .mega-dropdown.active .mega-menu {
    display: block;
  }
  .mega-menu.active {
  display: block !important;
  position: absolute;
  top: 156%;
  left: 46%;
  transform: translateX(-80%);
  width: 100vw;
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    
  /* Responsive (pour plus tard si besoin) */
    @media (max-width: 768px) {

      .mega-menu.active {
    display: block !important;
    position: absolute;
    height: auto;
    max-height:90vw;
    overflow: auto;
    top: 100%;
    left: 80%;
    transform: translateX(-80%);
    width: 100%; /* au lieu de 100vw */
    max-height: 90vh; /* limite la hauteur */
    overflow-y: auto; /* scroll vertical si contenu trop grand */
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
  }
  
  .hamburger {
    display: block;
    cursor: pointer;
     color: #5d81af;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    background: white;
    padding: 20px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
  }

  #nav-links.show {
    display: flex;
  }

  #nav-links a {
    margin: 10px 0;
  }

  .mega-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .back-button {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: bold;
    background: none;
    border: none;
    color: #3a5a8a;
    align-self: flex-start;
  }

  #nav-links.submenu-open > a,
  #nav-links.submenu-open > .dropdown-toggle,
  #nav-links.submenu-open > .cart {
    display: none;
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }
}
  @media (min-width: 769px) {
  /* plus de hover ici */
  .mega-menu {
    display: none;
  }

  /* Affiche le bouton retour uniquement en responsive */
  .back-button {
    display: none;
  }
}

  @media (min-width: 769px) {
    .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #5d81af;
  }
}
  
  /* Modale panier */
  .modal {
    display: none; /* caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* fond semi-transparent */
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 6px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  #cart-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  #cart-items li {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
  
  #clear-cart {
    background-color: #e74c3c;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
  }

/* Fond */
body {
  margin: 0;
  font-family: 'GlacialIndifference', sans-serif;
  background-color: white;
}

.banner {
  background-image: url('../img/image-3-accueil.jpg'); /* mets ton image */
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner h1 {
  color: white;
  font-size: 3rem;
  text-shadow: 1px 1px 5px black;
  font-family: 'The Seasons', serif;
  font-weight: lighter;
}

.contact-section {
  align-items: center;
  background: url('../img/background.jpg'); /* fond floral bleu clair */
  background-size: cover;
  padding: 50px;
  display: flex;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1 1 400px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: 20%;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #3a5a8a;
  border-radius: 15px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #dcae6c;
  font-family: 'The Seasons', serif;
  font-weight: lighter;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
}

.contact-form button:hover {
  background-color: #e0c296;
}

.contact-info {
  flex: 1 1 250px;
  padding: 20px;
  color: #333;
}

.contact-info h2 {
  color: #3a5a8a;
  font-family: 'The Seasons', serif;
}

.social-icons img {
  width: 30px;
  margin-right: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input[type="file"] {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 5px;
}

.form-group small {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}


 /* === FOOTER === */
  footer {
    background-color: #5d81af;
    color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  footer div {
    margin: 10px 0;
  }

  footer h3 {
    font-size: 16px;
    font-family: 'The Seasons', serif;
    font-weight: normal; /* ou bold si tu veux */
    margin-bottom: 10px;
  }

  footer a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-family: 'GlacialIndifference', sans-serif;
  }