.hero-section {
  background-image: url('../Gallerie/Canoe/Karting3.jpg'); /* Remplace par ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* assombrit l’image */
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}


.carousel-item {
  height: 100vh;
  min-height: 600px;
}

.carousel-image {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.carousel-overlay {
  background: rgba(0, 0, 0, 0.6); /* ombrage noir sur toute l’image */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.carousel-caption {
  z-index: 10;
  max-width: 800px;
}

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/*hero */
:root {
  --font-family: 'Roboto', sans-serif;
  --white: #ffffff;
  --blue-dark: #002147;
  --forest-green: #2d6a4f;

  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
}


.hero-wrapper {
  min-height: 100vh;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.content-overlay {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--white);
  height: 100%;
  transition: transform 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.icon-style {
  font-size: 2.5rem;
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.glass-card h5 {
  color: var(--forest-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.glass-card p {
  font-size: 0.95rem;
  color: var(--forest-green);
}

/* Responsive padding adjustment */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .glass-card {
    padding: 1.5rem;
  }
}

:root {
    --font-family-main: 'Roboto', sans-serif;
    --color-white: #ffffff;
    --color-blue-dark: #003366;
    --color-forest-green: #228B22;
    --color-primary: var(--color-blue-dark);
    --color-success: var(--color-forest-green);
  }

  body {
    font-family: var(--font-family-main);
  }

  .section-camp {
    background-color: var(--color-white);
    color: #333;
  }

  .section-camp h2 {
    color: var(--color-primary);
  }

  .section-camp a.btn-success {
    background-color: var(--color-success);
    border: none;
  }

  .section-camp a.btn-success:hover {
    background-color: #1e7e34;
  }

  .video-section h2 {
    color: var(--color-primary);
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .video-wrapper video {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }

  .bubble {
    position: absolute;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    animation: float 10s infinite;
  }


  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
  }

  
  @media (max-width: 767px) {
    .section-camp h2 {
      font-size: 1.5rem;
    }

    .section-camp ul {
      font-size: 1rem;
    }
  }