@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
  --verde: #6D6D52;
  --crema: #e1e0d6;
  --blanco: #ffffff;
  --oscuro: #2c2c24;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

body {
  background-color: var(--verde);
  overflow-x: hidden;
}

/* =========================================
   HEADER UNIFICADO ESTILO LIMPIO
   ========================================= */
.header {
  background-image: url("img/madera_grande.jpg");
  background-size: cover;
  background-position: center;
  height: 90px; /* Altura unificada */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo img {
  height: 180px;
  /* Tamaño más uniforme */
  width: auto;
  transition: transform 0.3s;
}

.header .logo img:hover {
  transform: scale(1.05);
}

.header .nav-links {
  list-style: none;
}

.header .nav-links li {
  display: inline-block;
  padding: 0 20px;
}

.header .nav-links a {
  font-weight: 700;
  color: black;
  text-decoration: none;
  font-size: 20px;
}

.header .nav-links li a:hover {
  color: var(--verde);
  transform: scale(1.05);
  transition: 0.3s;
}

/* Hamburguesa móvil */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: black;
}

/* Split Hero (PC) */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background-color: var(--verde);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text {
  padding: 10%;
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight {
  font-style: italic;
  color: var(--crema);
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.split-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.split-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Categorías Boutique */
.categorias-container {
  padding: 5rem 10%;
  background-color: var(--crema);
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--oscuro);
  margin-bottom: 3rem;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.cat-card {
  background: var(--blanco);
  padding: 15px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--oscuro);
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cat-card .img-box {
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card p {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Carrusel y Horarios */
.carrusel-section {
  padding: 4rem 10%;
}

.item {
  background: var(--blanco);
  color: var(--oscuro);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
}

.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 10%;
  background: var(--blanco);
  align-items: center;
}

.info-card h2 {
  font-size: 2.5rem;
  color: var(--verde);
  margin-bottom: 1.5rem;
}

.horarios-info p {
  margin-bottom: 1rem;
  color: #444;
}

/* Footer */
.contacto-section {
  background-image: url("img/madera_grande.jpg");
  background-size: cover;
  padding: 60px 20px;
  text-align: center;
}

.contacto-icons a {
  font-size: 2.5rem;
  color: black;
  margin: 0 15px;
  transition: 0.3s;
}

.contacto-icons a:hover {
  color: var(--verde);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .split-hero {
    grid-template-columns: 1fr;
  }

  .split-text h1 {
    font-size: 2.5rem;
  }

  .horarios-grid {
    grid-template-columns: 1fr;
  }

  .header .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    width: 250px;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
  }

  .header .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
  }
}

.reseñas {

  background-color: #e1e0d6;

  border-radius: 15px;

  padding: 1rem;

  margin: 1rem;



}

.carrusel {

  position: relative;

  width: 90%;

  margin: auto;

  overflow: hidden;

}



.contenedor-carrusel {

  display: flex;

  transition: transform 0.4s ease;

}



.item {

  min-width: 100%;

  box-sizing: border-box;

  padding: 20px;

  background: #f8f8f8;

  border-radius: 10px;

  margin: 0px;





}

.flecha {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 45px;
  /* mismo ancho */

  height: 45px;
  /* mismo alto -> círculo perfecto */

  background: rgba(0, 0, 0, 0.7);

  color: white;

  border: none;

  cursor: pointer;

  font-size: 24px;



  display: flex;
  /* centra la flecha */

  justify-content: center;

  align-items: center;



  border-radius: 50%;
  /* círculo perfecto */

  z-index: 10;
  /* que pase encima del texto */

}



.flecha.izquierda {

  left: 10px;

}



.flecha.derecha {

  right: 10px;

}



.flecha:hover {

  background: rgba(0, 0, 0, 0.8);

}



.reseña_estrellas {

  color: #f4c430;
  /* amarillo tipo estrella */

  font-size: 22px;

  margin: 5px 0 10px 0;

  letter-spacing: 2px;
  /* espacio entre estrellas */

}
/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 85px; right: 0; width: 250px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    height: 40rem;
    gap: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active { display: flex; }
  
  .nav-links a { color: black; font-size: 1.2rem; display: block; }

  .hamburger { display: block; font-size: 1.8rem; cursor: pointer; color: black; }

  .split-section { grid-template-columns: 1fr; }
  .hero-forest h1 { font-size: 2.2rem; }

  .carrusel {
    width: 90% !important; /* Fuerza el ancho al 90% en móviles */
    margin: 0 auto;        /* Lo mantiene centrado */
  }

  .item {
    padding: 15px;         /* Reduce un poco el padding interno para ganar espacio */
  }
  
  .flecha {
    width: 35px;           /* Opcional: reduce un poco las flechas en móvil */
    height: 35px;
    font-size: 18px;
  }
}