:root {
  /* Paleta Navideña Wayuu Moderna */
  --christmas-red: #c0392b;
  --christmas-green: #1a472a;
  --christmas-gold: #f1c40f;
  --christmas-white: #ffffff;
  --christmas-light: #f8f9fa;
  --christmas-dark: #2c3e50;

  /* Gradientes */
  --grad-christmas: linear-gradient(135deg, var(--christmas-green) 0%, #2f5e3d 100%);
  --grad-red: linear-gradient(135deg, var(--christmas-red) 0%, #e74c3c 100%);

  /* Sombras */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--christmas-dark);
  background-color: #f0fdf4;
  /* Fondo menta muy suave */
}

/* Encabezados y Textos */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--christmas-green);
}

.text-christmas-red {
  color: var(--christmas-red) !important;
}

.text-christmas-green {
  color: var(--christmas-green) !important;
}

.text-christmas-gold {
  color: var(--christmas-gold) !important;
}

/* Navegación Mejorada */
.navbar {
  background: var(--grad-christmas) !important;
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--christmas-gold) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 50%;
  background-color: var(--christmas-gold);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Botones Navideños */
.btn-christmas {
  background: var(--grad-red);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-christmas:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: white;
}

/* Tarjetas y Contenedores */
.card-christmas {
  background: white;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  overflow: hidden;
  border-top: 4px solid var(--christmas-green);
}

.card-christmas:hover {
  transform: translateY(-5px);
}

/* Decoraciones Sutiles */
.christmas-border {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.snowflake-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='5' cy='5' r='1' fill='rgba(255,255,255,0.5)'/%3E%3Ccircle cx='25' cy='25' r='1.5' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='50' cy='10' r='1' fill='rgba(255,255,255,0.6)'/%3E%3Ccircle cx='75' cy='40' r='1.2' fill='rgba(255,255,255,0.3)'/%3E%3Ccircle cx='90' cy='20' r='1' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  animation: snow 20s linear infinite;
  opacity: 0.6;
}

@keyframes snow {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100px 500px;
  }
}

/* Footer Moderno */
footer.bg-dark {
  background: #1e2630 !important;
  color: #adb5bd !important;
}

footer h5.text-success {
  color: var(--christmas-gold) !important;
  margin-bottom: 1.5rem;
}

.footer-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- FIX: RESPONSIVE IMAGES --- */
.carousel-img-responsive {
  width: 100%;
  height: auto;
  /* Permite que la imagen defina su altura según el ancho */
  max-height: 85vh;
  /* Límite para pantallas grandes */
  object-fit: contain;
  /* Asegura que se vea TODO el contenido de la imagen */
  background-color: transparent;
}

/* En móviles, aseguramos que no se vea minúsculo */
@media (max-width: 768px) {
  .carousel-img-responsive {
    object-fit: contain;
  }
}


/* --- FIX: WHATSAPP BUTTON (BIG & ANIMATED) --- */
.whatsapp-btn-modern {
  position: fixed;
  bottom: 50px;
  /* Posición original */
  right: 50px;
  z-index: 9999;
  width: 90px;
  /* Tamaño grande restaurado */
  height: 90px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: breathe 2.5s ease-in-out infinite;
  /* Animación restaurada */
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn-modern:hover {
  transform: scale(1.1);
  background-color: #20BA5C;
}

.whatsapp-btn-modern i {
  color: #fff;
  font-size: 50px;
  /* Icono grande */
  animation: beat 2s ease-in-out infinite;
}

/* Animaciones del botón */
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);
  }

  /* Sombra expansiva */
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes beat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  /* Latido */
}

/* --- ACCESSIBILITY BUTTON --- */
.accessibility-container {
  position: fixed;
  bottom: 160px;
  /* Arriba del botón de WhatsApp (50px margin + 90px height + 20px gap) */
  right: 70px;
  /* Centrado respecto al botón de WhatsApp (50px + (90-50)/2) */
  z-index: 10000;
}

.accessibility-btn {
  width: 50px;
  height: 50px;
  background-color: var(--christmas-dark);
  color: var(--christmas-gold);
  border: 2px solid var(--christmas-gold);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.accessibility-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: #34495e;
}

.accessibility-menu {
  display: none;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 10px;
  width: 220px;
  position: absolute;
  bottom: 60px;
  /* Aparece encima del botón pequeño */
  right: 0;
  /* Alineado a la derecha del contenedor */
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.accessibility-menu.show {
  display: block;
  animation: fadeInUp 0.3s;
}

.accessibility-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px;
  color: var(--christmas-dark);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s;
  margin-bottom: 2px;
}

.accessibility-menu button:hover {
  background-color: var(--christmas-light);
  color: var(--christmas-green);
  font-weight: 600;
}

.accessibility-menu button i {
  width: 25px;
  text-align: center;
  margin-right: 5px;
  color: var(--christmas-red);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}