/* responsive.css */

@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 0 auto;
        text-align: center;
    }
    table {
        width: 100%;
        margin: 0 auto;
    }
    h1 {
        font-size: 19px;
    }
    form {
        width: 90%;
    }
    label {
        width: 100%;
        text-align: left;
    }
    input, select {
        width: 80%;
        font-size: 16px;
    }
    input {
        height: 25px;
        width: 80%;
    }
    .checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 80%;
    }
    .checkboxes .checkbox-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
    .checkboxes .checkbox-item label {
        width: auto;
    }

    /* Per dispositivi mobili, nascondi il background dell'hero */
    .hero-macarena {
        background: none;
    }
    
    /* Mostra il video di background in mobile */
    .hero-video {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    
    /* Assicurati che il contenuto rimanga sopra il video */
    .hero-content {
        position: relative;
        z-index: 2;
    }

        /* Sposta il blocco hero-cta più in alto */
        .hero-cta {
            margin-top: -170px; /* valore aumentato per spostarlo più in alto */
        }

    /* Titolo del quick form */
.quick-form-title {
    font-family: 'Kleader', sans-serif;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: -25px;
    text-align: center;
    margin-left: 1%;
}

    /* Bottone CTA */
    .btn-primary {
        position: relative;
        z-index: 3;
        display: inline-block;
        font-family: 'Kleader', sans-serif;
        padding: 5px 15px;
        background-color: #ff0000;
        color: #ffffff;
        font-size: 25px;
        font-weight: bold;
        text-transform: uppercase;
        border: solid #ffffff;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
        text-decoration: none;
        margin-top: 200px;
    }
    .btn-primary:hover {
        background-color: #ffffff;
        color: #ff0000;
    }
    /* Bottone Form in modalità mobile */
    .btn {
        width: 80%;
        padding: 12px;
        font-size: 18px;
        margin-top: 15px;
        background-color: #ff0000;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 600;
        transition: background 0.3s ease;
        border: 2px solid #ffffff;
    }
    .btn:hover {
        background-color: #bb2528;
        color: #fff;
    }
    .entry-cost {
        color: #ffffff;
        font-size: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #000;
        border: 2px solid #ffffff;
        border-radius: 15px;
        text-align: center;
        padding: 5px 10px;
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
        margin: 20px auto;
    }
    .entry-cost p {
        margin: 5px 0;
    }
}

.form-section {
    background-color: #000;
    display: flex;
    flex-direction: column; /* Imposta layout a colonna */
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 5px;
    margin: auto;
    margin-left: -6%;
    margin-top: -50px;
}
.reservation-form{

    margin-top: -250px;

}
