/* Hero Section styles */

.hero-section {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-section {
    height: 100vh;
  }
}

/* Background slides */
.hero-slider-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transform: scale(1.05);
  transition: transform 1.5s ease-in-out;
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.15);
}

/* Overlays */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, #000000 120%);
  z-index: 10;
  opacity: 0.6;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, rgba(10, 25, 41, 0.6) 60%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)"/%3E%3C/svg%3E');
  opacity: 0.05;
  z-index: 10;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Particle Containers */
.hero-particles-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

/* Particles styling & Keyframes in animations.css */
.snow-particle {
  position: absolute;
  background-color: var(--text-white);
  border-radius: var(--radius-full);
  opacity: 0.6;
  animation: snowfall linear infinite;
}

.star-particle {
  position: absolute;
  background-color: var(--text-white);
  border-radius: var(--radius-full);
  animation: twinkle ease-in-out infinite;
}

.bokeh-particle {
  position: absolute;
  border-radius: var(--radius-full);
  mix-blend-mode: screen;
  filter: blur(80px);
  opacity: 0.15;
  animation: bokeh ease-in-out infinite;
}

/* Route SVG Path */
.ruta-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-bottom: 2rem;
  z-index: 20;
}

@media (min-width: 768px) {
  .ruta-container {
    max-width: 440px;
  }
}

.ruta-svg {
  width: 100%;
  height: 48px;
  overflow: visible;
}

.ruta-node-circle {
  cursor: pointer;
  transition: r var(--transition-fast), fill var(--transition-fast), stroke var(--transition-fast);
}

.ruta-node-circle:hover {
  r: 8px;
  fill: var(--color-pink);
}

.ruta-tooltip-text {
  fill: var(--text-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.ruta-active-badge-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  display: flex;
  justify-content: center;
}

.ruta-active-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background-color: rgba(10, 25, 41, 0.85);
  border: 1px solid rgba(233, 30, 99, 0.3);
  color: var(--color-pink);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ruta-active-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .ruta-active-badge {
    font-size: 11px;
  }
}

/* Subtitle and logo text */
.hero-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

@media (min-width: 768px) {
  .hero-logo-img {
    height: 128px;
  }
}
@media (min-width: 1024px) {
  .hero-logo-img {
    height: 160px;
  }
}

.hero-subtitle-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle-container {
    height: 96px;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  filter: blur(5px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  position: absolute;
}

.hero-subtitle.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-pink);
  color: var(--color-pink);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  background-color: transparent;
  cursor: pointer;
}

.hero-cta-btn:hover {
  background-color: var(--color-pink);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

/* Glass Chips navigation */
.hero-glass-chips-container {
  width: 100%;
  max-width: 48rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 1.5rem;
  scrollbar-width: none; /* Firefox */
}

.hero-glass-chips-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.hero-glass-chips-flex {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .hero-glass-chips-flex {
    justify-content: center;
  }
}

.hero-chip-btn {
  position: relative;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.hero-chip-bg {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  z-index: 0;
  transition: background-color 0.3s, border-color 0.3s;
}

.hero-chip-btn.active {
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}

.hero-chip-btn.active .hero-chip-bg {
  background-color: rgba(233, 30, 99, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-chip-btn:hover:not(.active) {
  color: var(--text-white);
}

.hero-chip-btn:hover:not(.active) .hero-chip-bg {
  background-color: rgba(255, 255, 255, 0.12);
}

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

/* Right Dot Indicators */
.hero-dots-container {
  position: absolute;
  bottom: 5rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 30;
}

@media (min-width: 768px) {
  .hero-dots-container {
    right: 2rem;
    bottom: 6rem;
  }
}

.hero-dot-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  padding: 0;
  transition: height 0.5s ease, background-color 0.5s ease;
}

.hero-dot-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-dot-btn.active {
  height: 24px;
  background-color: var(--text-white);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}
