:root {
  --primary: #0fe71a;
  --secondary: #58e6f0;
  --accent: #ff5722;
  --accent-hover: #e64a19;
  --light: #f7f7f7;
  --dark: #42ca42;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--light);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Header Elegante */
header {
  background: var(--gradient);
  padding: 10px 0;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  transform: translateY(0);
}

header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
  background: rgba(15, 231, 26, 0.95);
}

header.hidden {
  transform: translateY(-100%);
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.logo-circle {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--text-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background-color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
}

.logo-circle:hover {
  transform: scale(1.06) rotate(5deg);
  box-shadow: var(--shadow-medium);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-circle {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 576px) {
  .logo-circle {
    width: 60px;
    height: 60px;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-light) !important;
  margin: 0 1rem;
  position: relative;
  padding: 0.5rem 0 !important;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--text-light);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(12px);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
}

.dropdown:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
}

.dropdown-item {
  color: var(--dark) !important;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.75rem 1.5rem;
  transform: translateX(0);
}

.dropdown-item:hover {
  background: var(--primary);
  color: var(--text-light) !important;
  padding-left: 1.75rem;
  transform: translateX(5px);
}

/* Hero Section Elegante */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-background video.loaded {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 30px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: var(--accent);
  border: none;
  padding: 14px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover::before {
  left: 100%;
}

/* Secciones Generales */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(20px);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: rgba(251, 252, 253, 0.8);
  padding: 10px 0;
  margin-bottom: 30px;
}

.breadcrumb {
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

/* Cards Elegantes */
.offer-card, .tour-card, .hotel-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
  background: white;
  opacity: 0;
  transform: translateY(30px);
  perspective: 1000px;
}

.offer-card:hover, .tour-card:hover, .hotel-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: var(--shadow-medium);
}

.offer-badge, .tour-badge, .hotel-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--text-light);
  padding: 6px 16px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.85rem;
  z-index: 2;
  box-shadow: var(--shadow-soft);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.offer-card:hover .offer-badge,
.tour-card:hover .tour-badge,
.hotel-card:hover .hotel-badge {
  transform: scale(1.1);
}

.countdown-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--dark);
  color: var(--text-light);
  padding: 6px 12px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.8rem;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

/* Galería de Tours */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.tour-image, .hotel-img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.tour-image img, .hotel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-image img, .hotel-card:hover .hotel-img {
  transform: scale(1.08);
}

.tour-info, .hotel-info {
  padding: 1.8rem;
}

.tour-title, .hotel-name {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.tour-location, .hotel-location {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.tour-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid #eee;
}

.tour-rating {
  color: #ffc107;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tour-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.4rem;
}

.tour-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.tour-button {
  background: var(--gradient);
  color: var(--text-light);
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.tour-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.tour-button:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.tour-button:hover::before {
  left: 100%;
}

/* Sección Hoteles */
.hotel-section {
  background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 90px 0;
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.amenity {
  display: flex;
  align-items: center;
  background: #f4f7fa;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.amenity:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.amenity i {
  margin-right: 6px;
  color: var(--primary);
}

/* Testimonios */
.testimonial-card {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 30px;
  height: 100%;
  background: white;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Footer Elegante */
footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--text-light);
  box-shadow: var(--shadow-soft);
  background-color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.footer-logo img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.footer-links h5 {
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 6px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  font-size: 1.2rem;
  margin-right: 12px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: var(--accent);
}

/* Botón WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-medium);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  transform: scale(1);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128C7E;
}

/* Notificación de oferta */
.offer-notification {
  position: fixed;
  bottom: 120px;
  right: 40px;
  background: var(--gradient);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  z-index: 99;
  display: none;
  max-width: 300px;
  transform: translateX(100px);
  opacity: 0;
}

.offer-notification.show {
  display: block;
  animation: slideInRight 0.5s ease forwards;
}

.offer-notification .close {
  position: absolute;
  top: 5px;
  right: 10px;
  color: white;
  cursor: pointer;
}

/* Partículas para el fondo del hero */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

.fade-in-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Estilos para cuando el video no se puede reproducir */
.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
}

/* Mejoras para el carrusel de ofertas */
#carouselOfertas .carousel-item {
  padding: 10px 0;
}

#carouselOfertas .offer-card {
  height: 100%;
  margin: 0 auto;
  max-width: 350px;
}

#carouselOfertas .offer-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Indicadores del carrusel */
#carouselOfertas .carousel-indicators {
  bottom: -50px;
}

#carouselOfertas .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: var(--primary);
  opacity: 0.5;
}

#carouselOfertas .carousel-indicators button.active {
  opacity: 1;
}

/* Mejora de accesibilidad para modo oscuro */
@media (prefers-color-scheme: dark) {
  .offer-card, .tour-card, .hotel-card, .testimonial-card {
    background: #2a2a2a;
    color: #f0f0f0;
  }
  
  .tour-title, .hotel-name, .tour-description, .tour-price, .amenity {
    color: #f0f0f0;
  }
  
  .tour-location, .hotel-location {
    color: #b0b0b0;
  }

  .breadcrumb-container {
    background-color: rgba(42, 42, 42, 0.8);
  }
}

/* Por qué elegirnos - CRO */
.why-us-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 3px solid var(--primary);
}

.why-card {
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: rotate(360deg) scale(1.1);
}

.why-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .tour-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .offer-notification {
    bottom: 100px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
  .carousel-item img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .btn-primary {
    padding: 12px 25px;
  }
  .carousel-item img {
    height: 150px;
  }
}
/* Efecto zoom mejorado */
.offer-card .position-relative { overflow: hidden; }
.offer-card img { transition: transform 0.5s ease; }
.offer-card:hover img { transform: scale(1.15); }
.tour-image { overflow: hidden; }
.tour-image img { transition: transform 0.6s ease; }
.tour-card:hover .tour-image img { transform: scale(1.12); }
.hotel-img-container { overflow: hidden; }
.hotel-img { transition: transform 0.6s ease; }
.hotel-card:hover .hotel-img { transform: scale(1.12); }
/* ...existing code... */

/* Efecto cambio de imagen en hover */
.offer-card .position-relative,
.tour-image,
.hotel-img-container {
  position: relative;
  overflow: hidden;
}

/* Ocultar segunda imagen por defecto */
.offer-card .img-hover,
.tour-card .img-hover,
.hotel-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Mostrar segunda imagen al hacer hover */
.offer-card:hover .img-hover,
.tour-card:hover .img-hover,
.hotel-card:hover .img-hover {
  opacity: 1;
}

/* La primera imagen se mantiene detrás */
.offer-card .img-default,
.tour-card .img-default,
.hotel-card .img-default {
  position: relative;
  z-index: 0;
  transition: opacity 0.5s ease;
}