html,
body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

.banner {
    margin-top: 7rem;
}

.carousel-inner img {
    border-radius: 1rem;
}

.banner .carousel-inner {
    min-height: 20rem;
    position: relative;
}

.card {
    cursor: pointer;
}

.card img {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    height: 140px;
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    color: black;
    background-color: black;
}

.carousel-indicators {
    bottom: -3rem;
}

.img-mobile {
    height: 15rem;
    object-fit: cover;
}

.botao-verde-custom {
    background-color: #227934;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    line-height: 2.5rem;
    display: inline-block;
}

.secao {
    padding: 2rem 1rem;
    text-align: center;

}

.comodidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 2rem;
    margin: 0;
    cursor: pointer;
}

.comodidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 120px;
    padding: 20px 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comodidade:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.reservar {
    background: linear-gradient(to bottom right, #e9eaeb, #e9ecef);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    max-height: 500px;
    width: 100%;
    margin: 6rem auto 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem !important;
}

.externa {
    margin-top: 7rem;
}

.externa p,
.interna p {
    text-align: justify;
}

.interna {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

.interna h4 {
    margin: 1rem 0;
}

.segundo__andar {
    margin-top: 6rem;
}

#reserva .reserva-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1rem 1.25rem;
    max-width: 90%;
    margin: 0 auto;
    transition: box-shadow 0.2s ease-in-out;
}

#reserva .reserva-form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#reserva .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

#reserva .form-control,
#reserva .form-select {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#reserva .form-control:focus,
#reserva .form-select:focus {
    border-color: #2c9c69;
    box-shadow: 0 0 0 0.1rem rgba(44, 156, 105, 0.2);
}

#reserva button.btn-success {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

#reserva button.btn-success:hover {
    background-color: #258a5b;
}

/* Tablets */
@media (min-width: 601px) {
    .reservar {
        max-width: 600px;
        max-height: 600px;
        padding: 3rem 2rem;
        margin: 4rem auto 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
        border-radius: 1.2rem;
    }
}

@media (min-width: 768px) {
    .localizacao .btn {
        padding: 0.375rem 1rem;
        font-size: 0.7rem;
    }
}

/* Desktop */
@media (min-width: 992px) {

    .navbar-brand img {
        object-fit: contain;
        margin-top: 0;
    }

    .service-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 0.375rem;
    }

    .secao {
        margin-top: 7rem;
    }

    .main {
        margin-top: 8rem;
        margin-bottom: 10rem;
    }

    .botao-verde-custom:hover {
        background-color: #1b5e2a;
        color: #fff;
    }

    .banner img {
        height: 45rem;
    }

    .reserva-wrapper {
        display: flex;
        gap: 15rem;
        justify-content: center;
        margin-top: 10rem;
    }

    #reserva .reserva-form {
        max-width: 100%;
        /* ~672px */
    }

    #calendario,
    #reserva {
        flex: 1 1 360px;
        max-width: 35rem;
        box-sizing: border-box;
    } 

    [data-anime] {
        opacity: 0;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    [data-anime].animate {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    [data-anime-section="banner"] {
        transform: translateY(30px) scale(0.95);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    [data-anime-section="banner"].animate {
        transform: translateY(0) scale(1);
    } 

    /* Seções com animação horizontal */
    [data-anime-section="comodidades"],
    [data-anime-section="reservar"] {
        transform: translateX(-100px);
    }

    [data-anime-section="localizacao"] {
        transform: translateX(100px);
    }

}

@media (min-width: 1024px) {
    .reservar {
        max-width: 100rem;
        max-height: none;
        padding: 4rem 2rem;
        margin: 10rem auto 0 !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-radius: 1rem;
        width: 100%;
        margin-bottom: 10rem !important;
    }
}

@media (max-width: 600px) {
    iframe {
        width: 100%;
        max-width: 600px;
        height: 350px;
    }
}