* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;/*Para que vaya suave el scroll a la posición del menú*/
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #A8C3A0;
  color: #4A4A4A;
  line-height: 1.6;
}

#reseñas {
  background: linear-gradient(to bottom, #ffffff 0%, #f4f8f2 30%, #e2eddb 60%, #A8C3A0 100%);
  padding: 4rem 1rem;
  text-align: center;
}

#reseñas h2 {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  /*color: #4A4A4A; /* gris oscuro elegante */
  margin: 2.5rem 0 1.5rem 0; /* arriba y abajo espacioso */
  line-height: 1.3;
  font-size: 2rem;
  color: #2e472c;
  margin-bottom: 2rem;
}

#reseñas img {
  display: none; /* Ocultar el logo EmbedSocial */
}

/* NAV FIJO Y TRANSLÚCIDO */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(245, 245, 245, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil en la parte inferior */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* un poco menos que antes para que quede más compacto */
  text-decoration: none; /* quita subrayado por defecto */
  color: inherit; /* que tome el color del texto original */
  cursor: pointer; /* para que cambie a puntero */
}

/* Logo imagen */
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Texto del logo */
.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #4A4A4A;
  white-space: nowrap; /* para que no se divida */
}

/* Efecto hover para todo el enlace */
.logo-link:hover .logo-text,
.logo-link:focus .logo-text {
  color: #3E4D1F; /* color que destaque al pasar el cursor */
}

/* Menú hamburguesa */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.menu li a {
  text-decoration: none;
  color: #4A4A4A;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #6B8E23;
}

.menu li a.active {
  color: #6B8E23;
  border-bottom: 2px solid #6B8E23;
}


/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Pantalla completa */
  overflow: hidden; /* Evita que las imágenes sobresalgan */
}

.slider-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-image 1s ease-in-out, background-position 1s ease-in-out;
  z-index: 1;
  top: 0; /* Elimina cualquier espacio superior */
  left: 0; /* Elimina cualquier espacio izquierdo */
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.7),
     1px -1px 2px rgba(0, 0, 0, 0.7),
    -1px  1px 2px rgba(0, 0, 0, 0.7),
     1px  1px 2px rgba(0, 0, 0, 0.7);
}
/*Esto es para la animación ligera de aparición*/
@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  .slider-text h2 {
    font-size: 2.2rem;
    opacity: 0;/*Esto es para la animación ligera de aparición PRIMERO esto*/
  	transform: translateY(-10px);
  	animation: fadeInText 1s ease-out forwards;
  	animation-delay: 0.6s;
  }
  .slider-text p {
    font-size: 1.2rem;
    opacity: 0;/*Esto es para la animación ligera de aparición SEGUNDO esto*/
  	transform: translateY(-10px);
  	animation: fadeInText 1s ease-out forwards;
  	animation-delay: 1.2s;
}

/* Para TELÉFONOS la cabecera de 3 imágenes "Parallax"*/
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh; /* Altura razonable */
    padding: 0;   /* Aseguramos sin padding */
    margin: 0;    /* Aseguramos sin margen */
  }

  .slider-image {
    background-attachment: scroll; /* Sin parallax en móvil */
    background-size: cover;
    background-position: center center !important; /* Forzamos centrado vertical */
    top: 0;
    left: 0;
  }

  /* Opcional: asegúrate que no haya espacios que empujen hacia abajo */
  .slider-image:nth-child(1) {
    background-position: center center !important;
  }

  .slider-text h2 {
    font-size: 1.6rem;
  }

  .slider-text p {
    font-size: 1rem;
  }
}




#galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0;
  margin: 0;
}

/* Estilo de las imágenes en la galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: white;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;/*Borde redondeado de cada foto*/
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.08); /* Aumento de la imagen al pasar el ratón */
}

/*Sección del CALENDARIO*/
.contenedorCalendario{ 
  padding: 2rem 0; /* solo padding vertical */
  text-align: center;
  background-color: white;
  width: 100%;
  height: auto;
  
}


/* El apartado de SERVICIOS*/

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.servicio {
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: translateY(-5px);
}

.servicio .icono {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: #6b8e23;
}

.servicio h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #334422;
}

.servicio p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.icono-espaciado {
  display: block;
  margin-bottom: 0.3em; /* o cualquier valor */
}



/*Contenedor del google Maps*/
.iframe-container {
  width: 100%; /* 60% del viewport width */
  height: 40vw;
  margin: 0 auto;
}
.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*Responsive para el gmaps más alto*/
@media (max-width: 880px) {
  .iframe-container {
    height: 70vh; /* Un poco más baja en móvil si lo prefieres */
  }
}


/* Estilo base para ambos iconos tipo app */
.wh-fixed,
.ig-fixed {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 22% / 30%; /* estilo "squircle" */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.airbnb-fixed {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 22% / 30%; /* squircle, igual que los otros */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10px;
  bottom: 120px; /* colocado por encima de WhatsApp (65px) e Instagram (10px) */
  transition: transform 0.3s ease;
}

/* Específicos de ubicación */
.wh-fixed {
  bottom: 65px;
  right: 10px;
}

.ig-fixed {
  bottom: 10px;
  right: 10px;
}

/* Imágenes internas */
.wh-fixed img {
  width: 116%;
  height: 116%;
  object-fit: contain;
}
.airbnb-fixed img{
  width: 102%;
  height: 102%;
  object-fit: contain;
}
.ig-fixed img {
  width: 104%;
  height: 104%;
  object-fit: contain;
}

/* Efecto al pasar el cursor */
.wh-fixed:hover,
.airbnb-fixed:hover,
.ig-fixed:hover {
  transform: scale(1.08);
}

/* 🔁 Responsive para pantallas pequeñas */
@media (max-width: 600px) {
  .wh-fixed,
  .airbnb-fixed,
  .ig-fixed {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }

  /* posiciones en columna */
  .airbnb-fixed { bottom: 118px; right: 6px; }
  .wh-fixed    { bottom:  64px; right: 6px; }
  .ig-fixed    { bottom:  10px; right: 6px; }

  /* mismo tamaño visual para las 3 imágenes en móvil */
  .wh-fixed img,
  .airbnb-fixed img,
  .ig-fixed img {
    width: 118%;
    height: 118%;
    object-fit: contain; /* o cover si prefieres */
  }

  /* (opcional) si ves Airbnb aún más pequeño por su margen, solo para él: */
  /* .airbnb-fixed img { width: 122%; height: 122%; } */
}


main {
  background-color: #D4E8D4;
}


footer {
  background-color: #3E4D1F; /* verde original */
  color: #F7F9F2;
  padding: 1rem 1.5rem;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  user-select: none;
}

footer .copyright {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  /*display: flex;
  justify-content: center;  Para que los enlaces se agrupen y centren 
  gap: 0.15rem;  Espacio entre enlaces */
}

footer nav {
  font-size: 0.75rem; /* más pequeño para los links legales */
  font-weight: 500;
  margin-top: 0.2rem;
  white-space: nowrap;
  display: flex;
  justify-content: center; /* centra los enlaces */
  gap: 1.6rem; /* controla el espacio entre ellos */
}

footer nav a {
  color: #d3e8d1; /* un verde claro para destacar */
  text-decoration: none;
  margin: 0 !important;
  display: inline-block; /* o inline */
}

footer nav a:hover,
footer nav a:focus {
  color: #7A8F56;
  text-decoration: underline;
  outline: none;
}

/* Responsive para móviles */
@media (max-width: 480px) {
  footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
  }
}


@media (max-width: 768px) {
  nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative; /* necesario para posicionar menú absoluto */
  }

  .logo-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .menu-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem;
    z-index: 1100;
    flex-shrink: 0; /* que no se reduzca */
  }

  .menu {
    position: absolute;     /* sacar del flujo para que no empuje nada */
    top: 100%;             /* justo debajo del nav */
    left: 0;
    right: 0;
    background-color: rgba(245, 245, 245, 0.95);
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    display: none;          /* oculto por defecto */
    z-index: 1000;
  }

  #menu-toggle:checked ~ .menu {
    display: flex;          /* se muestra al activar toggle */
  }
}


@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.slider-image.offset-down {
  background-position: center calc(50% + 200px);
}


#ocupacion {
  background: linear-gradient(to bottom, #f4f8f2 0%, #ffffff 100%);
  padding: 3rem 1.5rem 2rem;
  color: #3a4a18; /* Verde oscuro elegante */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Texto de explicación con ancho máximo y centrado */
.info-reservas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.info-card {
  flex: 1 1 280px;
  background: #f9fdf3;
  border-left: 4px solid #6B8E23;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-card .icono {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #6B8E23;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #6B8E23;
}

.info-card p {
  margin: 0;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

.info-label {
  font-weight: 700;
  color: #6B8E23; /* verde principal */
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-family: 'Segoe UI Semibold', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

/* El calendario debe seguir al 100% de ancho sin restricciones */
.contenedorCalendario {
  padding: 2rem 0;
  text-align: center;
  background-color: white;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
}

/*Sección de CONTACTO*/
#contacto {
  background: linear-gradient(to bottom, #A8C3A0 0%, #e2eddb 40%, #f4f8f2 70%, #ffffff 100%);
  padding: 4rem 1rem;
}
/*Botón de la sección*/
.telefono-contacto {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.telefono-contacto a {
  display: flex;
  align-items: center;
  background-color: #6B8E23;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 1248px; /* 999px + 25% = 1248px*/ 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.telefono-contacto a:hover {
  background-color: #A8C3A0;
}

.telefono-contacto .icono {
  font-size: 1.75rem;
  margin-right: 0.75rem;
}
/*Todo el CSS del formulario*/
/* Estilo del contenedor del formulario */
.form-container {
  background-color: white;
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Estilo general del formulario */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Etiquetas */
form label {
  font-weight: bold;
  color: #4A4A4A;
}

/* Campos de texto, email, número, etc. */
form input,
form select,
form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  font-family: inherit;
  background-color: #fdfdfd;
  transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #6B8E23;
  outline: none;
}

/* Campo de fecha moderno */
input[type="date"] {
  background-color: #fff;
  color: #4A4A4A;
  border: 1px solid #ccc;
}

/* Área de texto */
form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Botón de envío */
form button[type="submit"] {
  background-color: #6B8E23;
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #557A1F;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkbox-container input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
}

.checkbox-container label {
  font-size: 0.95em;
  color: #4A4A4A;
}

.checkbox-container a {
  text-decoration: none;
  color: #6B8E23; /* O el color de tu marca */
}

.checkbox-container a:hover {
  text-decoration: underline;
}


/* Mensaje de error o validación */
.error-message {
  color: red;
  font-size: 0.9rem;
}

/* Google reCAPTCHA centrado */
.g-recaptcha {
  margin: 1rem 0;
}



/* Responsive para el Formulario*/
@media (max-width: 768px) {
  .form-container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }
}

/*CSS de las COOKIES*/
.cookie-consent {
  position: fixed;
  bottom: 25px;
  left: 25px;
  right: 25px;
  max-width: 400px;
  background-color: #e6f0ea; /* verde muy suave */
  color: #2f4f4f; /* verde oscuro para texto */
  padding: 15px 20px;
  border-radius: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none; /* oculto por defecto */
  align-items: center;
  justify-content: space-between;
  z-index: 99999;
  line-height: 1.4;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
}

.cookie-consent a {
  color: #3b7766; /* tono verde para enlaces */
  text-decoration: underline;
}

.cookie-consent button {
  background-color: #3b7766;
  color: #fff;
  border: none;
  padding: 8px 18px;
  margin-left: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-consent button:hover {
  background-color: #2e5b4d;
}

@media (max-width: 600px) {
  .cookie-consent {
    left: 10px;
    right: 70px;      /* deja ~50px libres para los botones fijos */
    max-width: none;  /* que no se limite el ancho */
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    max-width: 90%;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
  }
  .cookie-consent button {
    margin: 12px 0 0 0;
    width: 100%;
  }
}

/*Para que no se salga el calendario en 
Pantallas de teléfono móvil*/

/* Marco del calendario: centrado en desktop, sin desbordes */
.cal-embed{
  width: 100%;
  max-width: 1000px;       /* ajusta si quieres (700–1000px) */
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;        /* evita scroll lateral “raro” */
  box-sizing: border-box;
}

.cal-embed iframe{
  display:block;
  width:100%;
  max-width:100%;
  border:0;
}




/*
Colores sugeridos
Fondo ppal, Verde salvia: #A8C3A0
Fondo secundario, Verde menta: #D4E8D4
Texto ppal, gris pizarra: 4A4A4A
Texto sec, gris claro: 7D7D7D
Botones y enlaces, verde bosque: 6B8E23
Fondo encabezado, blanco humo: F5F5F5
Fondo pie de pag, verde musgo: 556B2F
*/