:root {
  /* Colores principales del logo */
  --color-primary: #04449b;   /* Azul oscuro principal */
  --color-secondary: #077d9b; /* Azul medio */
  --color-accent: #fb8d0d;    /* Naranja vibrante */
  
  /* Tonos complementarios y neutros */
  --color-light: #d1ddd9;     /* Gris muy claro */
  --color-dark: #043434;      /* Verde-azulado oscuro */
  --color-sky: #0dcdfc;       /* Celeste brillante */
  --color-blue-soft: #5e9fb5; /* Azul suave */
  --color-blue-pale: #7ab2cc; /* Azul pálido */

  /* Otros posibles */
  --text-color: var(--color-dark);
  --background-color: var(--color-light);
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* HEADER */
header {
  display: flex;
  align-items: center; /* 🔹 Alinea verticalmente el logo y el texto */
  background-color: var(--color-primary);
  color: #fff;
  padding: 1rem;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center; /* 🔹 Alinea el logo y el texto en la misma línea */
  gap: 0.5rem; /* Espacio entre la imagen y el texto */
  font-size: 1.2rem;
  margin-left: 1rem;
  cursor: pointer;

}

.logo img {
  display: block; /* Evita espacios indeseados debajo del logo */
  height: 40px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
}
/* BOTÓN MENU */
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition-speed);
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background-color: var(--color-secondary);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform var(--transition-speed);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 🔹 Evita que algo se salga del nav */
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-primary);
  padding: 1rem;
  color: #fff;
  border-bottom: 1px solid black;
}
.sidebar-logo  {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  flex-flow: row;
  align-items: center;
}
.sidebar-logo  h2{
 font-size: 1rem;
}
.sidebar-logo img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Ajuste del botón X */
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform var(--transition-speed);
}

.close-btn:hover {
  transform: scale(1.1);
}



/* LISTA DEL MENÚ */
.sidebar ul {
  list-style: none;
  padding: 1rem;
  flex-grow: 1;
}

.sidebar ul li {
  margin: 1rem 0;
}

.sidebar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  transition: background var(--transition-speed);
}

.sidebar ul li a:hover {
  background-color: var(--color-accent);
}


/* ---- HERO CON VIDEO ---- */
.hero-video {
  position: relative;
  overflow: hidden;
  height: 85vh; /* igual que tu hero actual */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.65; /* TRANSPARENCIA SUAVE */
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

/* Texto del hero adaptado al video */
.hero-overlay h2,
.hero-overlay p {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(0,0,0,0.4);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-video {
    height: 65vh;
  }

  .hero-bg-video {
    opacity: 0.75;
  }

  .hero-overlay h2 {
    font-size: 1.8rem;
  }
}
/* HERO SECTION */
/* .hero {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(
      rgba(4, 52, 52, 0.6),
      rgba(4, 68, 155, 0.6)
    ),
    url("https://frontenacarchbiosphere.ca/wp-content/uploads/2023/02/full-shot-travel-concept-with-landmarks-scaled.jpg") center/cover;
  color: #fff;
} */

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-hero {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background var(--transition-speed);
}

.btn-hero:hover {
  background-color: var(--color-primary);
}

/* ======== SECCIÓN VIAJES ======== */
.viajes {
  margin: 0rem 0rem 2rem 0rem;

  /* padding: 2rem 0rem; */
  text-align: center;
  background-color: var(--color-light);
}

.viajes h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  margin: 1.5rem 0rem 1rem 0rem;

}

/* Contenedor del carrusel */
.carrusel-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Carrusel horizontal */
.carrusel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.carrusel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Botones izquierda/derecha */
.carrusel-btn {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background var(--transition-speed);
  z-index: 10;
}

.carrusel-btn:hover {
  background-color: var(--color-accent);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* ======== TARJETAS MODERNAS VIAJES ======== */
.carrusel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carrusel::-webkit-scrollbar {
  display: none;
}

.card {
  position: relative;
  flex: 0 0 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Overlay para info */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 1rem;
  transition: background 0.3s ease;
}

.card-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.card-overlay .btn {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-speed);
}

.card-overlay .btn:hover {
  background-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    flex: 0 0 220px;
  }
}

/* --- ESTILOS DEL CARRUSEL --- */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.carousel-container {
  position: relative;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide.active {
  left: 0;
}

.carousel-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 15px 20px;
  border-radius: 10px;
  z-index: 10;
}

.carousel-caption h2 {
  margin: 0 0 5px;
  font-size: 24px;
}

.carousel-caption p {
  margin: 0;
  font-size: 16px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 20;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Contenedor principal */
.promo-ticker {
  background: var(--color-primary); /* Azul corporativo */
  color: var(--color-light);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  position: relative;
  z-index: 5;
}

/* Área del ticker */
.ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Elementos que se mueven */
.ticker {
  display: flex;
  animation: tickerMove 25s linear infinite;
}

.ticker-item {
  flex: none;
  padding: 0 30px; /* Espaciado entre items */
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-left: 2px solid black;
}

/* Animación: se mueve de derecha a izquierda */
/* Animación continua */
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll {

}
/* Responsivo */
@media (max-width: 768px) {
  .ticker-item {
    font-size: 0.9rem;
    padding: 0 30px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .sidebar {
    width: 220px;
  }
}


/* ===== FOOTER ===== */
.footer-bar {
    background: var(--color-primary);
    color: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-bar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bar li {
    display: flex;
    align-items: center;
}

.footer-bar img {
    width: 35px;
}

/* Smartphones */
@media (max-width: 600px) {
   
    .carousel-container {
        height: 300px;
    }

    .carousel-caption h2 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .grid-viajes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card img {
        height: 180px;
    }

    .card-info h3 {
        font-size: 1.1rem;
    }

    .card-info p {
        font-size: 0.85rem;
    }

    .card-info .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .footer-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bar ul {
        justify-content: center;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 900px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .grid-viajes {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }

    .card img {
        height: 180px;
    }

    .card-info h3 {
        font-size: 1.2rem;
    }

    .card-info p {
        font-size: 0.9rem;
    }

    .card-info .btn {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}

/* Ajustes generales para pantallas grandes */
@media (min-width: 1200px) {

    .carousel-container {
        height: 550px;
    }

    .carousel-caption h2 {
        font-size: 28px;
    }

    .carousel-caption p {
        font-size: 16px;
    }

    .grid-viajes {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .card img {
        height: 220px;
    }

    .card-info h3 {
        font-size: 1.4rem;
    }

    .card-info p {
        font-size: 1rem;
    }

    .card-info .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
/* ======== SECCIÓN TESTIMONIOS ======== */
.testimonios {
  padding: 2rem 1rem;
  text-align: center;
}

.testimonios h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

/* Contenedor del carrusel */
.testimonios-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Carrusel horizontal */
.testimonios-carrusel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.testimonios-carrusel::-webkit-scrollbar {
  display: none;
}

/* Botones izquierda/derecha */
.testimonios-btn {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background var(--transition-speed);
  z-index: 10;
}

.testimonios-btn:hover {
  background-color: var(--color-accent);
}

.testimonios-btn.prev {
  left: 10px;
}

.testimonios-btn.next {
  right: 10px;
}

/* Tarjetas de testimonio */
.testimonial-card {
  flex: 0 0 280px;
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-card h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--color-accent);
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 220px;
  }

  .testimonios h2 {
    font-size: 1.6rem;
  }
}