/* ==============================================
   SCOUT EFFECTS - Effets Visuels Charte Complète
   Scouts Doramas 104 - Style 105bentaya
   ============================================== */

/* ========== HERO SECTION - Gradient + Blur Shapes ========== */
#inicio {
  background: linear-gradient(
    135deg,
    #a83ba8 0%,
    #8a2b8a 50%,
    #7a1a7a 100%
  ) !important;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Cercle vert flou en haut-droit (très sutil) */
#inicio::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: rgba(0, 166, 81, 0.25);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* Cercle naranja flou en bas-gauche (muy sutil) */
#inicio::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50px;
  width: 350px;
  height: 350px;
  background: rgba(255, 102, 0, 0.2);
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

/* ========== SCOUT CARDS - Border Left + Shadow Subtile ========== */
.scout-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(168, 59, 168, 0.08) !important;
  border-left: 4px solid #a83ba8 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

/* Gradient très léger au hover */
.scout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 59, 168, 0.02) 0%,
    rgba(255, 102, 0, 0.01) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scout-card:hover {
  box-shadow: 0 12px 24px rgba(168, 59, 168, 0.12) !important;
  transform: translateY(-5px) !important;
  border-left-color: #ff6600 !important;
}

.scout-card:hover::before {
  opacity: 1;
}

.scout-card h3 {
  color: #a83ba8 !important;
}

/* ========== SECTIONS PAR ÂGE - Gradient Très Léger ========== */
.age-section {
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(0, 166, 81, 0.02) 100%
  );
  border: 1px solid rgba(0, 166, 81, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

/* Variante Lobatos - Naranja */
.section-lobatos,
#secciones > div > div:nth-child(1) .scout-card {
  background: #ffffff !important;
  border-top: 3px solid #ff6600 !important;
  border-left: 4px solid #ff6600 !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.12) !important;
}

#secciones > div > div:nth-child(1) .scout-card:hover {
  box-shadow: 0 12px 24px rgba(255, 102, 0, 0.18) !important;
}

/* Variante Scouts - Verde */
.section-scouts,
#secciones > div > div:nth-child(2) .scout-card {
  background: #ffffff !important;
  border-top: 3px solid #00a651 !important;
  border-left: 4px solid #00a651 !important;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.12) !important;
}

#secciones > div > div:nth-child(2) .scout-card:hover {
  box-shadow: 0 12px 24px rgba(0, 166, 81, 0.18) !important;
}

/* Variante Pioneros - Azul */
.section-pioneros,
#secciones > div > div:nth-child(3) .scout-card {
  background: #ffffff !important;
  border-top: 3px solid #00225c !important;
  border-left: 4px solid #00225c !important;
  box-shadow: 0 4px 12px rgba(0, 34, 92, 0.12) !important;
}

#secciones > div > div:nth-child(3) .scout-card:hover {
  box-shadow: 0 12px 24px rgba(0, 34, 92, 0.18) !important;
}

/* Icono circular - Effets hover */
.age-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white !important;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.age-icon i {
  color: white !important;
}

.age-icon:hover {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
} /* ========== TIMELINE - Línea Gradient Colorée ========== */
#calendario .max-w-4xl {
  position: relative;
}

/* Línea central avec gradient de tous los colores */
#calendario .max-w-4xl::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #a83ba8 0%,
    #00a651 33%,
    #ff6600 66%,
    #00225c 100%
  );
  z-index: 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  /* Cacher la ligne verticale de la timeline sur mobile */
  #calendario .max-w-4xl::before {
    display: none;
  }
}

.timeline-item {
  position: relative;
  z-index: 1;
}

/* Círculo en la timeline - désactivé pour un design plus épuré */
/* .timeline-item::after {
  content: "";
  position: absolute;
  left: 86px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid #a83ba8;
  z-index: 10;
  box-shadow: 0 0 0 5px rgba(168, 59, 168, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover::after {
  border-color: #ff6600;
  box-shadow: 0 0 0 8px rgba(255, 102, 0, 0.2);
  transform: scale(1.3);
} */

/* Event content */
.timeline-item > div:last-child {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid #a83ba8;
  transition: all 0.3s ease;
}

.timeline-item > div:last-child:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-left-color: #ff6600;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  /* Retirer la ligne verticale sur mobile */
  .timeline-item > div:last-child {
    border-left: 0;
    padding-left: 16px;
  }
}

/* Event badges avec gradients */
.bg-scout-green {
  background: linear-gradient(135deg, #00a651 0%, #007a39 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.2) !important;
}

.bg-scout-blue {
  background: linear-gradient(135deg, #00225c 0%, #001840 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 34, 92, 0.2) !important;
}

.bg-scout-orange {
  background: linear-gradient(135deg, #ff6600 0%, #e55000 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2) !important;
}

.bg-scout-brown {
  background: linear-gradient(135deg, #a83ba8 0%, #8a2b8a 100%) !important;
  box-shadow: 0 4px 12px rgba(168, 59, 168, 0.2) !important;
}

/* ========== GALERIE - Design moderne et élégant ========== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f9fafb;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

/* Overlay élégant */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  border-color: #00a651;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ========== BOUTONS - Gradients + Shadows ========== */
.btn-scout-primary {
  background: linear-gradient(135deg, #ff6600 0%, #e55000 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
}

.btn-scout-primary:hover {
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-scout-secondary {
  background: linear-gradient(135deg, #a83ba8 0%, #8a2b8a 100%) !important;
  box-shadow: 0 4px 12px rgba(168, 59, 168, 0.2) !important;
  color: #ffffff !important;
}

.btn-scout-secondary:hover {
  box-shadow: 0 8px 20px rgba(168, 59, 168, 0.3) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* ========== FOOTER - Gradient + Decoration ========== */
footer {
  background: linear-gradient(
    135deg,
    rgba(168, 59, 168, 0.95) 0%,
    rgba(138, 43, 138, 0.97) 100%
  ) !important;
  position: relative;
  overflow: hidden;
}

/* Overlay decoratif très sutil */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(0, 166, 81, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 102, 0, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

footer > * {
  position: relative;
  z-index: 1;
}

footer a {
  color: #ffb366;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
}

/* ========== FORMULAIRE - Focus Glow ========== */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #a83ba8 !important;
  box-shadow: 0 0 0 4px rgba(168, 59, 168, 0.1) !important;
}

/* Labels couleur púrpura */
label {
  color: #a83ba8 !important;
  font-weight: 600 !important;
}

/* ========== NAVBAR ========== */
/* Navbar transparente avec backdrop-blur défini dans HTML */
nav {
  /* background défini dans les classes Tailwind */
}

/* ========== SCROLL TO TOP ========== */
#scroll-to-top {
  background: linear-gradient(135deg, #ff6600 0%, #e55000 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
}

#scroll-to-top:hover {
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4) !important;
  transform: translateY(-3px) !important;
}

/* ========== SECTION INSCRIPTION ========== */
#inscripcion {
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}

#inscripcion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(255, 102, 0, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

#inscripcion > * {
  position: relative;
  z-index: 1;
}

/* Bloc d'information contact plus doux */
#inscripcion .bg-scout-green {
  background: rgba(0, 166, 81, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Bloc FAQ plus doux */
#inscripcion .bg-scout-orange {
  background: rgba(255, 102, 0, 0.12) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tous les textes dans inscription en blanc */
#inscripcion h2,
#inscripcion h3,
#inscripcion h4,
#inscripcion p,
#inscripcion span,
#inscripcion label,
#inscripcion .text-scout-cream {
  /* color: #ffffff !important; */
}

#inscripcion i {
  /* color: #ffb366 !important; */
}

/* Stats et badges aussi */
.text-4xl,
.text-2xl,
.text-xl {
  font-weight: 700;
} /* ========== STATS ========== */
.text-center .text-4xl {
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  #inicio::after,
  #inicio::before {
    width: 250px;
    height: 250px;
  }

  #calendario .max-w-4xl::before {
    left: 60px;
  }

  .timeline-item::after {
    left: 54px;
  }
}
