:root {
    --primary-dark: #1e4b3e;  /* Verde selva más intenso */
    --primary-light: #f0f7f4; /* Blanco roto orgánico */
    --gold-accent: #d4b483;   /* Dorado cálido (madera) */
    --blue-accent: #3a7ca5;   /* Azul marino (para toques de agua) */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3, .display-1, .display-2, .section-title {
    font-family: 'Inter', 'sans-serif';
    font-weight: 400;
    color: var(--text-dark);
}

/* Navbar transparente → sólido al scroll */
.navbar {
    transition: all 0.3s;
    padding: 20px 0;
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar.scrolled .nav-link {
    color: #fff !important;
}

.navbar.scrolled .navbar-brand {
    color: #fff !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: 
        radial-gradient(circle at 50% 40%, /* Centrado más arriba */
            transparent 0%, 
            rgba(26, 58, 50, 0.6) 100%
        ),
        url('/img/banner-01.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 1px;
}

/* Secciones */
.section {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    display: inline-block;
    color: #2f4f4f;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--gold-accent);
    bottom: -15px;
    left: 0;
}

    /* ----- CLASES DE BOTONES PRINCIPALES ----- */
.btn {
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 0; /* Estilo moderno sin bordes redondeados */
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

/* Botón Primario (Verde) */
.btn-primary {
  background-color: var(--primary-dark);
  color: white;
  box-shadow: 0 4px 6px rgba(26, 58, 50, 0.2);
}

.btn-primary:hover {
  background-color: #142e27; /* 10% más oscuro */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 58, 50, 0.3);
}

/* Botón Secundario (Dorado) */
.btn-secondary {
  background-color: var(--gold-accent);
  color: var(--text-dark);
  box-shadow: 0 4px 6px rgba(200, 169, 126, 0.2);
}

.btn-secondary:hover {
  background-color: #d4b483; /* 10% más claro */
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Estilo base del botón en el menú */
.navbar .btn-reservar {
    padding: 10px 24px;
    background-color: var(--gold-accent); /* Dorado corporativo */
    color: var(--primary-dark); /* Texto verde oscuro */
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

/* Efecto hover */
.navbar .btn-reservar:hover {
    background-color: transparent;
    color: var(--gold-accent);
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 169, 126, 0.3);
}

/* Efecto "brillo al pasar el mouse" */
.navbar .btn-reservar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
    transition: 0.5s;
}

.navbar .btn-reservar:hover::after {
    left: 100%;
}

/* Estado cuando el navbar tiene scroll */
.navbar.scrolled .btn-reservar {
    background-color: var(--gold-accent);
    color: var(--primary-dark);
    border: 2px solid transparent;
}

.navbar.scrolled .btn-reservar:hover {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Efecto "Hover" para todos los botones */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

/* Estilos para la sección rediseñada */
.experiences-section {
  padding: 80px 0;
  background-color: #f8f3ee ;
}

.experience-card {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    /* Sombra elegante y transición para el hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    text-decoration: none; /* Asegura que no haya subrrayado si es un link */
}

.card-image {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column; /* Apila verticalmente el título y el texto */
  justify-content: flex-end; /* Empuja todo el contenido a la parte inferior */
  align-items: stretch; /* Permite que los divs internos ocupen todo el ancho disponible */
  gap: 10px;
}

.card-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(26, 58, 50, 0.9), transparent);
}
.text-experiencias{
  position: relative;
  color: white;
  z-index: 2;
}
.card-title {
  position: relative;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 50, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.experience-card:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.experience-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-reservar-ahora {
    /* Estilo del botón */
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--gold-accent); /* Color llamativo (Dorado) */
    color: var(--primary-dark); /* Texto oscuro para contraste */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 15px; /* Separación del texto de la descripción */

    /* Control de Visibilidad y Transición */
    opacity: 0;
    transform: translateY(20px); /* Inicialmente fuera de vista */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Regla para MOSTRAR el botón en el hover de la tarjeta */
.experience-card:hover .btn-reservar-ahora {
    opacity: 1;
    transform: translateY(0); /* Desliza a su posición final */
}

/* Responsive */
@media (max-width: 992px) {
  .experience-card {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .experience-card {
    height: 350px;
  }
  
  .card-title {
    font-size: 1.8rem;
  }
}
    /* Estructura de la galería */
.gallery-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-row {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 250px;
  max-width: 100%;
  height: 300px;
  transition: all 0.3s ease;
}

/* Efecto hover profesional */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(26, 58, 50, 0.2);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay elegante */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 50, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--gold-accent);
}

.overlay-content p {
  margin: 0;
  font-weight: 500;
}

/* Botón interactivo */
.gallery-btn {
  padding: 12px 30px;
  border: 2px solid var(--primary-dark);
  font-weight: 600;
  transition: all 0.3s;
}

.gallery-btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-row {
    flex-direction: column;
  }
  
  .gallery-item {
    height: 250px;
  }
}


/* Formulario */
.form-control {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    background-color: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: var(--gold-accent);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.text-white{
    color: #fff !important;
}

.lead{
    font-size: 17px;
}

.btn-outline-light{
    background-color: var(--gold-accent);
    border-radius: 20px;
    color:#212529;
}

/* Nueva sección de buscador */
#availability-search {
    background-color: var(--primary-light); /* Un fondo suave para diferenciar */
    padding: 80px 0;
}

#availability-search .form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
    font-size: 3rem;
    }
    .section {
    padding: 60px 0;
    }
}

/* --- ESTILOS DEL BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float-btn {
    position: fixed; /* Mantiene la posición fija */
    bottom: 20px; /* Separación del borde inferior */
    right: 20px; /* Separación del borde derecho */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    
    /* Estilo del botón */
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #25d366; /* Verde de WhatsApp */
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px; /* Forma de píldora */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float-btn i {
    font-size: 1.4rem;
    margin-right: 8px;
}

.whatsapp-float-btn:hover {
    background-color: #128c7e; /* Tono más oscuro al pasar el ratón */
    transform: scale(1.05); /* Ligeramente más grande al hacer hover */
    color: white; /* Asegura que el color del texto permanezca blanco */
}

/* Adaptación para pantallas pequeñas (móviles) */
@media (max-width: 576px) {
    .whatsapp-float-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float-btn i {
        font-size: 1.2rem;
    }
}