/* ==========================================================================
   HERO CAROUSEL - ESTILOS (VERSIÓN PRO – WHITE PURE EDITION)
   FBH PHOTOGRAPHY – TÍTULO Y SUBTÍTULO SIN GLOW
   ========================================================================== */

/* 1. Variables */
:root {
  --text-color: #ffffff;     /* Blanco puro */
  --subtext-color: #ffffff;  /* Blanco puro */
  --btn-bg: #ffffff;         /* Botón blanco */
  --btn-text: #111111;       /* Texto del botón oscuro */

  /* Glow multicolor inferior (se mantiene igual) */
  --c1: #00f0ff;
  --c2: #ff00cc;
  --c3: #ff9900;
  --c4: #a64dff;
  --c5: #00ff99;
}

/* Contenedor principal */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel .carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  height: 100%;
}

.hero-carousel .carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   GLOW INFERIOR (NO SE TOCA)
   ========================================================================== */

.hero-carousel .glow-bottom {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5));
  background-size: 400% 400%;
  animation: glowShift 10s linear infinite;
  filter: blur(20px);
  opacity: 0.65;
  z-index: 1;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  pointer-events: none;
}

@keyframes glowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   CAPTION – SOLO TEXTO
   ========================================================================== */

.hero-carousel .carousel-caption {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;

  max-width: 80%;
  text-align: center;

  opacity: 0;
  transform: translate(-50%, 20px);
  animation: fadeInUp 0.8s ease-out 0.15s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==========================================================================
   TÍTULO – BLANCO PURO SIN GLOW
   ========================================================================== */

.hero-carousel .pl-lights-white {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-color);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: none;
}

/* ==========================================================================
   SUBTÍTULO – BLANCO PURO SIN GLOW
   ========================================================================== */

.hero-carousel .pl-premium {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--subtext-color);
  margin: 0;
  line-height: 1.35;
  text-shadow: none;
}

/* ==========================================================================
   CTA – BOTÓN BLANCO PREMIUM
   ========================================================================== */

.hero-carousel .cta-button {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.75rem 1.6rem;

  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;

  color: var(--btn-text);
  background: var(--btn-bg);

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  cursor: pointer;

  transition: all 0.22s ease;

  box-shadow:
    0 4px 14px rgba(0,0,0,0.12),
    0 0 1px rgba(255,255,255,0.4) inset;
}

.hero-carousel .cta-button:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.18),
    0 0 1px rgba(255,255,255,0.5) inset;
}

/* ==========================================================================
   INDICADORES – ADAPTADOS A FONDO BLANCO
   ========================================================================== */

.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.hero-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.4);
}

.hero-carousel .carousel-indicators button.active {
  background: #ffffff;
  border-color: #ffffff;
}

/* ==========================================================================
   DESKTOP – Ajustes finos
   ========================================================================== */

@media (min-width: 1024px) {
  .hero-carousel .carousel-caption {
    top: 30%;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: 60%;
    gap: 1rem;
  }
}

/* ==========================================================================
   MOBILE – Ajustes finos
   ========================================================================== */

@media (max-width: 768px) {
  .hero-carousel .carousel-caption {
    bottom: 6%;
    max-width: 85%;
  }

  .hero-carousel .pl-lights-white {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-carousel .pl-premium {
    font-size: clamp(0.95rem, 3.7vw, 1.1rem);
  }

  .hero-carousel .cta-button {
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   REDUCE MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-caption {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==========================================================================
   FLECHAS DESKTOP
   ========================================================================== */

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .carousel-arrows button {
    pointer-events: auto;
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .carousel-arrows button:hover {
    background: rgba(0,0,0,0.55);
  }
}

/* ==========================================================================
   HERO PEGADO AL HEADER
   ========================================================================== */

.hero-carousel {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.site-main,
#primary,
.ast-container,
.ast-plain-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.entry-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header,
.pl-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.hero-carousel .pl-lights-white,
.hero-carousel .pl-premium {
  color: #ffffff !important;
  text-shadow: none !important;
}
/* Ocultar flechas del carousel */
.carousel-arrows,
.carousel-arrows button {
  display: none !important;
}
