/* ===== FIXES PARA HOME.HTML - SOBRESCRIBIR CONFLICTOS ===== */

/* Resetear estilos conflictivos del carrusel */
.hero-carousel {
  position: relative !important;
  height: 70vh !important;
  min-height: 500px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.carousel-container {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.carousel-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.8s ease-in-out !important;
}

.carousel-slide.active {
  opacity: 1 !important;
}

.carousel-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.carousel-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  color: white !important;
  z-index: 2 !important;
  max-width: 90% !important;
}

.carousel-content h1 {
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  line-height: 1.2 !important;
}

.carousel-content p {
  margin-bottom: 2rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
  font-weight: 500 !important;
}

.cta-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.cta-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  color: white !important;
}

/* Indicadores del carrusel */
.carousel-indicators {
  position: absolute !important;
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 0.5rem !important;
  z-index: 3 !important;
}

.indicator {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.5) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.indicator.active {
  background: white !important;
  transform: scale(1.2) !important;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

/* Botones de navegación del carrusel */
.carousel-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: white !important;
  font-size: 2rem !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 3 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.prev-btn {
  left: 2rem !important;
}

.next-btn {
  right: 2rem !important;
}

/* Navbar fixes */
.navbar-home {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  position: fixed !important;
  top: 0 !important;
  z-index: 1030 !important;
  height: 80px !important;
}

.navbar-home .logo img {
  height: 40px !important;
  transition: transform 0.3s ease !important;
}

.navbar-home .logo:hover img {
  transform: scale(1.05) !important;
}

/* Auth buttons fixes */
.auth-buttons {
  gap: 0.5rem !important;
}

.auth-buttons .btn {
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.auth-buttons .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    min-height: 60vh !important;
  }
  
  .carousel-content {
    max-width: 95% !important;
  }
  
  .carousel-content h1 {
    font-size: 2rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .carousel-content p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .carousel-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.5rem !important;
  }
  
  .prev-btn {
    left: 1rem !important;
  }
  
  .next-btn {
    right: 1rem !important;
  }
  
  .carousel-indicators {
    bottom: 1rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-home {
    padding: 0.5rem 1rem !important;
  }
  
  .navbar-home .logo img {
    height: 35px !important;
  }
  
  .auth-buttons {
    gap: 0.25rem !important;
  }
  
  .auth-buttons .btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
  
  .hero-carousel {
    min-height: 50vh !important;
  }
  
  .carousel-content h1 {
    font-size: 1.5rem !important;
  }
  
  .carousel-content p {
    font-size: 0.9rem !important;
  }
  
  .cta-button {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.8rem !important;
  }
  
  .carousel-btn {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.2rem !important;
  }
  
  .prev-btn {
    left: 0.5rem !important;
  }
  
  .next-btn {
    right: 0.5rem !important;
  }
}
