html, body {
    margin: 0;
    padding: 0;
}

body {
    background: blueviolet;
    height: 600vh;
    font-family: 'MedievalSharp', monospace, "Georgia", serif;
    cursor: url("../assets/sol.png") 0 0, auto;

}

.parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* CAPAS */
.layer {
    position: absolute;
    pointer-events: none;
}

/* SKYLINES */
.planoa {
    bottom: -20%;
    left: 0;
    width: 100%; /* más grande y visible */
    z-index: 3;
}

.planob {
    bottom: 50%;
    left: 0;
    width: 100%; /* más grande */
    opacity: 0.9;
    z-index: 2;
}

/* SOL Y LUNA */
.sol {
    top: 15%;
    left: 5%;
    width: 160px; /* más grande */
    z-index: 1;
}

.luna {
    top: 8%;
    right: 5%;
    width: 130px; /* más grande */
    opacity: 0;
    z-index: 1;
}

/* GLOBO */
.globo {
    width: 100px;
    top: 20%;
    left: 30%;
    transform: translateX(-50%);
    z-index: 4;
}

/* TÍTULO */
.titulo {
    position: absolute;
    top:5%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 6vw, 5rem);
    font-family: 'MedievalSharp', monospace, "Georgia", serif;
    color: white !important;
    text-shadow: 0 0 10px black;
    z-index: 5;
}

.info-section{
    position: relative;
    height: 20vh;
    font-weight: 900;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'MedievalSharp', monospace, "Georgia", serif;
    color: purple;
    padding: 60px 20px;
    overflow: hidden;
}

body {
    top: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    #custom-translate-btn {
        top: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 14px;
    }
}



/* ===============================
   SECCIÓN SEO CONTENT - FREE TOUR VALLADOLID
   =============================== */

.seo-content {
    background: linear-gradient(135deg, #f9f7ff 0%, #ffffff 100%);
    border-radius: 25px;
    margin: 40px auto;
    padding: 50px 30px;
    box-shadow: 0 10px 40px rgba(106, 13, 173, 0.08);
    border: 1px solid rgba(155, 77, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo */
.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #9b4dff);
    border-radius: 25px 25px 0 0;
}

.seo-content::after {
    position: absolute;
    top: -15px;
    right: 30px;
    font-size: 24px;
    color: #9b4dff;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(155, 77, 255, 0.2);
}

/* Títulos */
.seo-content h2 {
    color: #26053a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    font-family: 'MedievalSharp', cursive, sans-serif;
    letter-spacing: 1px;
}

.seo-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #9b4dff);
    margin: 15px auto;
    border-radius: 2px;
}

.seo-content h3 {
    color: #4a1e8a;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 35px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #9b4dff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.seo-content h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-content h4::before {
    content: '•';
    color: #9b4dff;
    font-size: 1.5rem;
}

/* Texto principal */
.seo-text {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.seo-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.seo-text strong {
    color: #4a1e8a;
    font-weight: 600;
    background: linear-gradient(120deg, rgba(155, 77, 255, 0.1) 0%, transparent 100%);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Lista de características */
.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.seo-content ul li {
    padding: 15px 20px 15px 45px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.seo-content ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(155, 77, 255, 0.1);
    border-color: #9b4dff;
}

.seo-content ul li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea, #9b4dff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Preguntas Frecuentes (FAQ) */
.faq {
    margin: 40px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(155, 77, 255, 0.03) 0%, rgba(102, 126, 234, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(155, 77, 255, 0.1);
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(155, 77, 255, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    color: #4a1e8a;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4:hover {
    color: #9b4dff;
}

.faq-item h4::before {
    content: '?';
    background: linear-gradient(135deg, #667eea, #9b4dff);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    padding-left: 38px;
    margin-bottom: 0;
}

/* Información destacada */
.seo-content .info-highlight {
    background: linear-gradient(135deg, rgba(155, 77, 255, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
    border-left: 4px solid #9b4dff;
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    position: relative;
}

.seo-content .info-highlight::before {
    content: '💡';
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.5rem;
}

/* Call to Action integrado */
.seo-content .cta-inline {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    color: white;
}

.seo-content .cta-inline h3 {
    color: white;
    border-left: none;
    padding-left: 0;
    margin-top: 0;
}

.seo-content .cta-inline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-content {
        padding: 30px 20px;
        margin: 20px auto;
        border-radius: 15px;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
    }
    
    .seo-content h3 {
        font-size: 1.5rem;
    }
    
    .seo-content h4 {
        font-size: 1.2rem;
    }
    
    .seo-text {
        font-size: 1rem;
    }
    
    .seo-content ul {
        grid-template-columns: 1fr;
    }
    
    .seo-content ul li {
        padding: 12px 15px 12px 40px;
    }
    
    .faq {
        padding: 20px;
    }
    
    .faq-item p {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .seo-content {
        padding: 25px 15px;
    }
    
    .seo-content h2 {
        font-size: 1.6rem;
    }
    
    .seo-content h3 {
        font-size: 1.3rem;
    }
    
    .seo-content h2::after {
        width: 70px;
    }
}

/* Animaciones sutiles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-content {
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 100px;
}

.seo-content h2 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Efecto de iluminación en hover para toda la sección */
.seo-content:hover {
    box-shadow: 0 15px 50px rgba(106, 13, 173, 0.12);
    transition: box-shadow 0.3s ease;
}

/* Para mejorar la accesibilidad */
.seo-content:focus-within {
    outline: 2px solid #9b4dff;
    outline-offset: 2px;
}

/* Estilo para enlaces dentro del contenido (si los agregas) */
.seo-content a {
    color: #9b4dff;
    text-decoration: none;
    border-bottom: 1px dotted #9b4dff;
    transition: all 0.3s ease;
}

.seo-content a:hover {
    color: #764ba2;
    border-bottom: 1px solid #764ba2;
}

.booking-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.booking-box.hidden {
    opacity: 0;
    transform: translate(-50%, -20px);
    pointer-events: none;
}


/* Formulario de reserva - estilo moderno */
        .reservation-form {
            background: rgba(85, 10, 69, 0.452);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 50px;
            max-width: 600px;
            margin: 0 auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--shadow);            
            justify-content: center;
            margin-top: 0;    
        }

        .form-title {
            font-size: 2rem;
            margin-bottom: 30px;
            color: var(--white);
            text-align: center;
        }

        .counter-group {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
            gap: 30px;
        }

        .counter-item {
            flex: 1;
            text-align: center;
        }

        .counter-label {
            display: block;
            margin-bottom: 15px;
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 700;
        }

        .counter {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        .counter-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .counter-btn:hover {
            background: var(--primary-blue);
            transform: scale(1.1);
        }

        .counter-value {
            font-size: 2rem;
            font-weight: 600;
            min-width: 60px;
            text-align: center;
        }

        .calendar-container {
            margin-bottom: 40px;
        }

        #datePicker {
            width: 92%;
            padding: 20px;
            background: purple;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            color: black;
            font-size: 1.1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        #datePicker:focus {
            outline: none;
            border-color: var(--primary-blue);
            background: rgba(39, 39, 245, 0.1);
        }

        #datePicker::placeholder {
    color: black !important;
}

        .book-btn {
            width: 100%;
            padding: 22px;
            background-color: purple;
            border: none;
            border-radius: 10px;
            color: black;
            font-size: 1.3rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .book-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(39, 39, 245, 0.4);
        }
        .form-input {
            width: 100%;
            padding: 18px;
            margin-bottom: 20px;
            border: 1px solid rgb(255, 255, 255);
            border-radius: 10px;
            color: black;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary-blue);
            background: rgba(39, 39, 245, 0.1);
        }

        .submit-btn {
            width: 100%;
            padding: 20px;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
            border: none;
            border-radius: 10px;
            color: var(--white);
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(39, 39, 245, 0.4);
        }

        #booking-modal {
    display: none;   /* 🔥 Esto lo oculta al cargar */
    z-index: 9999;
}
    .parallax-reserve-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px 40px;
        font-size: 1.8rem;
        font-weight: 700;
        border: none;
        border-radius: 15px;
        cursor: pointer;
        background-color: purple;
        color: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 10;
        transition: 0.3s ease;
    }

    .parallax-reserve-btn:hover {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    }

    #booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(85, 10, 69, 0.452);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.full-width {
    flex: 0 0 100%;
}

.form-input{
    width: 80%;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.parallax-reserve-btn {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.parallax-reserve-btn.hidden {
    opacity: 0;
    transform: translate(-50%, -60%);
    pointer-events: none;
}

.sol, .globo {
    position: absolute;
    cursor: grab;
}

.sol:active, .globo:active {
    cursor: grabbing;
}

.bird {
    position: absolute;
    width: 120px; /* ajusta según tu SVG */
    height: 120px;
    top: 20%;     /* posición inicial aproximada */
    cursor: grab;
    z-index: 10;
    user-select: none;
}

.bird:active {
    cursor: grabbing;
}

.bird {
    position: absolute;
    width: 100px;
    cursor: grab;
    user-select: none;
    z-index: 20;
    animation: flap 0.6s infinite ease-in-out;
    transition: transform 0.2s ease;
}

.bird:active {
    cursor: grabbing;
}

/* Aleteo */
@keyframes flap {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0.85); }
    100% { transform: scaleY(1); }
}

/* Giro al hacer clic */
.bird.clicked {
    animation: spin 0.4s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close:hover {
    color: #ff4444;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
}

.modal-header h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 28px;
}

.reservation-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.reservation-summary-card p {
    margin: 8px 0;
    font-size: 16px;
}

/* ===== FORMULARIO ===== */
.form-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #eaeaea;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.required-badge {
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group label:after {
    content: '*';
    color: #ff4444;
    font-size: 18px;
    margin-left: 4px;
}

.form-group label[for*="ciudad"]:after,
.form-group label[for*="tour"]:after {
    content: '';
}

/* ===== INPUTS ESTILIZADOS ===== */
.styled-input, .styled-select {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.styled-input:focus, .styled-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.styled-input:hover, .styled-select:hover {
    border-color: #999;
}

.styled-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 50px;
}

/* ===== BOTONES PARA AGREGAR PERSONAS ===== */
.add-buttons-container {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.add-person-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.add-person-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.add-person-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.add-person-btn span {
    font-size: 24px;
    font-weight: bold;
}

/* ===== CHECKBOX ESTILIZADO ===== */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    user-select: none;
    margin: 20px 0;
    gap: 15px;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.checkbox-container input:checked ~ .checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '✓';
    color: white;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

/* ===== BOTÓN DE ENVÍO ===== */
.form-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #eaeaea;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 24px;
    font-weight: bold;
}

.help-text {
    margin-top: 15px;
    color: #777;
    font-size: 14px;
}

.modal{
    background-color: purple;
    color: white;
}

.modal-header{
    background-color: purple;
    color: white;
    border-radius: 15px;
    padding: 10px;
}

.booking-form{
    background-color: purple;
    color: white;
}

.form-section{
    background-color: purple;
    color: white;
}
.modal-content{
    background-color: purple;
    color: white;
}
/* ===== MODAL DE CONFIRMACIÓN ===== */
.confirmation-content {
    max-width: 500px;
    text-align: center;
    padding: 40px;
}

.confirmation-header {
    margin-bottom: 30px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 20px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.confirmation-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.confirmation-body {
    margin: 30px 0;
}

.reservation-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}

.reservation-details p {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.reservation-details strong {
    color: #2c3e50;
}

.confirmation-info {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}

.confirmation-info p {
    margin: 8px 0;
    color: #2e7d32;
}

.confirmation-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.confirmation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .add-buttons-container {
        flex-direction: column;
    }
    
    .add-person-btn {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   HISTORIA PARALLAX - PANTALLA GRANDE (ESCRITORIO)
   ============================================ */

.historia-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: transparent;
    padding-top: 125px;
}

.historia-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Elementos históricos - ESCRITORIO */
.historia-item {
    position: absolute;
    opacity: 1;
    user-select: none;
    pointer-events: auto;
    z-index: 50;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

/* POSICIONES PARA ESCRITORIO */
#felipe{
    width: 220px;
    left: 60%;
}

#colon{
    width: 270px;
    left: 25%;
    top: 3%;
}

#vino{
    width: 100px;
    top: 35%;
    left: 55%;
}

#tapa{
    width: 125px;
    top: 50%;
    left: 38%;
}

/* Hover efecto */
.historia-item:hover {
    animation: popElastic 0.4s ease-out forwards;
}

@keyframes popElastic {
    0% { transform: scale(1); }
    60% { transform: scale(1.25); }
    100% { transform: scale(1.15); }
}

/* ============================================
   MEDIA QUERY PARA MÓVIL (max-width: 900px)
   FUNCIONA CORRECTAMENTE
   ============================================ */

@media (max-width: 900px) {
    /* Ajustes de la sección completa para móvil */
    .historia-section {
        height: 100vh !important;
        padding-top: 80px !important;
        min-height: 700px !important;
    }
    
    /* Ajustes específicos para cada imagen en móvil */
    #felipe{
        width: 180px !important;
        left: 60% !important;  /* Más a la derecha en móvil */
        top: 15% !important;
    }
    
    #colon{
        width: 220px !important;
        left: 25% !important;   /* Más a la izquierda en móvil */
        top: 17% !important;
    }
    
    #vino{
        width: 90px !important;
        top: 50% !important;
        left: 50% !important;  /* A la derecha abajo */
    }
    
    #tapa{
        width: 100px !important;
        top: 60% !important;
        left: 15% !important;  /* A la izquierda abajo */
    }
    
    /* Ajustes del popup para móvil */
    .historia-popup {
        max-width: 90% !important;
        width: 90% !important;
        font-size: 1rem !important;
        padding: 20px !important;
        bottom: 20px !important;
    }
    
    .historia-popup-content {
        font-size: 0.9rem !important;
        max-height: 50vh !important;
    }
    
    .historia-popup-title {
        font-size: 1.2rem !important;
    }
}

/* ============================================
   MEDIA QUERY PARA MÓVIL MUY PEQUEÑO (max-width: 480px)
   EXTRA - AJUSTES ADICIONALES
   ============================================ */

@media (max-width: 480px) {
    /* Tus ajustes de modal existentes */
    .modal-content {
        margin: 5% auto;
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .styled-input, .styled-select {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    /* Ajustes adicionales para historia en pantallas muy pequeñas */
    .historia-section {
        height: 90vh !important;
        padding-top: 60px !important;
        min-height: 600px !important;
    }
    
    #felipe{
        width: 175px !important;
        left: 45% !important;
        top: 12% !important;
    }
    
    #colon{
        width: 200px !important;
        left: 30% !important;
        top: 15% !important;
    }
    
    #vino{
        width: 70px !important;
        top: 62% !important;
        left: 30% !important;
    }
    
    #tapa{
        width: 85px !important;
        top: 68% !important;
        left: 15% !important;
    }
    
    /* Popup aún más pequeño */
    .historia-popup {
        padding: 15px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================
   ESTILOS COMUNES DEL POPUP (para todas las pantallas)
   ============================================ */

.historia-popup {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 25px 35px;
    max-width: 420px;
    color: black;
    font-family: monospace, "Georgia", serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 99999;
}

.historia-popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.historia-popup::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.15) transparent transparent transparent;
}

.historia-popup-content {
    text-align: left;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.historia-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.historia-popup-title {
    font-size: 1.5rem;
    margin: 0;
}

.historia-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historia-close-btn:hover {
    color: #ff6b6b;
}

/* ============================================
   NAV PARALLAX - UNIFICADO Y CORREGIDO
   ============================================ */

/* Sección SEO - Asegurar que no sea afectada por el marco */
.seo-content {
    position: relative;
    z-index: 50;
}

/* Contenedor principal del nav */
.nav-parallax {
    position: relative;
    height: 150vh; /* Altura ajustada */
    min-height: 700px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    z-index: 100;
    background: transparent;
    margin-top: 0;
    padding: 40px 0;
}

/* Marco - POSICIÓN FIJADA PARA NO AFECTAR SEO */
#marco {
    position: absolute !important;
    width: 100% !important;
    max-width: 1500px !important;
    height: auto !important;
    top: 60% !important; /* Cambiado de 100% a 50% */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
}

/* Contenedor del nav - EN COLUMNA */
.nav-parallax nav {
    margin-top: 100px;
    position: relative;
    width: 70%; /* Ancho reducido para que quepa en el marco */
    max-width: 800px;
    display: flex;
    flex-direction: column !important; /* Siempre en columna */
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 10;
    padding: 40px 0;
    transform: translateY(25%);
    margin-bottom: 200px;
}

/* Enlaces */
.nav-parallax nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 180px;
    min-height: 180px;
    padding: 15px;
}

.nav-parallax nav a:hover {
    color: #e0c3fc;
    transform: translateY(-5px) !important;
}

/* Figuras */
.nav-item.figura {
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
    display: block !important;
    object-fit: contain !important;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Animación hover */
.nav-item.figura:hover {
    animation: floatPC 2s ease-in-out infinite;
    transform: scale(1.1) rotateY(10deg) rotateX(6deg) !important;
    filter: drop-shadow(0 10px 25px rgba(155, 77, 255, 0.4)) !important;
}

@keyframes floatPC {
    0%   { transform: scale(1.1) rotateY(10deg) rotateX(6deg) translateY(0); }
    50%  { transform: scale(1.1) rotateY(10deg) rotateX(6deg) translateY(-8px); }
    100% { transform: scale(1.1) rotateY(10deg) rotateX(6deg) translateY(0); }
}

/* Para móvil */
@media (max-width: 900px) {
    .seo-content {
    z-index: 1;
}
    .nav-parallax {
        height: auto;
        padding: 30px 0;
    }
    
    .nav-parallax nav {
        width: 85% !important;
        gap: 25px;
        transform: translateY(30%) !important; /* Aumentado de 0 a 30% */
    }
    
    #marco {
        width: 100% !important;
        z-index: 9 !important;
        top: -75px ;
    }
    
    .nav-parallax nav a {
        min-width: 140px;
        min-height: 140px;
        padding: 12px;
        font-size: 1.2rem;
    }
    
    .nav-item.figura {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
}

@media (max-width: 450px){
    
    #marco {
        top: 30% !important; /* Aún más arriba en pantallas muy pequeñas */
    }
    
    .nav-parallax {
        min-height: 300px !important;
        padding: 15px 0 50px !important;
    }
    
    .nav-parallax nav {
        transform: translateY(1%) !important;
        gap: 12px !important;
    }
    
    .nav-parallax nav a {
        min-width: 120px !important;
        min-height: 120px !important;
        font-size: 1rem !important;
    }
    
    .nav-item.figura {
        width: 120px !important;
        height: 120px !important;
        min-width: 70px !important;
        min-height: 70px !important;
    }
}

/* Ajuste adicional para pantallas muy grandes */
@media (min-width: 1600px) {
    .nav-parallax nav {
        width: 60%;
        max-width: 1000px;
    }
    
    .nav-item.figura {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
}
/* --- CONTACTO --- */
.contact-section {
    position: relative;
    height: 50vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: monospace, "Georgia", serif;
    color: white;
    padding: 60px 20px;
    overflow: hidden;
    margin-bottom: 100px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(6px);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
    outline: none;
}

.contact-form button {
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: white;
    color: #1a0933;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Nubes flotantes */
.nube {
    position: absolute;
    width: 150px;
    top: 20%; /* puedes cambiarlo */
    left: 0px; /* empiezan visibles */
    cursor: grab;
    z-index: 50;
}

.nube:active {
    cursor: grabbing;
}

.nube1 { top: 20%; }
.nube2 { top: 45%; }
.nube3 { top: 70%; }

/* --- FOOTER --- */
.footer {
    background: purple;
    width: 100%;
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 1rem;
    border-radius: 7px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.newsletter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter input {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    width: 250px;
}

.newsletter button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: white;
    color: #1a0933;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter button:hover {
    transform: scale(1.05);
}

/* ===============================
   CALENDARIO FLATPICKR
   =============================== */

/* Contenedor principal del calendario */
.flatpickr-calendar {
    width: 100% !important;
    max-width: 600px !important;
    min-width: 280px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(106, 13, 173, 0.3) !important;
    overflow: hidden !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    background: linear-gradient(145deg, #4a1e8a 0%, #6a0dad 50%, #8a2be2 100%) !important;
    color: purple !important;
    border: 2px solid #9b4dff !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* ===============================
   CABECERA DEL MES
   =============================== */
.flatpickr-months {
    background: linear-gradient(to right, #3a0ca3 0%, #4a1e8a 100%) !important;
    padding: 15px 0 10px 0 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
}

.flatpickr-month {
    color: white !important;
    fill: white !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    width: 100% !important;
}

/* CONTENEDOR DE MES Y AÑO - CENTRADO */
.flatpickr-current-month {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content:  !important;
    gap: 10px !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    height: 40px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

/* SELECTOR DE MES - RESPONSIVE */
.flatpickr-monthDropdown-months {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 8px 30px 8px 15px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 40px !important;
    width: 140px !important;
    max-width: 140px !important;
    min-width: 120px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
}

/* INPUT DE AÑO - RESPONSIVE */
.flatpickr-current-month input.cur-year {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 8px 15px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 40px !important;
    width: 90px !important;
    min-width: 80px !important;
    max-width: 100px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* ===============================
   DROPDOWN DE MESES
   =============================== */
.flatpickr-monthDropdown-months option {
    background: #4a1e8a !important;
    color: white !important;
    padding: 10px !important;
    font-size: 16px !important;
}

.flatpickr-monthDropdown-months:focus {
    background: rgba(0, 0, 0, 0.9) !important;
}

.flatpickr-monthDropdown-months option:hover,
.flatpickr-monthDropdown-months option:focus,
.flatpickr-monthDropdown-months option:checked {
    background: #6a0dad !important;
    color: white !important;
}

/* ===============================
   DÍAS DE LA SEMANA - RESPONSIVE
   =============================== */
.flatpickr-weekdays {
    background: rgba(90, 24, 154, 0.8) !important;
    padding: 15px 0 !important;
    height: auto !important;
    min-height: 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.flatpickr-weekdays .flatpickr-weekdaycontainer {
    display: flex !important;
    width: 100% !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.flatpickr-weekday {
    color: #e0c3fc !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    flex: 1 !important;
    text-align: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
}

/* ===============================
   CUERPO DEL CALENDARIO
   =============================== */
.flatpickr-innerContainer {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.flatpickr-rContainer {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.flatpickr-days {
    padding: 20px 10px !important;
    background: rgba(74, 30, 138, 0.7) !important;
    min-height: 300px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 5px !important;
    justify-items: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* ===============================
   DÍAS INDIVIDUALES - RESPONSIVE
   =============================== */
.flatpickr-day {
    width: 40px !important;
    height: 40px !important;
    max-width: 50px !important;
    min-width: 35px !important;
    line-height: 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Días pasados - deshabilitados por defecto */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.disabled {
    color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    opacity: 0.5 !important;
}

/* Días del mes actual */
.flatpickr-day.inRange {
    background: rgba(155, 77, 255, 0.2) !important;
}

/* Días que no son del mes actual (días de otros meses) */
.flatpickr-day.notAllowed {
    visibility: hidden !important;
    pointer-events: none !important;
}

.flatpickr-day:hover {
    background: rgba(224, 195, 252, 0.9) !important;
    color: #4a1e8a !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.4) !important;
    border-color: #e0c3fc !important;
    text-shadow: none !important;
}

.flatpickr-day.selected {
    background: linear-gradient(135deg, #9b4dff 0%, #7b2cbf 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(155, 77, 255, 0.5) !important;
    border-color: #e0c3fc !important;
}

.flatpickr-day.today {
    border: 3px solid #9b4dff !important;
    background: rgba(155, 77, 255, 0.2) !important;
    color: #e0c3fc !important;
    font-weight: 700 !important;
}

.flatpickr-day.today:hover {
    background: rgba(155, 77, 255, 0.4) !important;
    color: white !important;
}

/* ===============================
   BOTONES DE NAVEGACIÓN - RESPONSIVE
   =============================== */
.flatpickr-prev-month,
.flatpickr-next-month {
    padding: 5px !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: white !important;
    width: 20px !important;
    height: 20px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.flatpickr-prev-month {
    left: 15px !important;
}

.flatpickr-next-month {
    right: 15px !important;
}

/* ===============================
   DÍAS DE FIN DE SEMANA
   =============================== */
.flatpickr-day.weekend {
    color: #ffccff !important;
    background: rgba(255, 204, 255, 0.1) !important;
}

.flatpickr-day.weekend.selected {
    color: white !important;
    background: linear-gradient(135deg, #9b4dff 0%, #7b2cbf 100%) !important;
}

.flatpickr-day.weekend:hover {
    background: rgba(255, 204, 255, 0.8) !important;
    color: #4a1e8a !important;
}

/* Sección Blog */
.blog-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9f7ff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: blueviolet;
    margin-bottom: 50px;
    font-family: 'MedievalSharp', cursive;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #9b4dff);
    margin: 15px auto;
    border-radius: 2px;
}

/* Carrusel horizontal */
.blog-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9b4dff #e0c3fc;
}

.blog-carousel::-webkit-scrollbar {
    height: 8px;
}
.blog-carousel::-webkit-scrollbar-track {
    background: #e0c3fc;
    border-radius: 10px;
}
.blog-carousel::-webkit-scrollbar-thumb {
    background: #9b4dff;
    border-radius: 10px;
}

.blog-card {
    flex: 0 0 300px;
    background: purple;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.2);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
    text-align: left;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.read-more {
    color: #9b4dff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #4a1e8a;
}

.blog-more {
    margin-top: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    border: 2px solid #9b4dff;
    color: #9b4dff;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #9b4dff;
    color: white;
    transform: scale(1.05);
}

.no-articles {
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-section {
        padding: 50px 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .blog-card {
        flex: 0 0 260px;
    }
    .blog-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .blog-card {
        flex: 0 0 220px;
    }
    .blog-content h3 {
        font-size: 1.1rem;
    }
}

/* ===============================
   MEDIA QUERIES PARA RESPONSIVE
   =============================== */

/* Tablets (768px y menos) */
@media (max-width: 768px) {
    .flatpickr-calendar {
        max-width: 500px !important;
        border-radius: 15px !important;
    }
    
    .flatpickr-weekday {
        font-size: 14px !important;
        letter-spacing: 0.3px !important;
        padding: 0 3px !important;
    }
    
    .flatpickr-day {
        width: 45px !important;
        height: 45px !important;
        line-height: 45px !important;
        font-size: 15px !important;
    }
    
    .flatpickr-current-month {
        gap: 8px !important;
    }
    
    .flatpickr-monthDropdown-months {
        width: 120px !important;
        font-size: 15px !important;
        padding: 6px 25px 6px 12px !important;
    }
    
    .flatpickr-current-month input.cur-year {
        width: 80px !important;
        font-size: 15px !important;
        padding: 6px 12px !important;
    }
}

/* Móviles (480px y menos) */
@media (max-width: 480px) {
    .titulo{
        position: absolute !important;
        margin-bottom: 130px !important;
    }
    .flatpickr-calendar {
        max-width: 350px !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 30px rgba(106, 13, 173, 0.3) !important;
    }
    
    .flatpickr-months {
        height: 60px !important;
        padding: 10px 0 8px 0 !important;
    }
    
    .flatpickr-current-month {
        font-size: 14px !important;
        gap: 5px !important;
        height: 35px !important;
    }
    
    .flatpickr-monthDropdown-months {
        width: 110px !important;
        font-size: 14px !important;
        height: 35px !important;
        padding: 5px 20px 5px 10px !important;
        min-width: 100px !important;
    }
    
    .flatpickr-current-month input.cur-year {
        width: 70px !important;
        font-size: 14px !important;
        height: 35px !important;
        padding: 5px 10px !important;
        min-width: 60px !important;
    }
    
    .flatpickr-weekday {
        font-size: 12px !important;
        letter-spacing: 0.2px !important;
        padding: 0 2px !important;
    }
    
    .flatpickr-days {
        padding: 15px 8px !important;
        min-height: 250px !important;
    }
    
    .dayContainer {
        gap: 4px !important;
    }
    
    .flatpickr-day {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        min-width: 30px !important;
    }
    
    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 30px !important;
        height: 30px !important;
    }
    
    .flatpickr-prev-month svg,
    .flatpickr-next-month svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .flatpickr-prev-month {
        left: 10px !important;
    }
    
    .flatpickr-next-month {
        right: 10px !important;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .flatpickr-calendar {
        max-width: 300px !important;
        border-radius: 10px !important;
    }
    
    .flatpickr-weekday {
        font-size: 11px !important;
        padding: 0 1px !important;
    }
    
    .flatpickr-day {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 13px !important;
        min-width: 28px !important;
    }
    
    .dayContainer {
        gap: 3px !important;
    }
    
    .flatpickr-current-month {
        flex-direction: column !important;
        gap: 5px !important;
        height: auto !important;
    }
    
    .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        width: 100% !important;
        max-width: 150px !important;
        text-align: center !important;
    }
}

/* Pantallas grandes (PC) */
@media (min-width: 1200px) {
    .flatpickr-calendar {
        max-width: 700px !important;
    }
    
    .flatpickr-day {
        width: 75px !important;
        height: 75px !important;
        line-height: 75px !important;
        font-size: 18px !important;
        max-width: 80px !important;
    }
    
    .flatpickr-weekday {
        font-size: 18px !important;
        padding: 0 8px !important;
    }
    
    .flatpickr-monthDropdown-months {
        width: 160px !important;
        font-size: 18px !important;
        height: 45px !important;
        padding: 10px 35px 10px 20px !important;
    }
    
    .flatpickr-current-month input.cur-year {
        width: 110px !important;
        font-size: 18px !important;
        height: 45px !important;
        padding: 10px 20px !important;
    }
}

/* Apuntamos específicamente a los placeholders dentro de tu formulario de contacto */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: white;
    opacity: 1; /* Para que en Firefox no se vea gris */
}

/* Estilos para newsletter - Versión Minimalista */
.newsletter-container {
    max-width: 650px;
    max-height: 300px;
    margin: 40px auto;
    padding: 40px 30px;
    background: blueviolet;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.newsletter-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.newsletter-input {
    flex: 1 1 300px;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.newsletter-input::placeholder {
    color: #666;
    opacity: 0.7;
}

.newsletter-btn {
    padding: 18px 40px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.privacy-check {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.privacy-check input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-message {
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
    border: 2px solid #2ecc71;
}

.error-message {
    background: rgba(231, 76, 60, 0.2);
    color: #c0392b;
    border: 2px solid #e74c3c;
}

@media (max-width: 900px) {
    body {
        height: auto !important;
        min-height: 100vh;
        overflow-x: hidden !important;
        width: 100vw;
    }
    
    .parallax {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden !important;
        position: relative;
    }
    
    /* Asegurar que las capas no desborden */
    .layer {
        max-width: 100vw !important;
        max-height: 100vh !important;
        object-fit: contain;
    }
    
    /* Ajustar tamaños para móvil */
    .planoa, .planob {
        width: 150% !important;
        max-width: 150% !important;
        left: -25% !important;
    }
    
    .sol, .luna {
        width: 100px !important;
    }
    
    .globo {
        width: 60px !important;
        left: 20% !important;
    }
    
    /* Ajustar el título */
    .titulo {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: normal;
        text-align: center;
        width: 90%;
        word-wrap: break-word;
    }
    
    /* Botón de reserva */
    .parallax-reserve-btn {
        font-size: 1.2rem !important;
        padding: 15px 25px !important;
    }
    
    /* Asegurar que no haya overflow horizontal */
    .historia-section,
    .nav-parallax,
    .contact-section,
    .seo-content,
    .info-section,
    .reservation-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Historia section en móvil */
    .historia-section {
        height: 100vh !important;
        padding-top: 50px !important;
    }
    
    /* ===============================
   CABECERA DEL MES - SOLO CORRECCIONES NECESARIAS
   =============================== */

/* Ajustar contenedor de cabecera */
.flatpickr-months {
    height: 70px !important; /* Reducir altura para evitar corte */
    padding: 15px 0 !important;
}

/* Mes y año más pequeños y en una línea */
.flatpickr-current-month {
    font-size: 16px !important; /* Tamaño reducido */
    gap: 8px !important; /* Espacio entre mes y año */
    height: 40px !important; /* Altura reducida */
    padding-top: 0 !important;
    flex-wrap: nowrap !important; /* Evitar que se rompa en dos líneas */
}

/* Selector de mes - más pequeño */
.flatpickr-monthDropdown-months {
    font-size: 14px !important;
    height: 32px !important;
    padding: 5px 25px 5px 10px !important;
    min-width: 110px !important;
    max-width: 110px !important;
}

/* Input de año - más pequeño */
.flatpickr-current-month input.cur-year {
    font-size: 14px !important;
    height: 32px !important;
    width: 70px !important;
    padding: 5px 8px !important;
}

/* ===============================
   BOTONES DE NAVEGACIÓN - SOLO CORRECCIONES
   =============================== */

/* Botones más grandes y mejor posicionados */
.flatpickr-prev-month,
.flatpickr-next-month {
    width: 40px !important; /* Aumentar tamaño */
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    z-index: 100 !important; /* Asegurar que estén por encima */
    pointer-events: auto !important; /* Asegurar que sean clickeables */
}

/* Posiciones fijas */
.flatpickr-prev-month {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.flatpickr-next-month {
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Flechas más grandes */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 20px !important;
    height: 20px !important;
}

.contact-section{
    margin-top: 0px !important;
}

/* ===============================
   RESPONSIVE - SOLO CORRECCIONES NECESARIAS
   =============================== */

@media (max-width: 768px) {
    /* Cabecera más pequeña en móvil */
    .flatpickr-months {
        height: 60px !important;
        padding: 10px 0 !important;
    }
    
    .flatpickr-current-month {
    font-size: 16px !important; /* Tamaño reducido */
    gap: 8px !important; /* Espacio entre mes y año */
    height: 40px !important; /* Altura reducida */
    padding-top: 0 !important;
    flex-wrap: nowrap !important; /* Evitar que se rompa en dos líneas */
}
    
    .flatpickr-monthDropdown-months {
    font-size: 14px !important;
    height: 32px !important;
    padding: 5px 25px 5px 10px !important;
    min-width: 110px !important;
    max-width: 110px !important;
}
    
    .flatpickr-current-month input.cur-year {
    font-size: 14px !important;
    height: 32px !important;
    width: 70px !important;
    padding: 5px 8px !important;
}
    
    /* Botones más pequeños en móvil */
    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 35px !important;
        height: 35px !important;
    }
    
    .flatpickr-prev-month svg,
    .flatpickr-next-month svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .flatpickr-prev-month {
        left: 15px !important;
    }
    
    .flatpickr-next-month {
        right: 15px !important;
    }
}

@media (max-width: 480px) {
    /* Ajustes adicionales para pantallas muy pequeñas */
    .flatpickr-monthDropdown-months {
        font-size: 12px !important;
        height: 28px !important;
        min-width: 90px !important;
        max-width: 90px !important;
    }
    
    .flatpickr-current-month input.cur-year {
        font-size: 12px !important;
        height: 28px !important;
        width: 60px !important;
    }
}
    
    .nav-item.figura {
        width: 300px !important;
        height: 300px !important;
    }
    
    /* Ajustar nubes */
    .nube {
        width: 100px !important;
    }
}





        



        
