/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #3e5f4e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.4rem;
}

/* Menú */
.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  font-weight: bold;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.menu li a:hover,
.menu li a:focus {
  color: #cddc39;
}

/* Icono hamburguesa */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Checkbox oculto */
#menu-toggle {
  display: none;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 55px;
    right: 0;
    background-color: #3e5f4e;
    height: 100vh;
    width: 220px;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 2rem;
    gap: 0;
  }

  .menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .menu li a {
    padding: 1rem;
    font-size: 1.1rem;
  }

  /* Mostrar menú cuando checkbox está activo */
  #menu-toggle:checked + .menu-icon + .menu {
    transform: translateX(0);
  }

  .menu-icon {
    display: block;
    color: white;
  }
}

/* Contenedor principal */
.container {
  margin-top: 70px; /* espacio para navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Logo centrado */
.logo-centro {
  text-align: center;
}

.logo-centro img {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Carrusel */
.carousel {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #000;
  max-width: 1200px;
}

.carousel-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.carousel-track img.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Botones del carrusel */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  transition: background-color 0.3s;
  z-index: 10;
}

.carousel-button:hover {
  background-color: rgba(0,0,0,0.7);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

/* Texto Descriptivo - estilo rural y acogedor */
.descripcion-carrusel {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  text-align: justify;
  color: #4a4a4a;
  background-color: #fffefc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .menu li a {
    font-size: 14px;
  }

  .logo-centro img {
    max-width: 120px;
  }

  .descripcion-carrusel {
    font-size: 16px;
    padding: 20px;
  }
}

/* Footer */
footer {
  background-color: #3e5f4e;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}
/* Estilos para las opiniones de huéspedes */
.manual-reviews {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.manual-review {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  background-color: #f5f5f5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-author {
  font-weight: 600;
  color: #2c5234;
  margin-bottom: 0.4rem;
}

.review-text {
  font-style: italic;
  color: #444;
  line-height: 1.4;
}
form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input[type="text"],
form input[type="date"],
form input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #3e5f4e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background-color: #2d4536;
}


