/* =========================================
   1. BASES Y FUENTES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Skranji:wght@400;700&family=Montserrat:wght@400;700&family=Luckiest+Guy&display=swap');

html {
    scroll-behavior: smooth;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background: 
        url('https://www.transparenttextures.com/patterns/leaf.png'), 
        linear-gradient(135deg, #1b3d2f 0%, #2d5a27 40%, #a4c639 80%, #ffcc00 100%);
    background-attachment: fixed;
    background-size: 300px, cover;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   2. LOGO (HERO) - ESTILO ORIGINAL
   ========================================= */
.hero { 
    width: 100%; 
    min-height: 60vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
}

.hero-content {
    background-color: rgba(253, 245, 230, 0.95);
    background-image: url('https://www.transparenttextures.com/patterns/handmade-paper.png');
    border: 10px solid #3e2723;
    outline: 4px solid #ffcc00;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    text-align: center;
    width: 100%;
    max-width: 600px;
    transform: rotate(-1deg);
}

.hero-content img { 
    width: 100%; 
    max-width: 250px; 
    height: auto; 
    display: block; 
    margin: 0 auto 15px; 
}

.titulo-selvatico { 
    font-family: 'Luckiest Guy', cursive; 
    font-size: clamp(1.8rem, 8vw, 3.5rem); 
    color: #3e2723; 
    text-transform: uppercase; 
}

/* =========================================
   3. CUADROS UNIFICADOS (PERGAMINO)
   ========================================= */
#calendar, #form-contenedor, .mapa, #equipamiento-seccion, #tarifas-seccion {
    background-color: rgba(253, 245, 230, 0.98) !important;
    background-image: url('https://www.transparenttextures.com/patterns/handmade-paper.png') !important;
    border: 10px solid #3e2723 !important;
    border-radius: 20px !important;
    padding: 40px 25px !important;
    margin: 40px auto !important;
    max-width: 1000px !important; /* Un poco más estrecho para que la columna única luzca mejor */
    width: 95% !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7) !important;
    color: #3e2723 !important;
    text-align: center;
}

h2 {
    font-family: 'Skranji', cursive !important;
    color: #3e2723 !important;
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    text-shadow: 2px 2px 0px #ffcc00 !important;
    margin-bottom: 30px !important;
    text-transform: uppercase;
}

/* =========================================
   4. EQUIPAMIENTO (ESTILO SELVÁTICO)
   ========================================= */
.lista-equipamiento ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.lista-equipamiento ul li {
    font-family: 'Skranji', cursive !important;
    font-size: 1.25rem;
    color: #3e2723;
    padding-left: 40px;
    position: relative;
    line-height: 1.4;
}

.lista-equipamiento ul li::before {
    content: "🌴";
    position: absolute;
    left: 0;
}

/* =========================================
   5. TARIFAS
   ========================================= */
.tarifas-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
}

.tarjeta-precio {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #3e2723;
    padding: 20px;
    border-radius: 15px;
}

.tarjeta-precio h3 { 
    font-family: 'Skranji', cursive; 
    color: #d35400; 
    margin-bottom: 10px; 
}

.tarjeta-precio .precio { 
    font-family: 'Luckiest Guy', cursive; 
    font-size: 2.2rem; 
    display: block; 
    margin: 10px 0; 
}

.tarjeta-precio .horario { 
    font-family: 'Skranji', cursive !important;
    font-size: 1rem; 
    font-weight: bold; 
    color: #5d4037; 
}

/* =========================================
   6. GALERÍA ESTILO MODERNO
   ========================================= */
.contenedor-galeria {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 15px !important;
    max-width: 1300px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
}

.tarjeta-foto {
    position: relative !important;
    height: 400px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

.tarjeta-foto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.capa-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 61, 47, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.capa-info h3 { font-family: 'Skranji', cursive; color: #ffcc00; margin-bottom: 10px; }
.tarjeta-foto:hover img { transform: scale(1.1); }
.tarjeta-foto:hover .capa-info { opacity: 1; }

/* =========================================
   7. PRESUPUESTO (UNA SOLA COLUMNA)
   ========================================= */
#form-reserva {
    max-width: 600px !important; /* Estrechamos el formulario para que sea vertical */
    margin: 0 auto;
}

.form-grid {
    display: flex !important;
    flex-direction: column !important; /* UNO DEBAJO DE OTRO */
    gap: 20px;
    text-align: left;
}

.campo {
    display: flex;
    flex-direction: column;
}

#form-reserva label { 
    font-family: 'Skranji', cursive !important; 
    font-size: 1.2rem; 
    margin-bottom: 8px;
    color: #3e2723;
}

#form-reserva input, #form-reserva select, #form-reserva textarea {
    width: 100% !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    border: 3px solid #3e2723 !important;
    border-radius: 12px !important;
    background: white !important;
    font-family: 'Montserrat', sans-serif !important;
}

#form-reserva textarea {
    height: 150px;
}

.btn-enviar { 
    background-color: #d35400 !important; 
    color: white !important; 
    font-family: 'Skranji', cursive !important; 
    font-size: 1.6rem !important; 
    padding: 15px !important; 
    border-radius: 50px !important;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}

/* =========================================
   8. CONTACTO INTEGRADO
   ========================================= */
.info-contacto-final {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 3px dashed #3e2723;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-contacto-final p {
    font-family: 'Skranji', cursive !important;
    font-size: 1.3rem;
}

/* =========================================
   9. ADAPTACIÓN MÓVIL (COMPACTO)
   ========================================= */
@media (max-width: 768px) {
    #form-contenedor {
        padding: 25px 15px !important;
    }

    #form-reserva input, #form-reserva select, #form-reserva textarea {
        padding: 10px !important;
        font-size: 1rem !important;
    }

    .hero-content { transform: none; max-width: 90%; }
    .contenedor-galeria { grid-template-columns: 1fr !important; }
    .tarjeta-foto { height: 300px !important; }
    .capa-info { opacity: 1; background: rgba(0,0,0,0.4); justify-content: flex-end; }
}

header { background: #fdf5e6; padding: 10px; position: sticky; top: 0; z-index: 100; border-bottom: 4px solid #3e2723; }
nav ul { display: flex; list-style: none; gap: 15px; justify-content: center; flex-wrap: wrap; }
nav ul li a { font-family: 'Skranji', cursive; text-decoration: none; color: #3e2723; text-transform: uppercase; font-size: 0.85rem; }
.mapa-contenedor iframe { height: 400px !important; border-radius: 15px; border: 4px solid #3e2723; }