/* ============================================================
   TOP TEN INDOOR - Custom Styles
   ============================================================ */

/* Variables CSS */
:root {
  --primary-color: #0d0b4d;
  --secondary-color: #FFFFFF;
  --accent-color: #faca30;
  --hero-blue: #0066FF; /* Bleu à garder pour la page d'accueil */
  --dark-color: #2C3E50;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Marge d’ancrage pour les sections (évite que la navbar fixe masque le début) */
section[id] {
  scroll-margin-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Navbar sur hero section - fond transparent avec texte blanc */
.navbar-on-hero {
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: none;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

.navbar-brand img {
  transition: all 0.3s ease;
  height: 60px;
  filter: brightness(0) invert(0); /* Noir */
}

/* Logo sur hero transparent - reste noir mais peut être ajusté si besoin */
.navbar-on-hero:not(.navbar-scrolled) .navbar-brand img {
  filter: brightness(0) invert(0); /* Noir */
}

.navbar-scrolled .navbar-brand img {
  height: 50px;
  filter: brightness(0) invert(0); /* Noir */
}

/* Liens de navigation - Par défaut (fond clair) */
.navbar .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  transition: color 0.3s ease;
  position: relative;
}

/* Liens de navigation - Sur hero transparent (fond sombre) */
.navbar-on-hero:not(.navbar-scrolled) .nav-link {
  color: rgb(255, 255, 255) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Liens de navigation - État scrolled (fond blanc) */
.navbar-scrolled .nav-link {
  color: var(--text-dark) !important;
  text-shadow: none;
}

/* Hover et active - Par défaut (fond clair) */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hover et active - Sur hero transparent */
.navbar-on-hero:not(.navbar-scrolled) .nav-link:hover,
.navbar-on-hero:not(.navbar-scrolled) .nav-link.active {
  color: var(--accent-color) !important;
  text-shadow: 0 0 10px rgba(250, 202, 48, 0.6);
}

/* Hover et active - État scrolled */
.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
  color: var(--primary-color) !important;
}

/* Ligne de soulignement */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar:not(.navbar-scrolled) .nav-link::after {
  background: var(--accent-color);
}

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

/* Pas de soulignement pour le dropdown-toggle - mais garder la flèche Bootstrap */
.nav-link.dropdown-toggle::after {
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  bottom: auto !important;
  left: auto !important;
}

/* Pas de fond jaune au hover pour le dropdown-toggle */
.nav-link.dropdown-toggle:hover {
  background: transparent !important;
}

.nav-link.dropdown-toggle:focus {
  background: transparent !important;
  box-shadow: none;
}

/* Dropdown menu */
.navbar .dropdown-menu {
  background: white;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  margin-top: 10px;
  padding: 10px 0;
}

.navbar .dropdown-item {
  color: var(--text-dark);
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
  background: var(--primary-color);
  color: white;
}

/* Style du dropdown-toggle quand ouvert - sans fond jaune */
.nav-link.dropdown-toggle.show {
  color: var(--primary-color) !important;
  background: transparent !important;
}

.navbar-on-hero:not(.navbar-scrolled) .nav-link.dropdown-toggle.show {
  color: var(--accent-color) !important;
  background: transparent !important;
}

/* Couleur de la flèche du dropdown */
.nav-link.dropdown-toggle::after {
  border-top-color: currentColor;
}

.nav-link.dropdown-toggle:hover::after {
  border-top-color: currentColor;
}

/* Bouton CTA dans navbar */
.navbar .btn-link {
  color: var(--text-dark) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Bouton téléphone sur hero transparent */
.navbar-on-hero:not(.navbar-scrolled) .btn-link {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-scrolled .btn-link {
  color: var(--text-dark) !important;
}

.navbar .btn-link:hover {
  color: var(--primary-color) !important;
}

.navbar-on-hero:not(.navbar-scrolled) .btn-link:hover {
  color: var(--accent-color) !important;
  text-shadow: 0 0 10px rgba(250, 202, 48, 0.6);
}

/* Bouton Réserver dans navbar */
.navbar .btn-accent {
  background: linear-gradient(135deg, var(--accent-color), #f8b500);
  border: none;
  color: var(--primary-color);
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(250, 202, 48, 0.4);
  transition: all 0.3s ease;
}

.navbar .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 202, 48, 0.6);
  color: var(--primary-color);
  background: linear-gradient(135deg, #f8b500, var(--accent-color));
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Toggler sur hero transparent */
.navbar-on-hero:not(.navbar-scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Menu mobile ouvert */
.navbar-collapse.show {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 10px;
  margin-top: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar-collapse.show .nav-link {
  color: var(--text-dark) !important;
  text-shadow: none;
  padding: 10px 0;
}

.navbar-collapse.show .nav-link:hover,
.navbar-collapse.show .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-collapse.show .btn-link {
  color: var(--text-dark) !important;
}

/* Menu mobile sur hero - garde le fond blanc mais texte adapté */
.navbar-on-hero .navbar-collapse.show .nav-link {
  color: var(--text-dark) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 20s ease infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.85), rgba(13, 11, 77, 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.text-accent {
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(250, 202, 48, 0.6);
}

.hero-subtitle {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-down {
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes zoomIn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color), #f8b500);
  border: none;
  color: var(--primary-color);
  padding: 15px 35px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(250, 202, 48, 0.4);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(250, 202, 48, 0.6);
  color: var(--primary-color);
  background: linear-gradient(135deg, #f8b500, var(--accent-color));
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */

.activities-section {
  background: #f8f9fa;
}

.activity-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.activity-card:hover .card-image-placeholder {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.9), rgba(250, 202, 48, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.activity-card:hover .card-overlay {
  opacity: 1;
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-section {
  background: linear-gradient(135deg, var(--primary-color), #1a1655);
  color: white;
}

.stat-card {
  padding: 2rem;
}

.stat-icon {
  color: white;
  opacity: 0.9;
}

.stat-number {
  color: white;
  font-size: 3.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-stars {
  color: var(--accent-color);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */

.location-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.location-item i {
  margin-top: 0.5rem;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), #1a1655);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 10;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--dark-color);
  color: white;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color) !important;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.page-header-image {
  border-radius: 20px;
  overflow: hidden;
}

.header-image-placeholder {
  width: 100%;
  height: 100%;
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */

.booking-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

#resasports-iframe {
  border-radius: 10px;
  min-height: 800px;
  width: 100%;
}

/* ============================================================
   INFO CARDS
   ============================================================ */

.info-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

/* ============================================================
   FEATURE LIST
   ============================================================ */

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */

.section-title {
  margin-bottom: 1rem;
}

/* ============================================================
   REGISTRATION CARDS
   ============================================================ */

.registration-card,
.quote-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-number-circle {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

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

/* ============================================================
   PACKAGE CARDS
   ============================================================ */

.package-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-10px);
}

.package-card.featured {
  border: 3px solid var(--accent-color);
}

.badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
}

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

.package-price {
  margin-bottom: 1.5rem;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-placeholder {
  width: 100%;
}

.product-body {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-info-card,
.contact-form-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* ============================================================
   ACCORDION
   ============================================================ */

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* ============================================================
   SMOOTH SCROLL
   ============================================================ */

html {
  scroll-behavior: smooth;
}

/* ============================================================
   UTILITIES
   ============================================================ */

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

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

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

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

