/* === STRUCTURE GÉNÉRALE === */

body {
  font-family: "Lato", sans-serif;
  color: #fff;
  background-color: #131b2a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

header,
.footer {
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer {
  border-top: 2px solid #1f1f1f;
}

.section {
  padding-top: 20px;
  animation: fadeInUp 0.6s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.section h4 {
  text-align: center;
  margin-bottom: 1.5em;
}
.section:nth-of-type(odd) {
  background-color: #111827;
}

.section h2:first-of-type {
  color: white;
  text-align: center;
}

.p-center {
  margin-top: 1rem;
  text-align: center;
}

/* === NAVBAR === */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #010203;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgb(49, 49, 49);
}

.navbar-brand {
  color: #de3b3b !important;
  font-family: "Spectral SC", serif;
  font-size: 1.5rem;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
    no-repeat center/100%;
}

.navbar-nav .nav-link {
  color: #fff !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #de3b3b;
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #de3b3b !important;
}

.lang-select {
  margin-top: 4px;
}
/* === NAVBAR BURGER === */
.collapse.show {
  background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent sombre */
}

.navbar-nav .nav-link {
  color: #fff !important;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #de3b3b !important;
  background-color: rgba(255, 255, 255, 0.1); /* Fond léger au survol */
}
/* === BOUTONS LANGUES === */

.btn-lang {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.btn-lang img {
  width: 100%;
}

.btn-lang:hover {
  transform: scale(1.4);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

/* === HÉRO === */

.hero {
  position: relative;
  height: 80vh;
  background: url("img/fond/fond.jpg") center bottom /cover no-repeat;
  animation: zoom 15s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  margin-top: -200px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-content:hover {
  transform: scale(1.02);
}

.hero h1 {
  font-family: "Spectral SC", serif;
  font-size: 4rem;
  color: #de3b3b;
  text-shadow: 1px 0 0 black, -1px 0 0 black, 0 1px 0 black, 0 -1px 0 black;
}
.hero p {
  font-family: "Spectral", serif;
  font-weight: 10000;
  color: whitesmoke;
  font-size: 1.4em;
  text-shadow: 1px 0 0 black, -1px 0 0 black, 0 1px 0 black, 0 -1px 0 black;
}

/* === ZONE DYNAMIQUE === */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* === CARTES === */
.booking-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073bb; /* Couleur bleue de Booking.com */
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.booking-button:hover {
  background-color: #005f8a; /* Couleur bleue plus foncée pour le survol */
}
#atouts .fancy-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  box-shadow: 7px 7px 4px rgba(0, 0, 0, 0.9);
  cursor: default;
}
#atouts .fancy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.12);
}

/* Effet au clic */
#atouts .fancy-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.card {
  background-color: #444;
  border: 6px double rgb(134, 18, 18);
  color: #9e1919;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.fancy-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 300px;
}

.fancy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fancy-card:hover img {
  transform: scale(1.08);
}

.fancy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(0, 0, 0, 0.3),
    rgba(255, 255, 255, 0)
  );
  z-index: 1;
  pointer-events: none;
}

/* === FORMULAIRES & BOUTONS === */

.btn-danger {
  background-color: #ff4f58;
  border-color: black;
}

.btn-danger:hover {
  background-color: #e03e45;
  border-color: beige;
}

.btn-contact {
  background-color: #e63946;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: #d62839;
}

.form-control {
  background-color: #555353;
  color: #fff;
  border: 1px solid #555;
}

.form-control:focus {
  border-color: #ff4f58;
  box-shadow: 0 0 5px rgba(255, 79, 88, 0.6);
}

/* === CTA === */

.cta-wrapper {
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-family: "Spectral", serif;
}

.cta-toggle {
  display: none;
}

.cta-button,
.cta-number {
  display: inline-block;
  background: linear-gradient(to right, #ef4444, #b91c1c);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.cta-wrapper:hover .cta-button {
  background-color: rgba(255, 255, 255, 0.3);
}

.cta-number {
  display: none;
  margin-top: 1rem;
}

.cta-toggle:checked ~ .cta-button {
  display: none;
}

.cta-toggle:checked ~ .cta-number {
  display: inline-block;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.25);
  animation: fadeInUp 0.3s ease-in-out;
}

/* === DIVERS === */
.customdark {
  background-color: #010203;
}

.customgrey {
  background-color: #0e2133;
}

.footer a {
  color: #00b3b3;
  text-decoration: none;
}

.h2-strong-shadow {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 6px 12px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 255, 255, 0.4);
  margin: 3rem 0;
  position: relative;
}

.h2-strong-shadow::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(to right, #870013 0%, #c44048 50%, #870013 100%);
  opacity: 0.8;
}
.btn-redhot {
  background-color: #d72525;
  height: 50px;
  color: whitesmoke;
  font-size: 22px;
  font-style: bold;
}
/* === ANIMATIONS === */

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    font-size: 1.5rem; /* Augmente la taille de la police */
    padding: 10px 0; /* Augmente l'espace autour du texte pour plus de clic */
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    margin-top: -100px;
  }
  .hero {
    height: 60vh;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .cta-button,
  .cta-number {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
  .hero {
    background: url("img/fond/fond-small.jpg") center bottom / cover no-repeat;
  }
}
@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem;
  }
  /* .btn-lang {
    display: none;
  } */

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero h3 {
    font-size: 0.9rem;
  }
}
