/* Estilos para el Hero mejorado */
.hero-container {
  position: relative;
  overflow: hidden;
  background-color: var(--background-main);
}

.hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../img/pattern-bg.png');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-image {
  transition: transform 0.8s ease-out;
  filter: brightness(0.85);
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 4px solid var(--primary-dark);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: glitch 3s infinite;
  font-family: 'Press Start 2P', cursive, 'Segoe UI', sans-serif;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-cta {
  padding: 12px 28px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  transform: scale(1);
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
  background-color: var(--accent-color) !important;
  color: var(--text-light) !important;
  border: 3px solid var(--primary-dark) !important;
  font-family: 'Press Start 2P', cursive !important;
  font-size: 14px !important;
}

.primary-cta:hover {
  background-color: var(--accent-tertiary) !important;
  transform: translateY(-3px);
  box-shadow: 3px 6px 0 rgba(0,0,0,0.2);
}

.secondary-cta {
  padding: 12px 24px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  border: 3px solid var(--primary-dark) !important;
  font-family: 'Press Start 2P', cursive !important;
  font-size: 14px !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.secondary-cta:hover {
  background-color: var(--accent-tertiary) !important;
  transform: translateY(-3px);
  box-shadow: 3px 6px 0 rgba(0,0,0,0.2);
}

.scroll-indicator {
  z-index: 2;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-down {
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.scroll-down i {
  font-size: 1.2rem;
  margin-top: 8px;
  color: var(--accent-tertiary);
}

/* Animaciones */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 var(--accent-color), -0.03em -0.04em 0 var(--primary-color),
    0.025em 0.04em 0 var(--accent-tertiary);
  }
  15% {
    text-shadow: 0.05em 0 0 var(--accent-color), -0.03em -0.04em 0 var(--primary-color),
    0.025em 0.04em 0 var(--accent-tertiary);
  }
  16% {
    text-shadow: -0.05em -0.025em 0 var(--accent-color), 0.025em 0.035em 0 var(--primary-color),
    -0.05em -0.05em 0 var(--accent-tertiary);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 var(--accent-color), 0.025em 0.035em 0 var(--primary-color),
    -0.05em -0.05em 0 var(--accent-tertiary);
  }
  50% {
    text-shadow: 0.05em 0.035em 0 var(--accent-color), 0.03em 0 0 var(--primary-color),
    0 -0.04em 0 var(--accent-tertiary);
  }
  99% {
    text-shadow: 0.05em 0.035em 0 var(--accent-color), 0.03em 0 0 var(--primary-color),
    0 -0.04em 0 var(--accent-tertiary);
  }
  100% {
    text-shadow: -0.05em 0 0 var(--accent-color), -0.025em -0.04em 0 var(--primary-color),
    -0.04em -0.025em 0 var(--accent-tertiary);
  }
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .primary-cta, .secondary-cta {
    width: 100%;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
} 