/* Importation des fichiers CSS */
@import url("variables.css");
@import url("navbar.css");
@import url("promo.css");
@import url("contact.css");
@import url("testimonials.css");

/* Styles généraux */
body {
  font-family: "Roboto", sans-serif;
  background-color: var(--color-black);
  color: #333;
}

/* Personnalisation de la barre de défilement */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-gold);
  border-radius: 6px;
  border: 2px solid var(--color-black);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-gold-dark);
}

/* Pour Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-black);
}

.bg-dark {
  background: var(--color-black) !important;
}

.text-gold {
  color: var(--color-gold) !important;
}

.bg-gold {
  background-color: var(--color-gold) !important;
}

.bg-dark-custom {
  background-color: var(--color-black) !important;
}

.bg-hero {
  background-color: var(--color-dark) !important;
}

.btn-gold {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-black);
}

/* Section styles */
.section {
  padding: 4rem 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  margin-top: 56px; /* Pour compenser la navbar fixe */
}

.hero-logo {
  max-width: 350px;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--color-gray-light);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  background-color: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-black);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.7);
}

/* Styles du carrousel */
.carousel {
  width: 100%;
  border-radius: 10px;
  padding:0 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item {
  height: 400px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  top: 20px;
  bottom: auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 15px;
  max-height: 50%;
  overflow: auto;
  width: auto;
  display: inline-block;
  max-width: 80%;
  margin: 0 auto;
  left: 10%;
  right: 10%;
}

.carousel-caption h5 {
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 5px;
}

.carousel-caption p {
  color: var(--color-white);
  margin-bottom: 0;
}

.carousel-indicators {
  bottom: -10px;
}

.carousel-indicators button {
  background-color: var(--color-gold) !important;
  height: 3px !important;
  opacity: 0.5;
}

.carousel-indicators button.active {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--color-gold);
  border-radius: 50%;
  padding: 10px;
}

/* Footer */
footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 2rem 0;
}

/* Info Section */
.info-section {
  background-color: var(--color-black);
  position: relative;
}

.info-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.info-card {
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    var(--color-black),
    rgba(18, 18, 18, 0.9)
  );
  border-left: 3px solid var(--color-gold);
  border-radius: 5px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.info-content {
  flex-grow: 1;
}

.info-title {
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-text {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .info-card {
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    margin-top: 56px;
  }

  .hero-image-container {
    min-height: 300px;
    margin-top: 2rem;
  }

  .carousel-item {
    height: 300px;
  }

  .carousel-caption {
    max-height: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    bottom: auto;
    top: 10px;
    left: 5%;
    right: 5%;
    max-width: 90%;
  }

  .carousel-caption h5 {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 5px;
    background-color: rgba(212, 175, 55, 0.8);
  }
}

@media (max-width: 576px) {
  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .info-title {
    font-size: 1.2rem;
  }

  .info-text {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Modal Conditions */
.modal-content {
  background-color: var(--color-black);
  color: var(--color-white);
}

.modal-header {
  border-bottom: 1px solid var(--color-black);
}

.modal-footer {
  border-top: 1px solid var(--color-black);
}

.modal-title {
  color: var(--color-gold);
  font-weight: 600;
}

.conditions-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Bouton fermer modal */
.btn-close {
  background-color: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
}

/* Correctif spécifique pour iOS */
@supports (-webkit-touch-callout: none) {
  .carousel-caption {
    position: absolute;
    box-sizing: border-box;
    max-height: 45%;
  }

  @media (max-width: 768px) {
    .carousel-caption {
      position: absolute;
      max-height: 40%;
      width: 90%;
    }
  }
}

.ios-device .carousel-caption {
  position: absolute !important;
  max-height: 45% !important;
  top: 15px !important;
  bottom: auto !important;
  width: 90% !important;
  left: 5% !important;
  right: 5% !important;
}

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab i {
  font-size: 2rem;
  color: #ffffff;
}
