/* Variables para colores y fuentes */
:root {
  --color-primary: #28a745;
  --color-primary-hover: #218838;
  --color-navbar-bg: #2c3e50;
  --color-navbar-link: #fff;
  --color-navbar-link-hover: #ffd700;
  --color-overlay-bg: rgba(0, 0, 0, 0.5);
  --color-crema: #ffffff;
  --color-crema-dark: #ffd700;
  --color-text-dark: #343a40;
  --font-main: 'Poppins', sans-serif;
  --font-cursive: 'Great Vibes', cursive;
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   --color-crema: #fef9f2;
  --color-crema-oscuro: #f7e7ce;
  --color-dorado: #c49b66;
  --color-dorado-oscuro: #a6814f;
  --color-marron: #4b3832;
  --color-texto: #3c2f2f;
  --color-borde: #d1b28f;
}

/* Reset y caja */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: #f4f4f4;
  line-height: 1.6;
  color: var(--color-text-dark);
}

/* Botón triangular estilo montaña */
.btn-mountain {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border: none;
  color: white;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-mountain:hover,
.btn-mountain:focus {
  background-color: var(--color-primary-hover);
  outline: none;
  transform: scale(1.1);
}

/* Overlay (fondo oscuro semi-transparente) */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: var(--color-overlay-bg);
  z-index: 10;
  display: none; /* Mostrar con JS */
}


/* -------------------------------------
   2. NAVBAR FIJA Y ESTILO
-------------------------------------- */
/* Navbar mejorado */
/* Navbar */

/* Navbar base */

.navbar {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  padding: 0.8rem 1.5rem;
  position: fixed;
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.navbar-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 1.2px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-brand:hover {
  color: #ffca28;
  transform: scale(1.05);
}

.navbar-brand img {
  max-height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(10deg) scale(1.1);
}

.navbar-nav .nav-link {
  color: #f0f0f0;
  font-weight: 600;
  margin: 0 15px;
  padding: 8px 5px;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #ffca28;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffca28;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  filter: invert(1);
  transition: filter 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
  filter: invert(0.75) sepia(1) saturate(5) hue-rotate(20deg);
}
.navbar-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.25rem; /* antes 1.5rem */
  letter-spacing: 1.2px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-nav .nav-link {
  color: #f0f0f0;
  font-weight: 600;
  margin: 0 15px;
  padding: 8px 5px;
  font-size: 0.9rem; /* antes 1rem */
  position: relative;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #ffca28;
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Switch toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  cursor: pointer;
  background-color: rgba(255 255 255 / 0.22);
  border-radius: 34px;
  height: 100%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
  user-select: none;
}

.slider .icon {
  font-size: 13px;
  color: #ffd54f;
  transition: color 0.3s ease;
  user-select: none;
}

.slider .luna {
  color: #90caf9;
}

.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(255 255 255 / 0.7);
  user-select: none;
}

input:checked + .slider {
  background-color: rgba(0 0 0 / 0.45);
}

input:checked + .slider::before {
  transform: translateX(24px);
}

input:checked + .slider .sol {
  color: #aaa;
}

input:checked + .slider .luna {
  color: #bbdefb;
}

/* Responsive: ajustar navbar en móviles */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    gap: 0.8rem;
    background-color: var(--color-navbar-bg);
    padding: 1rem 0;
    margin: 0;
  }
  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
  .navbar-nav {
    flex-direction: column;
    gap: 0.8rem;
    background-color: var(--color-navbar-bg);
    padding: 1rem 0;
    margin: 0;
  }
  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.slider .icon {
  color: #f39c12; /* sol amarillo */
  font-size: 14px;
}

.slider .luna {
  color: #34495e; /* luna azul oscuro */
}

input:checked + .slider {
  background-color: #333;
}


/*  botton carro 
-------------------------------------- */

  .car-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.4s ease;
    overflow: hidden;
  }

  .car-icon-btn:hover .car-icon {
    animation: drive 0.6s linear forwards;
  }

  @keyframes drive {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(10px);
    }
  }

  .car-icon {
    transition: transform 0.3s ease;
  }
/* Hero Section */
#home {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
  padding: 4rem 1.5rem 6rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.75);
}

#home h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

#home p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Botones dentro del home */
#home .btn {
  padding: 0.75rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 35px;
  border: none;
  background-color: var(--color-primary);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#home .btn:hover,
#home .btn:focus {
  background-color: var(--color-primary-hover);
  outline: none;
  transform: scale(1.05);
}

/* Carousel */
.carousel-slide {
  position: relative;
  display: none;
  width: 100%;
  user-select: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  display: block;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.carousel-slide img:hover,
.carousel-slide img:focus {
  transform: scale(1.05);
  outline: none;
}

/* Caption */
.carousel-caption {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  padding: 1rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
  color: var(--color-crema);
  text-align: center;
}

.carousel-caption h2 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-crema-dark);
  text-shadow:
    3px 3px 6px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(255, 215, 0, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease forwards;
  margin: 0;
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.carousel-indicators li {
  background-color: rgba(255, 255, 255, 0.6);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-indicators li.active {
  background-color: var(--color-crema);
  width: 12px;
  height: 12px;
  transform: scale(1.2);
}

/* Sobre Nosotros */
#sobre-nosotros {
  background-color: #f8f9fa;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

#sobre-nosotros h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 1px;
}

#sobre-nosotros p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

/* Footer - Redes sociales */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  user-select: none;
  color: white;
  font-size: 1.4rem;
  text-decoration: none;
  transition: filter 0.3s ease, transform 0.25s ease;
}

.social-icon i {
  pointer-events: none;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.15));
}

/* Colores redes */
.social-icon.facebook {
  background-color: #1877F2;
  color: #d4d4d4;
  transition: color 0.3s ease, filter 0.3s ease, transform 0.25s ease;
}

.social-icon.facebook:hover,
.social-icon.facebook:focus {
  color: #f1f1f1;
  filter: brightness(0.85);
  transform: scale(1.2);
  outline: none;
}

.social-icon.twitter {
  background-color: #1DA1F2;
}

.social-icon.twitter:hover,
.social-icon.twitter:focus {
  filter: brightness(0.85);
  transform: scale(1.2);
  outline: none;
}

.social-icon.linkedin {
  background-color: #0077B5;
}

.social-icon.linkedin:hover,
.social-icon.linkedin:focus {
  filter: brightness(0.85);
  transform: scale(1.2);
  outline: none;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.instagram:hover,
.social-icon.instagram:focus {
  filter: brightness(0.85);
  transform: scale(1.2);
  outline: none;
}

.social-icon.whatsapp {
  background-color: #25D366;
}

.social-icon.whatsapp:hover,
.social-icon.whatsapp:focus {
  filter: brightness(0.85);
  transform: scale(1.2);
  outline: none;
}

/* Links con hover azul */
.link-primary-hover:hover,
.link-primary-hover:focus {
  color: #0d6efd !important;
  text-decoration: underline !important;
  outline: none;
}

/* Popup */

.popup {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 285px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  /* overflow: hidden; */    /* <- comentado */
  overflow: visible;         /* <- ahora visible */
  z-index: 1000;
  display: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.popup h2 {
  margin: 0;
  padding: 0.75rem 1rem 0.5rem;   /* Espacio extra */
  min-height: 2.5rem;             /* Acomoda hasta 2 líneas */
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: #ffd700;
  text-align: center;
  border-bottom: 1px solid #ddd;
  user-select: none;
  text-shadow: 0.5px 0.5px 2px rgba(255, 215, 0, 0.7);
  line-height: 1.2;
  white-space: normal;            /* permite wrap */
  overflow-wrap: break-word;      /* quiebra palabras largas */
}
.popup.show {
  display: block;
  animation: fadeInDown 0.5s ease forwards;
}

.popup.hide {
  opacity: 0;
  pointer-events: none;
}

.close-btn {
  position: absolute;
  top: 0.5rem;    /* ajustado */
  right: 1rem;    /* ajustado */
  background: none;
  border: none;
  font-size: 1.4rem; /* ajustado */
  color: #000;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.6s ease, opacity 0.3s ease;
  transform-origin: center;
  opacity: 1;
}

.close-btn:hover,
.close-btn:focus {
  transform: rotateY(180deg);
  opacity: 0;
  outline: none;
}

.popup-body {
  padding: 1.25rem 1.5rem 1rem;  /* ajustado */
  text-align: center;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}


.buscador-colonial {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.buscador-colonial:focus-within {
  border-color: #0d6efd; /* Bootstrap primary */
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* Icono a la izquierda */
.buscador-colonial .input-group-text {
  background-color: #f8f9fa;
  color: #6c757d;
  border: none;
  border-right: 1px solid #dee2e6;
  font-size: 1.25rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  user-select: none;
  cursor: default;
  transition: background-color 0.15s ease;
}
.buscador-colonial .input-group-text:hover {
  background-color: #e9ecef;
  color: #495057;
}

/* Campo de texto */
.buscador-colonial input.form-control {
  flex-grow: 1;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #212529;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 0.15s ease;
}
.buscador-colonial input.form-control::placeholder {
  color: #6c757d;
  font-style: italic;
  opacity: 0.9;
}
.buscador-colonial input.form-control:focus {
  outline: none;
  color: #212529;
  font-weight: 600;
}

/* Botón limpiar (X) */
.limpiar-btn {
  background: #ffffff;
  border: none;
  border-left: 1px solid #dee2e6;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  color: #6c757d;
  font-size: 1.25rem;
  padding: 0 1rem;
  cursor: pointer;
  display: none; /* se muestra con .show */
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.limpiar-btn:hover {
  background-color: #e9ecef;
  color: #495057;
}

/* Animación opcional al aparecer */
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(.9); }
  100% { opacity: 1; transform: scale(1); }
}
.limpiar-btn.show {
  display: flex !important;
  animation: fadeInScale 0.15s ease forwards;
}

/* Contador de resultados */
#contadorResultados {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 600;
  text-align: center;
  margin-top: 0.25rem;
  user-select: none;
  letter-spacing: 0.01em;
}
.limpiar-btn {
  background-image: none !important;
  position: relative;
}
.limpiar-btn::after {
  content: none !important;
}
/* Ocultar la X nativa del input[type=search] en distintos navegadores */
.buscador-colonial input[type="search"]::-webkit-search-decoration,
.buscador-colonial input[type="search"]::-webkit-search-cancel-button,
.buscador-colonial input[type="search"]::-webkit-search-results-button,
.buscador-colonial input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.buscador-colonial input[type="search"]::-ms-clear,
.buscador-colonial input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

/* Estilos para el contenedor que se llena por la api  */

/* Tarjeta principal */
.card {
  background: linear-gradient(145deg, var(--color-crema), #fff);
  border: 2px solid var(--color-borde);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-family: 'Gloock', serif;
  color: var(--color-marron);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #5c4a3f;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Botón principal */
.btn-primary {
  background-color: var(--color-btn);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
}

/* Carousel */
.carousel-inner img {
  border-radius: 8px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(70%);
}

/* Modal */
.modal-content {
  background: var(--color-crema);
  border: 2px solid var(--color-borde);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.modal-header, 
.modal-footer {
  background-color: var(--color-crema-oscuro);
  border: none;
}

.modal-title {
  font-family: 'Gloock', serif;
  color: var(--color-marron);
  font-size: 1.5rem;
}

.modal-body p {
  font-size: 1rem;
  color: var(--color-texto);
  line-height: 1.6;
}



/* Calificación estrellas */
.star-btn i {
  font-size: 1.2rem;
  color: var(--color-dorado);
  transition: transform 0.2s ease;
}

.star-btn:hover i {
  transform: scale(1.2);
  color: var(--color-dorado-oscuro);
}

/* Footer en el modal */
footer {
  background: var(--color-crema-oscuro);
  color: var(--color-texto);
  font-size: 0.9rem;
  border-top: 2px solid var(--color-borde);
}

footer a {
  color: var(--color-btn-hover);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-icon i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.3);
  color: var(--color-dorado-oscuro);
}

/* Botón principal */
.btn-primary {
  background-color: #c49b66;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 6px rgba(196, 155, 102, 0.5);
}

.btn-primary:hover {
  background-color: #a6814f; /* un tono más oscuro para hover */
  box-shadow: 0 5px 10px rgba(166, 129, 79, 0.7);
}

.fab-btn {
  position: static; /* Ya no flotante */
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 50px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    background 0.3s ease;
}

.fab-btn i {
  font-size: 18px;
  transition: transform 0.6s ease-in-out;
}

.fab-btn:hover i {
  transform: translate(8px, -3px) rotate(15deg);
}

.fab-text {
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fab-btn:hover .fab-text {
  opacity: 0;
  transform: translateX(20px);
}

.fab-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}
.fab-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.5);
}

/* Reducir tamaño y hacer transparente el banner, sin ocultarlo totalmente */
.goog-te-banner-frame.skiptranslate {
  height: 1px !important;
  min-height: 1px !important;
  overflow: hidden !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 9999 !important;
}

/* Ajustar body para que no deje espacio extra */
body {
  position: relative !important;
  top: 0 !important;
}

/* Opcional: ocultar iconos y texto dentro del widget (puede que no funcione cross-origin) */
.goog-te-combo,
.goog-te-gadget-icon,
.goog-logo-link {
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  width: 0 !important;
  height: 0 !important;
  display: inline-block !important;
}

/* Reducir tamaño y hacer transparente el banner, sin ocultarlo totalmente */
.goog-te-banner-frame.skiptranslate {
  height: 1px !important;
  min-height: 1px !important;
  overflow: hidden !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 9999 !important;
}

/* Ajustar body para que no deje espacio extra */
body {
  position: relative !important;
  top: 0 !important;
}

/* Opcional: ocultar iconos y texto dentro del widget (puede que no funcione cross-origin) */
.goog-te-combo,
.goog-te-gadget-icon,
.goog-logo-link {
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  width: 0 !important;
  height: 0 !important;
  display: inline-block !important;
}

 .comentarios-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
  }

  .comentario-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #f9f9f9;
    font-size: 14px;
  }

  .comentario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
  }

  .comentario-header strong {
    font-size: 14px;
    color: #333;
  }

  .comentario-header small {
    color: #777;
  }

  .comentario-estrellas {
    color: orange;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .comentario-texto {
    margin: 0;
    color: #444;
    line-height: 1.4;
 }
 /* Contenedor principal */
#trip-card {
  background: linear-gradient(135deg, #f7faff, #d0e1ff);
  border-radius: 18px;
  box-shadow:
    0 6px 16px rgba(13, 110, 253, 0.12),
    0 12px 32px rgba(13, 110, 253, 0.08);
  padding: 1.3rem 1.8rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeSlideUp 0.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, box-shadow;
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animación de entrada */
@keyframes fadeSlideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hover general */
#trip-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 12px 28px rgba(13, 110, 253, 0.28),
    0 24px 48px rgba(13, 110, 253, 0.22);
  background: linear-gradient(135deg, #d0e1ff, #f7faff);
}

/* Texto título */
#trip-card h6 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #073763;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(13, 110, 253, 0.25);
  transition: color 0.35s ease;
  user-select: none;
}

#trip-card:hover h6 {
  color: #021f45;
}

/* Rubro y icono */
#trip-card .text-muted small {
  font-size: 1rem;
  font-weight: 600;
  color: #465775;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: capitalize;
  transition: color 0.35s ease;
  user-select: none;
}

#trip-card:hover .text-muted small {
  color: #1c2e55;
}

#trip-card .text-muted small i {
  font-size: 1.25rem;
  color: #073763;
  transition: color 0.35s ease;
}

/* Icono cambia con hover */
#trip-card:hover .text-muted small i {
  color: #021f45;
}

/* Botón eliminar */
.remove-from-cart-btn {
  border-radius: 50%;
  border: 3px solid #d62828;
  background-color: transparent;
  color: #d62828;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
  box-shadow: 0 0 0 transparent;
  cursor: pointer;
  user-select: none;
  will-change: transform, box-shadow, background-color;
}

/* Animación botón hover */
.remove-from-cart-btn:hover {
  background-color: #d62828;
  color: #fff;
  box-shadow:
    0 10px 18px rgba(214, 40, 40, 0.7);
  transform: scale(1.3) rotate(20deg);
}

/* Responsive: apilar contenido en móvil */
@media (max-width: 480px) {
  #trip-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
  }

  #trip-card h6 {
    font-size: 1.15rem;
  }

  #trip-card .text-muted small {
    font-size: 0.9rem;
    gap: 6px;
  }

  .remove-from-cart-btn {
    margin-top: 12px;
    align-self: flex-end;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}




/* Dark Mode Styles */

/* General dark mode styles */  
.switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 48px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  /* Fondo semi transparente para efecto vidrio */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: visible;
}

/* Ocultar checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Fondo del slider - casi transparente */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg,
    rgba(255, 217, 59, 0.1),
    rgba(63, 136, 197, 0.1));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 26px;
  transition: background 0.6s ease, box-shadow 0.6s ease;
  box-shadow:
    0 0 3px rgba(255, 217, 59, 0.07),
    inset 0 0 6px rgba(63, 136, 197, 0.07);
  overflow: visible;
  z-index: 1;
}

/* Bola del toggle */
.slider::before {
  content: "";
  position: absolute;
  height: 40px;
  width: 40px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 4px rgba(255, 217, 59, 0.25),   /* brillo muy suave */
    0 2px 6px rgba(0,0,0,0.15);         /* sombra muy suave */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  z-index: 4;
}

/* Estado checked: fondo oscuro muy translúcido */
.switch input:checked + .slider {
  background: linear-gradient(90deg,
    rgba(30, 41, 59, 0.08),
    rgba(15, 23, 42, 0.08));
  box-shadow:
    0 0 3px rgba(100, 181, 246, 0.08),  /* glow muy suave */
    inset 0 0 4px rgba(30, 64, 175, 0.04);
}

.switch input:checked + .slider::before {
  transform: translateX(50px);
  box-shadow:
    0 0 5px rgba(100, 181, 246, 0.25),  /* glow muy suave */
    0 3px 10px rgba(0,0,0,0.2);
}

/* Iconos - estilos base */
.slider .icon {
  pointer-events: none;
  user-select: none;
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
  z-index: 3;
  text-shadow:
    0 0 5px rgba(0,0,0,0.1);
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.07));
}

/* Sol: dorado vibrante con brillo muy suave */
.slider .sol {
  color: #FFD93B;
  text-shadow:
    0 0 3px #FFD93B88,
    0 0 6px #FFC107aa,
    0 0 9px #FFC107bb;
  transform-origin: center center;
  filter: drop-shadow(0 0 3px #FFD93Baa);
}

/* Luna: azul brillante con glow muy suave */
.slider .luna {
  color: #64B5F6;
  text-shadow:
    0 0 3px #64B5F688,
    0 0 9px #64B5F6aa,
    0 0 14px #64B5F6aa;
  transform-origin: center center;
  filter: drop-shadow(0 0 4px #64B5F6aa);
}

/* Opacidad y escala animadas para fade & zoom */
/* Cuando no está checked: sol visible, luna tenue y pequeña */
.switch input:not(:checked) + .slider .sol {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 4px #FFD93Baa);
}

.switch input:not(:checked) + .slider .luna {
  opacity: 0.15;
  transform: scale(0.75);
  filter: none;
}

/* Cuando está checked: luna visible, sol tenue y pequeña */
.switch input:checked + .slider .sol {
  opacity: 0.15;
  transform: scale(0.75);
  filter: none;
}

.switch input:checked + .slider .luna {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 5px #64B5F6aa);
}



body.dark-mode {
    background-color: #1a1a1a; /* Darker background for more depth */
    color: #e0e0e0; /* Lighter text for better contrast */
    font-family: 'Segoe UI', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease; /* Smoother transition */
}

/* General text elements in dark mode */
body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode a,
body.dark-mode span,
body.dark-mode strong,
body.dark-mode small,
body.dark-mode label,
body.dark-mode li,
body.dark-mode .text-muted {
    color: #f0f0f0 !important; /* Brighter text for readability */
}

/* Links in dark mode */
body.dark-mode a:hover,
body.dark-mode a:focus {
    color: #4CAF50; /* A pleasant green for hover, contrasting with dark */
    text-decoration: underline;
}

/* Navbar in dark mode */
body.dark-mode .navbar {
    background-color: #212121; /* Slightly lighter than body for subtle distinction */
    border-bottom: 1px solid #3a3a3a; /* Darker border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* More prominent shadow */
}

body.dark-mode .navbar-brand,
body.dark-mode .navbar-nav .nav-link {
    color: #e0e0e0; /* White/light grey for brand and links */
}

body.dark-mode .navbar-nav .nav-link:hover,
body.dark-mode .navbar-nav .nav-link.active {
    color: #4CAF50; /* Green for active/hover states */
}

body.dark-mode .navbar-nav .nav-link::after {
    background-color: #4CAF50; /* Green underline */
}

/* Cards in dark mode */
body.dark-mode .card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f); /* Subtle gradient for depth */
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

body.dark-mode .card:hover {
    transform: translateY(-3px); /* Slightly less aggressive lift */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6); /* More intense hover shadow */
}

body.dark-mode .card-title {
    color: #76FF03; /* Bright green for titles to stand out */
}

body.dark-mode .card-text {
    color: #bbbbbb; /* Readable text color */
}

/* Modals in dark mode */
body.dark-mode .modal-content {
    background-color: #282828;
    color: #e0e0e0;
    border: 1px solid #4a4a4a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); /* Deeper shadow for modals */
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    background-color: #333333; /* Darker header/footer for distinction */
    border-color: #4a4a4a;
}

body.dark-mode .modal-title {
    color: #76FF03; /* Consistent title color */
}

body.dark-mode .modal-body p {
    color: #cccccc;
}

/* Comments section in dark mode */
body.dark-mode .comentarios-container {
    background-color: #222222;
    border: 1px solid #444444;
}

body.dark-mode .comentario-card {
    background: #2a2a2a;
    border: 1px solid #383838;
}

body.dark-mode .comentario-header strong {
    color: #e0e0e0;
}

body.dark-mode .comentario-header small {
    color: #999999;
}

body.dark-mode .comentario-estrellas {
    color: #FFC107; /* Brighter orange/gold for stars */
}

body.dark-mode .comentario-texto {
    color: #cccccc;
}

/* Form elements in dark mode */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #333333;
    border: 1px solid #555555;
    color: #e0e0e0;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #aaaaaa;
}

/* Colonial search bar in dark mode */
body.dark-mode .buscador-colonial {
    background-color: #282828;
    border-color: #444444;
    box-shadow: none; /* Keep it flat or add a subtle inner shadow */
}

body.dark-mode .buscador-colonial:focus-within {
    border-color: #4CAF50; /* Green highlight on focus */
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

body.dark-mode .buscador-colonial .input-group-text {
    background-color: #333333;
    color: #b0b0b0;
    border-right-color: #444444;
}

body.dark-mode .buscador-colonial .input-group-text:hover {
    background-color: #3a3a3a;
    color: #e0e0e0;
}

body.dark-mode .buscador-colonial input.form-control {
    background: transparent; /* Ensure transparent background */
    color: #e0e0e0;
}

body.dark-mode .buscador-colonial input.form-control::placeholder {
    color: #999999;
}

body.dark-mode .limpiar-btn {
    background-color: #282828;
    border-left-color: #444444;
    color: #b0b0b0;
}

body.dark-mode .limpiar-btn:hover {
    background-color: #3a3a3a;
    color: #e0e0e0;
}

body.dark-mode #contadorResultados {
    color: #999999;
}


/* Buttons in dark mode */
body.dark-mode .btn,
body.dark-mode button {
    background-color: #444444; /* Darker button base */
    color: #ffffff;
    border: 1px solid #555555;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for buttons */
}

body.dark-mode .btn:hover,
body.dark-mode button:hover {
    background-color: #5a5a5a; /* Lighter hover state */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Deeper hover shadow */
}

/* Primary buttons (e.g., #home .btn) */
body.dark-mode #home .btn,
body.dark-mode .btn-primary {
    background-color: #4CAF50; /* Your primary green */
    box-shadow: 0 3px 6px rgba(76, 175, 80, 0.5);
}

body.dark-mode #home .btn:hover,
body.dark-mode .btn-primary:hover {
    background-color: #388E3C; /* Darker green on hover */
    box-shadow: 0 5px 10px rgba(56, 142, 60, 0.7);
}

/* Triangular mountain button */
body.dark-mode .btn-mountain {
    background-color: #4CAF50;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.dark-mode .btn-mountain:hover,
body.dark-mode .btn-mountain:focus {
    background-color: #388E3C;
    transform: scale(1.08); /* Slightly less aggressive scale for dark mode */
}

/* Floating Action Button (FAB) */
body.dark-mode .fab-btn {
    background: linear-gradient(135deg, #4CAF50, #388E3C); /* Green gradient */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark-mode .fab-btn:hover {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    transform: scale(1.08);
}

body.dark-mode .fab-btn:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

/* Footer in dark mode */
body.dark-mode footer,
body.dark-mode .footer {
    background-color: #121212; /* Very dark for footer */
    color: #bbbbbb;
    border-top: 1px solid #333333;
}

body.dark-mode footer a {
    color: #4CAF50; /* Green for footer links */
}

body.dark-mode footer a:hover {
    text-decoration: underline;
    color: #76FF03;
}

/* Social icons in dark mode */
body.dark-mode .social-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Specific social icon adjustments for dark mode if needed,
   otherwise, they should naturally darken with general button styles.
   Ensure their original brand colors still look good on dark. */
body.dark-mode .social-icon.facebook { background-color: #1877F2; color: #f0f0f0; }
body.dark-mode .social-icon.twitter { background-color: #1DA1F2; }
body.dark-mode .social-icon.linkedin { background-color: #0077B5; }
body.dark-mode .social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
body.dark-mode .social-icon.whatsapp { background-color: #25D366; }

body.dark-mode .social-icon:hover,
body.dark-mode .social-icon:focus {
    filter: brightness(1.1); /* Slightly brighter on hover */
    transform: scale(1.15); /* Slightly less aggressive scale */
}


body.dark-mode .close-btn {
    color: #b0b0b0;
}

body.dark-mode .close-btn:hover,
body.dark-mode .close-btn:focus {
    transform: rotateY(180deg);
    opacity: 0.7;
}

/* Trip card */
body.dark-mode #trip-card {
    background: linear-gradient(135deg, #2a2a2a, #212121);
    border: 1px solid #3a3a3a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.2);
}

body.dark-mode #trip-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #212121, #2a2a2a);
}

body.dark-mode #trip-card h6 {
    color: #76FF03; /* Bright green for card titles */
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.25);
}

body.dark-mode #trip-card:hover h6 {
    color: #9EFF5B; /* Lighter green on hover */
}

body.dark-mode #trip-card .text-muted small {
    color: #b0b0b0;
}

body.dark-mode #trip-card:hover .text-muted small {
    color: #e0e0e0;
}

body.dark-mode #trip-card .text-muted small i {
    color: #4CAF50;
}

body.dark-mode #trip-card:hover .text-muted small i {
    color: #76FF03;
}

/* Remove from cart button */
body.dark-mode .remove-from-cart-btn {
    border: 3px solid #EF5350; /* Brighter red for visibility */
    color: #EF5350;
}

body.dark-mode .remove-from-cart-btn:hover {
    background-color: #EF5350;
    color: #fff;
    box-shadow: 0 10px 18px rgba(239, 83, 80, 0.7);
    transform: scale(1.2) rotate(15deg); /* Slightly less rotation */
}

/* Carousel indicators */
body.dark-mode .carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.3); /* Duller for non-active */
}

body.dark-mode .carousel-indicators li.active {
    background-color: #76FF03; /* Bright green for active */
    transform: scale(1.1);
}

/* Carousel caption */
body.dark-mode .carousel-caption {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly less opaque */
    color: #e0e0e0;
}

body.dark-mode .carousel-caption h2 {
    color: #FFD700; /* Keep golden */
    text-shadow:
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.5); /* Reduce glow slightly */
}

/* About Us Section */
body.dark-mode #sobre-nosotros {
    background-color: #282828;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode #sobre-nosotros h2 {
    color: #76FF03; /* Green heading */
}

body.dark-mode #sobre-nosotros p {
    color: #cccccc;
}

/* Overlay */
body.dark-mode .overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
}

/* --- Footer in Dark Mode --- */
body.dark-mode footer.bg-secondary-subtle {
    background-color: #1a1a1a !important; /* Darker background, matching body */
    border-top: 1px solid #333333 !important; /* Darker border */
    color: #e0e0e0 !important; /* Lighter text for good contrast */
}

body.dark-mode footer .text-dark {
    color: #e0e0e0 !important; /* Ensure all 'text-dark' within footer also becomes light */
}

body.dark-mode footer h5 {
    color: #f0f0f0 !important; /* Slightly brighter for headings */
}

body.dark-mode footer p {
    color: #cccccc !important; /* Readable paragraph text */
}

body.dark-mode footer a {
    color: #4CAF50 !important; /* Use your primary green for links */
    text-decoration: none;
}

body.dark-mode footer a:hover {
    color: #76FF03 !important; /* Lighter green on hover */
    text-decoration: underline;
}

body.dark-mode footer small.text-muted {
    color: #999999 !important; /* Slightly dimmer for copyright text */
}

/* Social Icons in Footer (adjusting for dark mode) */
body.dark-mode .social-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}

/* You already have specific social icon colors, these will generally look good.
   Ensure the 'color' property of the icon itself is bright enough. */
body.dark-mode .social-icon i {
    color: #f0f0f0; /* Ensure icon color is light */
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

body.dark-mode .social-icon.facebook { background-color: #1877F2; }
body.dark-mode .social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
body.dark-mode .social-icon.whatsapp { background-color: #25D366; }
body.dark-mode .social-icon.linkedin { background-color: #0077B5; }


body.dark-mode .social-icon:hover,
body.dark-mode .social-icon:focus {
    filter: brightness(1.1); /* Slightly brighter on hover */
    transform: scale(1.15); /* Subtle scale effect */
    outline: none;
}


/* --- Modal Footer in Dark Mode --- */
body.dark-mode .modal-footer {
    background-color: #252525 !important; /* Darker than modal body for distinction */
    border-top: 1px solid #444444 !important; /* Darker border */
}

body.dark-mode .modal-footer .btn-secondary {
    background-color: #444444 !important; /* Darker secondary button */
    color: #e0e0e0 !important; /* Light text for button */
    border-color: #555555 !important; /* Darker border for button */
}

body.dark-mode .modal-footer .btn-secondary:hover {
    background-color: #5a5a5a !important; /* Lighter hover state */
    border-color: #666666 !important;
}

/* --- Comment Card in Dark Mode --- */
body.dark-mode .comentario-card,
body.dark-mode .border.rounded.p-2.mb-2 { /* Target the specific structure from your HTML snippet */
    background-color: #2a2a2a !important; /* Slightly lighter than the container for distinction */
    border: 1px solid #444444 !important; /* Darker border */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

body.dark-mode .comentario-card strong,
body.dark-mode .border.rounded.p-2.mb-2 strong {
    color: #f0f0f0 !important; /* Bright text for username */
}

body.dark-mode .comentario-card small.text-muted,
body.dark-mode .border.rounded.p-2.mb-2 small.text-muted {
    color: #999999 !important; /* Dimm text for date/time */
}

body.dark-mode .comentario-card .comentario-estrellas,
body.dark-mode .border.rounded.p-2.mb-2 div[style*="color:orange"] { /* Target stars with orange color */
    color: #FFC107 !important; /* Brighter orange/gold for stars */
}

body.dark-mode .comentario-card p.comentario-texto,
body.dark-mode .border.rounded.p-2.mb-2 p.mb-1 { /* Target the actual comment text */
    color: #cccccc !important; /* Readable text for the comment */
}

/* --- Gastronomía Section in Dark Mode --- */
body.dark-mode #gastronomia {
    background-color: #212121 !important; /* Dark background for the section */
    color: #e0e0e0 !important; /* Light text for readability */
}

body.dark-mode #gastronomia h3 {
    color: #76FF03 !important; /* Your primary green for headings */
    /* Add a subtle text-shadow for better pop if desired */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

body.dark-mode #gastronomia p {
    color: #cccccc !important; /* Readable text color for paragraphs */
}

/* Dropdown Button in Dark Mode */
body.dark-mode #gastronomia .btn-primary {
    background-color: #4CAF50 !important; /* Your primary green button color */
    border-color: #4CAF50 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important; /* Subtle shadow */
}

body.dark-mode #gastronomia .btn-primary:hover,
body.dark-mode #gastronomia .btn-primary:focus {
    background-color: #388E3C !important; /* Darker green on hover/focus */
    border-color: #388E3C !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5) !important; /* Deeper shadow on hover */
}

/* Dropdown Menu in Dark Mode */
body.dark-mode .dropdown-menu {
    background-color: #2a2a2a !important; /* Darker background for the dropdown */
    border: 1px solid #4a4a4a !important; /* Darker border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .dropdown-menu .dropdown-item {
    color: #e0e0e0 !important; /* Light text for dropdown items */
}

body.dark-mode .dropdown-menu .dropdown-item:hover,
body.dark-mode .dropdown-menu .dropdown-item:focus {
    background-color: #333333 !important; /* Darker hover background for items */
    color: #76FF03 !important; /* Green text on hover/focus */
}

/* --- Footer Custom (Antigua Guatemala) in Dark Mode --- */
body.dark-mode .footer-custom {
    background-color: #1a1a1a !important; /* Dark background, similar to main body */
    color: #e0e0e0 !important; /* Light text for readability */
    border-top: 1px solid #333333 !important; /* Subtle dark border */
}

body.dark-mode .footer-custom h2 {
    color: #f0f0f0 !important; /* Bright white for "Antigua Guatemala" */
}

body.dark-mode .footer-custom h2 .text-primary {
    color: #76FF03 !important; /* Your accent green for "Guatemala" */
}

body.dark-mode .footer-custom p {
    color: #cccccc !important; /* General paragraph text color */
}

body.dark-mode .footer-custom h5 {
    color: #f0f0f0 !important; /* Bright white for headings like "Qué Hacer?" and "Contacto" */
}

body.dark-mode .footer-custom .list-unstyled a {
    color: #e0e0e0 !important; /* Light gray for list links */
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode .footer-custom .list-unstyled a:hover,
body.dark-mode .footer-custom .list-unstyled a:focus {
    color: #4CAF50 !important; /* Accent green on hover/focus */
    text-decoration: underline;
}

body.dark-mode .footer-custom .mb-1 a { /* For email and phone links */
    color: #e0e0e0 !important; /* Light gray for contact links */
    text-decoration: none;
}

body.dark-mode .footer-custom .mb-1 a:hover,
body.dark-mode .footer-custom .mb-1 a:focus {
    color: #4CAF50 !important; /* Accent green on hover/focus */
    text-decoration: underline;
}

body.dark-mode .footer-custom .border-secondary {
    border-color: #444444 !important; /* Darker hr line */
}

body.dark-mode .footer-custom .text-center.pb-3 p {
    color: #bbbbbb !important; /* Slightly dimmer for copyright/developer text */
}

body.dark-mode .footer-custom strong {
    color: #e0e0e0 !important; /* Ensure strong text is also light */
}


/* --- Trip Modal in Dark Mode --- */
body.dark-mode #tripModal .modal-content {
    background-color: #282828 !important; /* Dark background for modal content */
    border: 1px solid #4a4a4a !important; /* Darker border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important; /* Deeper shadow */
}

body.dark-mode #tripModal .modal-header {
    background-color: #333333 !important; /* Darker header for distinction */
    border-bottom: 1px solid #4a4a4a !important;
}

body.dark-mode #tripModal .modal-header h4.modal-title {
    color: #76FF03 !important; /* Accent green for modal title */
}

body.dark-mode #tripModal .modal-header .btn-close-white {
    filter: invert(1); /* Keep close button visible and white */
    opacity: 0.8;
}

body.dark-mode #tripModal .modal-header .btn-close-white:hover {
    opacity: 1;
}

body.dark-mode #tripModal .modal-body {
    background-color: #282828 !important; /* Ensure modal body background matches content */
}

body.dark-mode #tripModal .modal-body p.text-muted {
    color: #bbbbbb !important; /* Light gray for muted text */
}

body.dark-mode #tripModal .list-group-item { /* Assuming trip-cart-items will contain list-group-items */
    background-color: #333333 !important; /* Darker background for list items in cart */
    border-color: #4a4a4a !important;
    color: #e0e0e0 !important; /* Light text for list items */
}

body.dark-mode #tripModal .modal-footer {
    background-color: #333333 !important; /* Darker footer for distinction */
    border-top: 1px solid #4a4a4a !important;
}

body.dark-mode footer.footer-custom .btn-outline-primary {
  color: #4caf50;          /* Verde medio */
  border-color: #4caf50;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode footer.footer-custom .btn-outline-primary:hover,
body.dark-mode footer.footer-custom .btn-outline-primary:focus {
  background-color: #4caf50; /* Verde sólido */
  color: #fff;               /* Texto blanco */
  border-color: #4caf50;
  text-decoration: none;
}


/* Modal Footer Buttons */
body.dark-mode #tripModal .modal-footer .btn-success {
    background-color: #4CAF50 !important; /* Green for success button */
    border-color: #4CAF50 !important;
    color: #ffffff !important;
}

body.dark-mode #tripModal .modal-footer .btn-success:hover:not(:disabled) {
    background-color: #388E3C !important;
    border-color: #388E3C !important;
}

body.dark-mode #tripModal .modal-footer .btn-danger {
    background-color: #D32F2F !important; /* Red for danger button */
    border-color: #D32F2F !important;
    color: #ffffff !important;
}

body.dark-mode #tripModal .modal-footer .btn-danger:hover:not(:disabled) {
    background-color: #C62828 !important;
    border-color: #C62828 !important;
}

body.dark-mode #tripModal .modal-footer .btn:disabled {
    background-color: #555555 !important;
    border-color: #666666 !important;
    color: #aaaaaa !important;
    opacity: 0.6; /* Dim disabled buttons */
}

