/* === HEADER GLOBAL === */
.header-banner {
  background: linear-gradient(180deg, #004080 0%, #007bff 100%);
  background-size: 200% 200%;
  animation: gradientMove 15s ease-in-out infinite;
  position: relative;
  padding-bottom: 180px; /* conserve l’espace bas du fond bleu */
  color: white;
  overflow: hidden;
}

/* Dégradé animé */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === NAVBAR === */
.navbar {
  z-index: 10;
  animation: fadeInDown 1.2s ease forwards;
}
.navbar a.nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease;
}
.navbar a.nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* === CARROUSEL === */
.header-banner .carousel {
  margin-top: 1rem;
  animation: fadeInUp 1.3s ease forwards;
}
.header-banner .carousel img {
  height: 350px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease;
  opacity: 0.95;
  filter: brightness(0.9);
  animation: fadeZoomIn 1.2s ease-out both;
}
.header-banner .carousel img:hover {
  transform: scale(1.02);
}

/* === Animation du carousel (ta version) === */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dégradé doux sur le bas du carousel */
.header-banner::after {
    content: none;
}

@keyframes fadeDropdown {
  from { opacity: 0; transform: scaleY(0.8); }
  to   { opacity: 1; transform: scaleY(1); }
}


/* Mobile-friendly */
@media(max-width: 600px) {
    .age-row select {
        font-size: 14px;
    }
}


/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Apparition fluide lors du scroll === */
.fade-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* === SECTION PRÉSENTATION HÔTEL === */
.hotel-intro {
  animation: fadeInUp 1.2s ease forwards;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
}

.hotel-intro h2 {
  color: #004080;
}

.hotel-intro p.lead {
  font-size: 1.15rem;
  color: #555;
  text-align: center;
}

.hotel-intro p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* === MAP HOTEL === */
.map-container {
  border: 3px solid rgba(0, 123, 255, 0.2);
  border-radius: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-top: 10px; /* important pour l’alignement haut */
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .map-container {
    margin-top: 1.5rem;
  }
}


/* === MOBILE: réduire les marges === */
@media (max-width: 600px) {
    /* Réduit les marges du container principal */
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        padding-left: 4px !important;
        padding-right: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Le carousel aussi colle mieux aux bords */
    .header-banner .carousel {
        margin-left: 4px;
        margin-right: 4px;
    }

    /* Sections principales plus larges */
    .hotel-intro,
    .map-container {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }
}
