/* Styles généraux */
body { 
  background: #f8f9fa; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 100px 0;
}

.feature-icon {
  font-size: 3rem;
}

/* Galerie */
.photo-item {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.photo-item:nth-child(even) .row {
  flex-direction: row-reverse;
}

.photo-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.photo-image:hover {
  transform: scale(1.02);
}

.photo-description {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Aventures */
.aventure-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(-50px);
  transition: 0.6s;
}

.aventure-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.aventure-item:nth-child(even) {
  transform: translateX(50px);
}

.aventure-item:nth-child(even).visible {
  transform: translateX(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(255,255,255,0.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ccc;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .photo-item .row {
    flex-direction: column !important;
  }
  
  .photo-description {
    padding: 1rem 0;
  }
}


/* POUR LA PAGE ACCUEIL 


    .feature-icon {
      font-size: 3rem;
    }

    /* Hero Section avec image de fond */
    .hero-section {
      height: 400px;
      background-image: url('/api/image.php?file=page_accueil/Image_drone.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.4);
    }

    .hero-section .container {
      position: relative;
      z-index: 1;
    }

    /* Style de secours si l'image ne charge pas */
    .hero-section {
      background-color: #6f42c1;
    }

    /* Styles pour le carrousel */
    .carousel-item img {
      height: 500px;
      object-fit: cover;
      width: 100%;
    }

    /* Caption responsive */
    .carousel-caption {
      background: rgba(0,0,0,0.8);
      border-radius: 10px;
      padding: 15px;
      bottom: 20px;
      left: 10px;
      right: 10px;
      width: auto;
    }

    /* Mobile : caption toujours visible et mieux adaptée */
    @media (max-width: 768px) {
      .carousel-item img {
        height: 350px;
      }

      .carousel-caption {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.9);
        border-radius: 0;
        padding: 15px;
        margin-top: -5px;
      }

      .carousel-caption h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
      }

      .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 8px;
      }

      .carousel-caption .small {
        font-size: 0.8rem;
      }

      .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 5px 10px;
      }

      /* Ajustement de la hauteur du hero sur mobile */
      .hero-section {
        height: 300px;
      }

      .hero-section h1 {
        font-size: 2rem;
      }

      .hero-section .lead {
        font-size: 1rem;
      }
    }

    /* Très petits écrans */
    @media (max-width: 576px) {
      .carousel-item img {
        height: 300px;
      }

      .carousel-caption {
        padding: 10px;
      }

      .carousel-caption h5 {
        font-size: 1rem;
      }

      .hero-section {
        height: 250px;
      }

      .hero-section h1 {
        font-size: 1.75rem;
      }
    }

    .carousel-indicators [data-bs-target] {
      background-color: #000;
    }

    /* Amélioration de la visibilité des indicateurs sur mobile */
    @media (max-width: 768px) {
      .carousel-indicators {
        margin-bottom: 0;
      }

      .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
      }


.video-music a.music-link {
  font-size: 0.85em;
  color: #6c63ff;
  text-decoration: none;
}

.video-music a.music-link:hover {
  text-decoration: underline;
}


/*CETTE SECTION EST POUR LA NAV BAR*/ 
    

/* La navbar garde sa hauteur */
.navbar .navbar-brand { 
  position: relative;
}

/* Conteneur "taille navbar" */
.brand-logo{
  width: 40px;           /* taille logique dans la navbar */
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;     /* autorise le dépassement */
  position: relative;
}

/* L’image est zoomée */
.brand-logo img{
  height: 40px;          /* base */
  width: auto;
  transform: scale(1.8); /* ZOOM => augmente visuellement */
  transform-origin: center;
  display: block;
}

/* Optionnel: le texte un poil plus propre */
.brand-title{
  font-size: 1.1rem;
  font-weight: 600;
}


/* CETTE SECTION EST POUR LA PAGE DE CONTACT */

/* === VIDEO GALLERY === */

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.video-thumb {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity .3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 15px;
}

.video-info h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
/* ===== AJUSTEMENTS MOBILE ===== */
@media (max-width: 768px) {

  header {
    padding-bottom: 2.5rem;
  }

  .video-section {
    margin-top: 30px;
    margin-bottom: 60px;
  }

  .video-wrapper {
    margin-bottom: 20px;
  }

  .video-desc h3 {
    margin-top: 10px;
    font-size: 1.4rem;
  }

  .video-desc p {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.6;
  }
}
@media (max-width: 768px) {
  .video-wrapper {
    border-radius: 20px;
  }
}
    }
.hero-section {
  min-height: 260px;
  padding: 60px 0;
}
.btn-dark-cinema {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;

    border-radius: 50px;

    padding: 8px 20px;   /* 👈 réduit la taille */
    font-size: 0.9rem;  /* 👈 texte plus petit */

    transition: all 0.25s ease;
}

.btn-dark-cinema:hover {
    background-color: #111;
    color: #fff;
    border-color: #111;
}

.btn-dark-cinema:focus,
.btn-dark-cinema:active {
    background-color: #000;
    color: #fff;
    box-shadow: none;
}
