:root {
    --blue: #004664;
    --text: #3E3A35;
    --white: #ffffff;
    --dark: #565656;
}
html, body {
    overflow-x:hidden;
}


body {
    font-family: 'Poppins',sans-serif
}

    body.menu-open {
        overflow: hidden;
    }

.logo_nav {
    height: auto;
    width: 130px;
}


.modal {
    z-index:9999;
}




/* NAV */
.navbar {
    background: rgba(0,70,100,.95)
}

    .navbar a {
        color: #fff;
        cursor:pointer !important;
    }

        .navbar a:hover {
            color: #dddddd;
        }

.navbar {
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
    padding: 20px 0;
}

    .navbar.nav-transparent {
        background: transparent;
        box-shadow: none;
    }

    .navbar.nav-solid {
        background: rgba(0,70,100,.95);
        box-shadow: 0 6px 25px rgba(0,0,0,.25);
        padding: 10px 0;
    }

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff;
}

.navbar-nav .nav-link {
    padding:8px 20px !important;
}


.dropdown-item {
    color: var(--blue) !important;
}

/* SERVIZI ICONA LIST --------------------------------------------*/


/* SERVIZI EXTRA LIST --------------------------------------------*/
.serviziIconaList i {
    color: rgba(0,70,100,.95) !important;
}

    .serviziIconaList i.la {
        font-size: 30px;
        width: 45px;
        text-align: center;
    }

    .serviziIconaList i.la {
        font-size: 30px;
        width: 45px;
        text-align: center;
    }

    .serviziIconaList i.gi, .serviziIconaList i.fa, .serviziIconaList i.hi {
        font-size: 20px;
        width: 45px;
        text-align: center;
    }

    .serviziIconaList i.las {
        font-size: 28px;
        width: 45px;
        text-align: center;
    }



.lista-servizi-extra {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

    .lista-servizi-extra li {
        margin-bottom: 8px;
        font-size: 14px;
        padding-left: 45px;
        position: relative;
    }

    .lista-servizi-extra i {
        margin-right: 6px;
        color: #666;
        position: absolute;
        top: 0px;
        left: 0;
        text-align: center;
    }

    .lista-servizi-extra .price {
        color: #555;
        font-size: 13px;
    }



/* HAMBURGER */
.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    display: inline-block;
}

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all .3s ease;
    }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 9px;
        }

        .hamburger span:nth-child(3) {
            bottom: 0;
        }

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

.navbar-toggler {
    -webkit-tap-highlight-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler:focus-visible {
        outline: none;
        box-shadow: none;
    }


.navbar-toggler-icon {
    filter: invert(1);
}


/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    display: flex;
    align-items: center;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.20) );
        z-index: 1;
    }

    /* contenuto sopra l’overlay */
    .hero > .container {
        position: relative;
        z-index: 2;
    }

    .hero.reduct {
        min-height: 60vh;
    }
    .hero.mini {
        min-height: 20vh;
    }




/* BOOKING */
.booking-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

    .booking-box input, .booking-box select, .booking-box button {
        height: 48px;
    }

    .booking-box .error {
        border-color: #dc3545 !important;
        background-color: #fff6f6;
    }


.booking-form textarea{
    width:100%;
    height:100px;
    resize:none;
}

#text_privacy {
    border: 2px dotted transparent;
    background-color: #f1f1f1;
    margin: 36px -12px 0 -12px;
    padding: 10px;
}
    #text_privacy p {
        color: #818181 !important;
    }
.note {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.option-bank {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    padding-top: 10px;
}
    .option-bank li {
        position: relative;
        padding-left: 30px;
        margin-top: 25px;
    }
        .option-bank li:first-child {
            margin-top:0;
        }


        .label-checkbox {
            color: #232323;
            font-weight: bold;
            text-transform: uppercase;
            display: block;
            margin-bottom: 10px;
        }
    .label-checkbox .input-checkbox {
        position: absolute;
        top: -12px;
        left: 0;
        width: 22px;
    }
.contact  ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 30px;
}

.contact i {
    color: #e1bd85;
    font-size: 20px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    font-style: normal;
    width: 30px;
    text-align: center;
}

.contact a, .contact a:visited {
    color: #004664;
}
    .contact a:hover {
        color: rgb(165, 165, 165);
    }

    .onlyMobile {
        display: none;
    }
/* SECTIONS */
section {
    padding: 90px 0
}

.bg-soft {
    background: #f5f9fc
}




/* CARD */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1)
}

/* TESTIMONIAL */
.testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1)
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background: #eaf6fb
}

/* CTA */
.cta {
    background: linear-gradient(135deg,#0077b6,#00b4d8);
    color: #fff;
    text-align: center;
    padding: 120px 0
}

/* FOOTER */
footer {
    background: #003b55;
    color: #fff
}

    footer a {
        color: #fff;
        text-decoration: none
    }

        footer a:hover {
            text-decoration: underline
        }

.footer-logo {
    max-width: 180px
}

/* LANGUAGE SWITCH */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1999;
    transition: all .35s ease;
}

    .lang-switch.scrollTop {
        top: 8px;
    }

.current-lang {
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    cursor: pointer;
}

    .current-lang img,
    .lang-options img {
        width: 28px;
    }

.lang-options {
    display: none;
    background: #fff;
    margin-top: 8px;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

    .lang-options a {
        display: block;
        margin: 6px auto;
    }

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .8s ease, transform .8s ease;
}

    .reveal.active,
    .reveal-left.active,
    .reveal-right.active {
        opacity: 1;
        transform: translate(0,0);
    }
/* CARD HOVER */
.card,
.icon-box,
.testimonial {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card:hover,
    .icon-box:hover,
    .testimonial:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,.15);
    }

/* BUTTON HOVER */
.btn {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,.25);
    }

/* BOTTONI */
.btn-primary {
    background: var(--blue);
    border: none;
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--dark);
    }

.btn-light {
    background: var(--white);
    border: none;
    color: var(--blue) !important;
}

    .btn-light:hover {
        background: var(--blue);
        border: none;
        color: var(--white) !important;
    }



/* campo con errore + icona warning */
.form-control.error,
.form-select.error,
textarea.error {
    border-color: #e5533d !important;
    background-color: #fff;
    box-shadow: 0 0 0 0.15rem rgba(229, 83, 61, 0.25);
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e5533d' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10.011 10.011 0 0 0 12 2Zm1 15h-2v-2h2Zm0-4h-2V7h2Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px 18px;
}

/* box privacy in errore */
.error-privacy {
    border: 1px solid #e5533d !important;
    background-color: rgba(229, 83, 61, 0.04) !important;
    box-shadow: 0 0 0 0.15rem rgba(229, 83, 61, 0.25) !important;
    border-radius: 6px;
    padding: 12px;
    transition: all .25s ease;
}


/* contenitore età bambini */
#row_eta_bambini {
    display: none;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: var(--bs-border-radius);
}




/* APPARTAMENTI  */
.apartment-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 50px 40px 60px 40px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .apartment-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .apartment-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.apartment-card {
    min-width: 320px;
    max-width: 320px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    scroll-snap-align: start;
    transition: transform .3s ease;
}

    .apartment-card:hover {
        transform: translateY(-6px);
    }

    .apartment-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.apartment-info {
    padding: 20px;
}

    .apartment-info h5 {
        margin-bottom: 5px;
    }

    .apartment-info .price {
        margin-top: 10px;
        font-weight: 600;
        color: var(--blue);
    }

.apartment-wrapper {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 10;
    cursor: pointer;
}

    .scroll-btn.left {
        left: 10px;
    }

    .scroll-btn.right {
        right: 10px;
    }

    .scroll-btn i {
        font-size: 1.4rem;
    }

.apartment-scroll {
    justify-content: flex-start;
}

    .apartment-scroll.centered {
        justify-content: center;
    }





/* TESTIMONIAL  */

.testimonial-lux {
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px 30px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
    position: relative;
}

    .testimonial-lux .avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: -70px auto 20px;
        border: 4px solid #fff;
    }

    .testimonial-lux .quote {
        font-style: italic;
        margin-bottom: 15px;
    }

    .testimonial-lux .name {
        font-size: .85rem;
        opacity: .7;
    }


/* FAQ  */
.faq-lux {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: 20px 0;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Playfair Display',serif;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    .faq-question span {
        font-size: 1.4rem;
        transition: transform .3s ease;
    }

.faq-answer {
    display: none;
    padding-top: 10px;
    line-height: 1.7;
    opacity: .85;
}




.mobile-lang .lang {
    display: inline-block;
    margin: 0 12px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #fff;
    opacity: .6;
}

    .mobile-lang .lang.active {
        opacity: 1;
        border-bottom: 2px solid #fff;
        padding-bottom: 4px;
    }

.navbar-toggler-icon {
    transition: transform .3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

.submenu-toggle span {
    display: inline-block;
    transition: transform .3s ease;
}

.submenu-toggle.open span {
    transform: rotate(45deg);
}





input {
    opacity: 1;
}


::placeholder {
    color: #999;
    opacity: 1; /* importantissimo per Safari */
}

/* Safari iOS */
::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
}

/* Firefox */
::-moz-placeholder {
    color: #999;
}

/* Edge */
:-ms-input-placeholder {
    color: #999;
}










.mobile-submenu {
    display: none !important;
}

.mobile-label {
    display: none;
    font-size: 14px;
    margin-bottom: 4px;
    color: #555;
}





@media (max-width: 991px) {

    .onlyMobile {
        display: block;
    }
    .onlyDesktop {
        display: none;
    }

    .mobile-label {
        display: block;
    }


    .hero {
        padding-top: 140px !important;
    }


    .navbar-toggler {
        position: relative;
        z-index: 1100;
    }

    .navbar-collapse {
        z-index: 1050;
    }


    .lang-switch {
        display: none;
    }


    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,70,100,.98);
        padding-top: 120px;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
        overflow-y: auto;
    }

        .navbar-collapse.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            transition: opacity .35s ease, transform .35s ease;
        }



    .navbar-nav .nav-link {
        font-size: 1.6rem;
        margin: 15px 0;
        color: #fff !important;
    }

    .nav-item.dropdown {
        display: none !important;
    }

    .mobile-submenu {
        display: block !important;
    }

    .mobile-submenu {
        list-style: none;
    }

    .submenu-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.6rem;
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

        .submenu-toggle span {
            margin-left: 8px;
            transition: transform .3s ease;
        }

    .submenu {
        display: none;
        padding-left: 0;
        margin-bottom: 10px;
    }

        .submenu li {
            list-style: none;
            margin: 8px 0;
        }

        .submenu a {
            font-size: 1.2rem;
            color: #fff !important;
            opacity: .8;
        }


    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(15px);
        transition: opacity .4s ease, transform .4s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

        .navbar-collapse.show .nav-item:nth-child(1) {
            transition-delay: .05s;
        }

        .navbar-collapse.show .nav-item:nth-child(2) {
            transition-delay: .1s;
        }

        .navbar-collapse.show .nav-item:nth-child(3) {
            transition-delay: .15s;
        }

        .navbar-collapse.show .nav-item:nth-child(4) {
            transition-delay: .2s;
        }

        .navbar-collapse.show .nav-item:nth-child(5) {
            transition-delay: .25s;
        }


    .nav-cta {
        margin-top: 40px;
    }

        .nav-cta .btn {
            font-size: 1.4rem;
            padding: 16px 30px;
            border-radius: 40px;
            width: 80%;
            max-width: 320px;
            margin: 0 auto;
            background: transparent;
            color: #fff !important;
            border: 2px solid rgba(255,255,255,.7);
            box-shadow: 0 12px 35px rgba(0,0,0,.25);
        }

            .nav-cta .btn:hover {
                background: #fff;
                color: var(--blue) !important;
            }
}
