/* === RESET & BASE === */
body, html {
  margin: 0;
  padding: 0;
  background-color: #576948;
  color: #ffffff;
}

/* === HEADER: Imagen de fondo principal === */
.imagen {
  position: relative;
  width: 100%;
  height: 110vh;
  background: url('../public/cabaña-exterior.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Capa oscura sobre la imagen */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
}

/* === BARRA SUPERIOR (Logo + Menú) === */
.barra-superior {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Marcellus', serif;
  display: flex;
  align-items: center;
  color: white;
  gap: 10px;
  font-size: 18px;
}

/* === MENÚ DE NAVEGACIÓN === */
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  padding: 12px 20px;
  color: #ffffff;
  border: 1px solid white;
  border-radius: 12px;
  font-size: 15px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.menu a:hover {
  transform: scale(1.1);
  background-color: white;
  color: #a30000;
  border-color: #000000;
}

/* Botón hamburguesa (solo visible en móviles) */
.hamburguesa {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 3;
}

/* === TEXTO CENTRAL ENCIMA DE LA IMAGEN === */
.header {
  position: absolute;
  top: 50%;         
  left: 50%;    
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center; 
}

.header h1 {
  font-family: "Cinzel";
  font-size: 85px;
  margin: 0;
  font-weight: normal;
  color: #d9bf79;
}

.header h2 {
  font-family: 'Marcellus', serif;
  font-size: 30px;
  margin: 0;
  font-weight: normal;
  color: #d9bf79;
}

/* === SECCIÓN PRINCIPAL (Texto + Video o Imagen) === */
.principal {
  display: flex;
  flex-wrap: wrap;
  padding: 60px;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.text-box {
  max-width: 400px;
}

.text-box h3 {
  font-size: 14px;
  letter-spacing: 3px;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 10px;
}

.text-box h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 20px;

}

.text-box p {
  font-size: 17px;
  line-height: 1.6;
}

/* Botón general reutilizable */
.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #ffffff;
  color: #1e1e1e;
}

/* === VIDEOS E IMÁGENES === */
.video-box {
  position: relative;
  width: 220px;
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.video-box video {
  width: 100%;
  display: block;
}

.fireplace {
  max-width: 350px;
  border-radius: 10px;
}

/* === CARRUSEL DE IMÁGENES === */
.carousel-container {
  position: relative;
  width: 490px;
  height: 400px;
  margin: 40px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0,0,0,0.4);
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* === UBICACIÓN: Mapa + Texto === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.ubi-carousel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 320px;  
  margin: 40px auto;
  max-width: 1200px;
  flex-wrap: nowrap;
}

.map-container {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 50px;
  overflow: hidden;
}

.ubi {
  max-width: 580px;
  text-align: left;
}

.ubi h3 {
  font-size: 14px;
  letter-spacing: 3px;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 10px;
}

.ubi h2 {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.ubi p {
  font-family: 'Roboto', sans-serif;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ubi a {
  border: 1px solid #fff;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
/* === TARIFAS DE LA CABAÑA  */
.tarifa {
  max-width: 1000px;
  gap: 40px;
}

.tarifa h3 {
  font-size: 14px;
  letter-spacing: 3px;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 10px;
}

.tarifa h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 20px;
  color: #ffffff;
}

.tarifa p {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #dddddd;
}
/* TERMINOS Y CONDICIONES */
.terminosycondiciones {
  max-width: 1200px;
  text-align: right;
}

.terminosycondiciones h3 {
  font-size: 14px;
  letter-spacing: 3px;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 10px;
}

.terminosycondiciones h2 {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.terminosycondiciones p {
  font-family: 'Roboto', sans-serif;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.terminosycondiciones a {
  border: 1px solid #fff;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
/* slider de actividades en sma  */
.turismo-sma {
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.turismo-sma a {
  border: 1px solid #fff;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.titulo-seccion {
  font-size: 32px;
  margin-bottom: 20px;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-auto {
  padding: 30px;
  display: flex;
  width: fit-content;
  animation: deslizar 30s linear infinite;
}

.slide {
  flex: 0 0 300px;
  margin-right: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.slide h3 {
  margin: 5px 0;
  font-size: 20px;
}

.slide p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #ccc;
}
.slide a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #d9bf79;
  color: #1e1e1e;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
/* Animación automática de scroll horizontal */
@keyframes deslizar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-20%); }
}

/* comentarios */
.comentarios-slider {
  padding: 20px 20px;
  overflow: hidden;
}

.comentarios-slider h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #fefefe;
  font-family: 'Segoe UI', sans-serif;
}

/* Layout en columna, no más scroll horizontal */
.slider-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  animation: none; /* elimina animación automática */
}

.comentario-card {
  background: rgba(255, 255, 255, 0.868); /* semi-transparente */
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  transition: transform 0.3s ease;
  backdrop-filter: blur(3px); /* efecto vidrio */
  width: 100%;
  max-width: 1200px;
/* centra las tarjetas */
}

.comentario-card span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #388e3c;
  font-style: normal;
}
/* === ANIMACIONES === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
.footer-simple {
  width: 100%;
  color: #e0e0e0;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container p {
  margin: 8px 0;
  font-size: 15px;
}

.footer-container a {
  color: #b0c4d6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-container a:hover {
  color: #4cdbd3;
}

.footer-icons {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.footer-icons .icon-link img {
  width: 30px;
  height: 30px;
  filter: grayscale(100%); /* Los deja en escala de grises */
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.footer-icons .icon-link:hover img {
  filter: none; /* Color original al pasar el mouse */
  transform: scale(1.1);
}

/* === MEDIA QUERY (para móviles) === */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction:row;
    gap: 15px;
    justify-content: center;
    width: 100%;
    
  }
  .menu.show {
    display: flex;
  }
  .menu a {
    padding: 10px;
    border-radius: 8px;
    display: block;
    text-align: center;
  }
  .hamburguesa {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
  }

  /* Carrusel */
  .carousel-container {
    width: 95%;
    height: 280px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
  }

  .carousel-slide img {
    border-radius: 15px;
  }

  .arrow {
    font-size: 28px;
    padding: 6px 10px;
    background-color: rgba(0,0,0,0.35);
  }

  /* Video adaptado */
  .video-box {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    margin: 20px;
  }

  .video-box video {
    border-radius: 5px;
  }

  .container {
    padding: 0 20px;
  }

  .ubi-carousel-wrapper {
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
    align-items: center;
  }

  .map-container {
    width: 350px;
    height: 350px;
    border-radius: 20px;
  }

  .ubi {
    max-width: 80%;
    text-align: center;
  }

  .ubi h2,
  .ubi h3,
  .ubi p,
  .ubi a {
    text-align: center;
  }

  .tarifa {
    max-width: 90%;
    padding: 0 20px;
    text-align: center;
  }

  .tarifa h1 {
    font-size: 28px;
  }

  .tarifa p {
    font-size: 16px;
  }
  .terminosycondiciones {
    max-width: 90%;
    text-align: center;
    padding: 15px;
  }
  
  .terminosycondiciones h3 {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .terminosycondiciones h1 {
    font-size: 22px;
  }
  
  .terminosycondiciones p {
    font-size: 16px;
  }
  
  .terminosycondiciones a {
    padding: 12px 25px;
    font-size: 16px;
  }
   /* SECCIÓN TURISMO */
  .slide {
    flex: 0 0 240px;
  }

  .slider-track {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* COMENTARIOS */
  .comentario-card {
    width: 90%;
    max-width: 320px;
  }

  .redes-simple a {
    display: block;
    margin: 8px 0;
  }
}