@import url('menu.css');
@import url('contact.css');
@import url('a-propos.css');
@import url('horaires.css');
/* RESET */

:root {
  --bleu: #091947;
  --blanc: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  main{
    margin-bottom: 0;
  }
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #1c1c1c;
    line-height: 1.6;
  }
  
  /* COULEURS */
  :root {
    --bleu: #091947; /* Bleu outremer */
    --blanc: #ffffff;
    --rouge: #ba0404;
  }
  
  /* NAVIGATION */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bleu);
    color: var(--blanc);
    position: relative;
  }
  .logo.mirrored {
    transform: scaleX(-1); /* effet miroir horizontal */
  }
  
  .mirrored-img {
    transform: scaleX(-1); /* miroir horizontal */
  }
  
  

  
  
  .logo {
  display: inline-block;
}

.logo-img {
  display: block;
}


  .logo-img {
    height: 100px; /* Ajuste selon la taille voulue */
    width: auto;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

  
  .nav-links a {
      font-family: 'Cinzel', serif;
      font-weight: 600;
      letter-spacing: 2px;
      color: var(--blanc);
      text-decoration: none;
      font-weight: 500;
  }
  
  .nav-links a:hover {
    color: var(--rouge);
  }
  
  /* Burger - caché en desktop */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: var(--blanc);
  display: block;
}

  /* SECTION ACCUEIL */
  .hero {
    position: relative;
    text-align: center;
    overflow: hidden;
   
  }
  
  
  .hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    
  }
  
  
  
  
  .hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--blanc);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 10px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  h1, .logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
  }
  
  
  .hero-text .btn-menu {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--rouge);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .hero-text .btn-menu:hover {
    background-color: #bfa134;
  }
  .overlay-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* ← ajuste la transparence ici */
    z-index: 1;
    pointer-events: none; /* pour que l'image ne bloque pas les clics */
  }
  
 
  
  
  .presentation.floating {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(9, 25, 71, 0.9) 100%);
    padding: 6rem 2rem;
    color: white;
    text-align: center;
    z-index: 2;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    height: auto;          
    min-height: unset;    
    margin-top: 0;         
  
  }
 
  
  .presentation.floating h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--blanc);
    margin-bottom: 1rem;
  }
  
  .presentation.floating p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e6e6e6;
  }
  
  
  
  /* FOOTER */
  .footer {
    background-color: #091947;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    font-family: 'Cinzel', serif;
  }
  
  .footer-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .footer-info p {
    margin: 0.3rem 0;
    font-size: 1rem;
  }
  
  .footer-info a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
  }
  
  .footer-info a:hover {
    color: #ba0404;
  }
  
  .footer-socials {
    display: flex;
    justify-content: space-between;
    max-width: 150px; /* ajuste selon la taille désirée */
  margin: 0 auto;
    margin-top: 1.5rem;
    font-size: 2rem;
  }
  
  .footer-socials .material-icons {
    margin: 0 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .footer-socials .material-icons:hover {
    color: #ba0404;
  }
  
  /*bouton back to top*/
  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: 2px solid white;
    background-color: #091947;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  #backToTop.hide {
    display: none;
  }
  
  
  #backToTop:hover {
    background-color: #0c255e;
  }
  
  #backToTop.hide {
    opacity: 0;
    pointer-events: none;
  }
  
  body.noscroll {
  overflow: hidden;
  height: 100vh;
}

  
  
  /* RESPONSIVE */


  /* Cache la nav par défaut */
 @media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    transform: none; /* <-- ICI on supprime le décalage */
    width: 100%;
    background-color: var(--bleu);
    padding: 1rem 0;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
    display: none; /* caché par défaut */
    z-index: 1000;
  }
   .navbar {
    position: relative;
  }

  .nav-links.active {
    display: flex; /* affiché en clic */
  }

  .burger {
    display: flex;
  }

  /* Cacher le 2ᵉ logo miroir */
  .mirrored-logo {
    display: none;
  }

  .navbar {
    justify-content: space-between;
  }

   .hero {
    height: 100vh; /* pleine hauteur écran */
  }

  .hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center; /* bien centrer l'image */
  }

  .hero-text {
    position: absolute;
    top: 50%; /* Centrer */
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem;
    width: 90%; /* pas trop large */
  }

  .hero-text h1 {
    font-size: 2rem; /* un peu plus petit en mobile */
  }

  .hero-text p {
    font-size: 1rem; /* adapte aussi le texte */
    margin-bottom: 1rem;
  }

  .hero-text .btn-menu {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}
