@charset "UTF-8";
/*
Archivo para guardar solo variables.

Ejemplo:
$COLOR-PRIMARIO: #0d6efd;
$COLOR-FONDO: #0a0e17;
$ANCHO-CONTENEDOR: 1200px;
*/
/*
Archivo para guardar mixins reutilizables.

Ejemplo:
@mixin contenedor {
  width: min(100% - 2rem, $ANCHO-CONTENEDOR);
  margin-inline: auto;
}

Uso:
.main {
  @include contenedor;
}
*/
/*
Archivo para estilos reutilizables de componentes.

Ejemplo:
.btn {
  padding: 0.75rem 1rem;
  background: $COLOR-PRIMARIO;
  color: $COLOR-TEXTO;
}

.tarjeta {
  padding: 1rem;
  background: $COLOR-SUPERFICIE;
}
*/
/* =====================
INICIO HEADER/ CABECERA
======================== */
/* Resetear estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Para que el padding y el border se incluyan en el ancho y alto del elemento */
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #6c757d;
  color: #FFFFFF;
}

a {
  text-decoration: none;
}

/* [CABECERA] Inicia Cabecera fija (Fixed Header) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Asegura que el header esté por encima de otros elementos */
  /* [CABECERA]Inicia transparente*/
  background-color: transparent;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* [CABECERA] CLASE QUE JAVASCRIPT USARA PARA HACER SCROLL*/
}
.header.scrolled {
  background-color: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  /* Efecto de desenfoque para el fondo */
}

/* [CABECERA] Logo de la cabecera */
.logo {
  font-size: 24px;
  font-weight: normal;
  color: #FFFFFF;
}
.logo strong {
  font-weight: 800;
}

/* [CABECERA] menu */
.menu {
  display: flex;
  list-style: none;
  gap: 40px;
  cursor: pointer;
  /* Cambia el cursor al pasar sobre los elementos del menú */
}
.menu a {
  color: #a0aabf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  /* Espaciado entre letras para mejorar la legibilidad */
}
.menu a:hover {
  color: #FFFFFF;
  /* Cambia el color al pasar el cursor sobre el enlace */
}

.btn {
  background-color: #0d6efd;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}
.btn:hover {
  background-color: #0b5ed7;
  /* Oscurece el color al pasar el cursor */
}

/* =====================
FIN HEADER/ CABECERA
======================== */
/* =====================
INICIO FOOTER/ PIE DE PAGINA
======================== */
.footer {
  background-color: rgba(0, 0, 0, 0);
  color: #FFFFFF;
  padding: 80px 20px;
  margin-top: 100px;
  text-align: center;
}
.footer .footer-logo {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.footer .footer-logo strong {
  font-weight: 800;
}
.footer .footer-logo p {
  color: #6c757d;
  margin-bottom: 10px;
  font-size: 14px;
}

/* =====================
FIN FOOTER/ PIE DE PAGINA
======================== */
/* ===============================
   LA ETIQUETA PEQUEÑA DESCUBRE EL PERU (BADGE)
   =============================== */
.badge {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/* ===============================
   FIN DE LA ETIQUETA PEQUEÑA DESCUBRE EL PERU (BADGE)
   =============================== */
/* ===============================
   HERO SECTION (La Portada Completa)
   =============================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* -------------------------------------
     CAPA 1: EL SLIDER (Contenedor de imágenes)
     ------------------------------------- */
}
.hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero {
  /* Las imágenes individuales */
}
.hero .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero {
  /* La imagen principal (activa) se vuelve visible */
}
.hero .hero-slide.active {
  opacity: 1;
}
.hero {
  /* -------------------------------------
     CAPA 2: EL FILTRO OSCURO
     ------------------------------------- */
}
.hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 3;
}
.hero {
  /* -------------------------------------
     CAPA 3: LOS TEXTOS Y BOTONES
     ------------------------------------- */
}
.hero .hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero .hero-content h1 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  margin: 20px 0;
}
.hero .hero-content p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
}
.hero .hero-content {
  /* -------------------------------------
   CAPA 3: FIN DE LOS TEXTOS Y BOTONES
   ------------------------------------- */
}

/* ===============================
   FIN DEL HERO SECTION (La Portada Completa)
   =============================== */
/* ===============================
   SECCIÓN: INTRODUCCIÓN
   =============================== */
.intro {
  padding: 100px 15%;
  text-align: center;
  background-color: #ffffff;
}
.intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.intro h2 em {
  color: #0d6efd;
  font-style: italic;
}
.intro p {
  font-size: 18px;
  color: #555555;
  line-height: 1.6;
}

/* ===============================
 SECCIÓN: DESTINOS (GRID)
 =============================== */
.destinations {
  padding: 50px 10%;
  background-color: #f8f9fa;
}
.destinations .destinations-header {
  text-align: center;
  margin-bottom: 50px;
}
.destinations .destinations-header h2 {
  font-size: 32px;
  color: #1a1a1a;
}

/* LA MAGIA DE CSS GRID */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===============================
   COMPONENTE: TARJETA (CARD)
   =============================== */
.card {
  position: relative;
  display: block;
  height: 450px;
  border-radius: 5px;
  overflow: hidden;
}
.card .card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.card .card-overlay {
  position: absolute;
  bottom: 0;
}

/*
Este archivo solo conecta los parciales Sass.

Ejemplo de uso aquí:

body {
  margin: 0;
  background-color: $COLOR-FONDO;
  color: $COLOR-TEXTO;
}

main {
  @include contenedor;
}

Para que no te confundas al empezar a guardar estilos, usa esta regla simple:

Si el estilo afecta a toda la página, va en estilos.scss:1.

Si el estilo se repite en varias partes, conviértelo en mixin en _mixins.scss:1.

Si es un bloque visual reutilizable, como header, footer, botón o tarjeta, va en _componentes.scss:1.

Si es un valor fijo que usarás muchas veces, como colores o anchos, va en _variables.scss:1.
*/

/*# sourceMappingURL=estilos.css.map */
