/* Lucida Grande - Regular */
@font-face {
    font-family: "Lucida Grande";
    src: url("font/lucidagrande.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Lucida Grande - Bold */
@font-face {
    font-family: "Lucida Grande";
    src: url("font/lucidagrande_bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Uso */
body {
    font-family: "LucidaGrande", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100% !important;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: auto !important;
}

.text-green {
    color: #7BAC13 !important;
}

.header-home {
    min-height: calc(100dvh);
    height: 100%;
    background: url(img/Home.jpg);
    background-size: cover;
    background-position: center;
    padding-top: 10rem;
}
.header-result{
    background: url(img/Prenotazione.jpg);
}

.header-area-riservata{
    background: url(img/Registrazione.jpg);
}
header .top-nav {
    background: #002D5E 0% 0% no-repeat padding-box;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .top-nav p {
    color: white;
    margin-bottom: 0;
    font: normal normal normal 18px/23px Lucida Grande;
    letter-spacing: 0px;
}

header .top-nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.header-home .box-recensioni-google {
    background: #002D5E 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 5px;
    padding: 10px;
    color: white;
    display: flex;
    align-items: center;
}

.header-home .box-logo-planet {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 5px;
    padding: 10px;
    margin-left: 3rem;
}


.bg-blue {
    background: #002D5E 0% 0% no-repeat padding-box;
    color: #fff;
}

.servizi-card {
    background: #FFFFFFD1 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    overflow: hidden;
}

.servizi-card img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}


.header-result .box-result{
background: #FFFFFFD1 0% 0% no-repeat padding-box;
box-shadow: 0px 3px 6px #00000029;
border-radius: 8px;
padding: 3rem;
}
.servizi-card h4 {
    font: normal normal bold 26px/30px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
}

.servizi-card p {
    color: #002D5E;
    margin-bottom: 0;
}

p {
    font: normal normal normal 18px/28px Lucida Grande;

}

section {
    padding: 4rem 0;
}

.title-section {
    font: normal normal bold 35px/56px Lucida Grande;
    margin-bottom: 2rem;
}

.aereo-background-to-left {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: calc(100% - 6rem);
}

.bg-sconto {
    background: url(img/sconto.jpg);
    background-size: cover;
    background-position: center;
}

.bg-sconto-2 {
    background: url(img/Accettazione.jpg);
    background-size: cover;
    background-position-y: 69%;
}

.box-sconto {
    background: #FFFFFFE6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    padding: 2rem;
}

.color-blue {
    color: #002D5E;
}

.btn-style {
    background-color: #7CAD12 !important;
    border-radius: 5px;
    text-align: center;
    font: normal normal bold 20px/23px Lucida Grande !important;
    letter-spacing: 0px;
    color: #FFFFFF !important;
    min-width: 250px;
    padding: 10px 20px !important;
}

.row-comfort {
    background: #FFFFFFD9 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
}

.row-comfort .img-main {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

.bg-grey {
    background-color: #EBEBEB;
}

.form-sito {
    padding: 0;
}

.form-sito label {
    font: normal normal bold 18px/23px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
    display: block;

    margin-bottom: 0.75rem;
}

.form-sito input[type="email"], .form-sito input[type="text"], .form-sito input[type="tel"], .form-sito select, .form-sito textarea {
    width: 100%;
    background: #fff 0% 0% no-repeat padding-box;
    border: 2px solid #002D5E;
    border-radius: 5px;
    height: 42px;
    text-indent: 10px;
}

.form-sito .box-privacy label {
    font-weight: 400 !important;
}

.form-sito .loading {
    cursor: not-allowed;
    opacity: 0.6;
}

.form-sito .loading-spinner {
    display: none !important;
}

.form-sito .loading .loading-spinner {
    display: inline-block;
}

.form-sito .g-recaptcha {
    visibility: hidden;
    height: 1px;
    width: 1px;
}

footer p {
    margin-bottom: 0;
    color: #002D5E
}

.header-home h1 {
    font: normal normal bold 54px/80px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
}

.header-home h2 {
    font: normal normal normal 30px/60px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
}

/* Colori/var */
:root {
    --nav-bg: rgba(255, 255, 255, 0.95);
    /* blu scuro con opacità */
}

/* Top bar */
.top-nav {
    background: #073a66;
    padding: .5rem 0;
}

/* Navbar trasparente in cima */
.transparent-nav {
    background: transparent;
    box-shadow: none;
    transition: background-color .2s ease, box-shadow .2s ease, padding .2s ease;
}

/* Stato "stuck" quando scorre */
#mainNav.stuck {
    background: var(--nav-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* Logo shrink */
.brand-logo {
    height: 56px;
    transition: height .2s ease;
}

#mainNav.stuck .brand-logo {
    height: 40px;
}

/* Bottoni stile pill */
.navbar .btn {
    border-width: 2px;
    border-radius: .6rem;
    padding: .45rem .9rem;
}

/* Z-index sopra il contenuto */
#mainNav.stuck {
    z-index: 999999;
}

/* Migliora leggibilità su hero chiaro */
.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, .25); */
}

.btn-nav {
    border: 2px solid #002D5E;
    border-radius: 5px !important;
    color: #002D5E
}

.btn-nav:hover {
    border: 2px solid #002D5E;
    border-radius: 5px !important;
    color: #fff;
    background-color: #002D5E;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999999;

}

.arrow-down {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: auto;
}

.anchor {
    position: absolute;
    top: -103px
}

.banner {
    margin-top: 145px;
}

.box-logo-planet-partnership {
    background: #EBEBEB 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.box-logo-planet-partnership img {
    width: 250px;
}

.box-contatti {
    background: #FFFFFFE6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    padding: 3rem;
}

.box-contatti h1 {
    font: normal normal bold 40px/55px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
    margin-bottom: 2rem;
}

.box-contatti p, .box-contatti h2, .box-contatti a {
    font: normal normal bold 20px/23px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
    text-decoration: none;
    margin-bottom: 0;
}

/* Sezione con mappa come background */
.map-hero {
    position: relative;
    min-height: 70vh;
    /* altezza visibile della sezione */
    padding: 4rem 0;
    /* spazio per il box sovrapposto */
    overflow: hidden;
}

.map-hero iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* riempi tutta la sezione */
    border: 0;

}

.box-domanda {
    background: #FFFFFFE6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    color: #002D5E;
    padding: 3rem;
    height: 100%;

}

.box-domanda h3 {
    font: normal normal bold 24px/30px Lucida Grande;
    letter-spacing: 0px;
    color: #002D5E;
    margin-bottom: 1.5rem;
}

.faq h1 {
    font: normal normal 600 52px/56px Lucida Grande;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-bottom: 3rem;
}

.faq {
    position: relative;
}

.banner-chisiamo h1 {
    font: normal normal bold 52px/56px Lucida Grande;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.banner-chisiamo {
    position: relative;
}

.faq .aereo-background-to-left, .banner-chisiamo .aereo-background-to-left {
    height: unset;
    top: 4rem;
    z-index: 0;
    right: 0;
}

.box-domanda p {
    margin-bottom: 0;
}

/* Mobile: un po’ meno alto */
@media (max-width: 991.98px) {
    .map-hero {
        min-height: 60vh;
        padding: 3rem 0;
    }
}


/* Allineamenti desktop: left group, brand centro, right group */
@media (min-width: 992px) {
    .navbar .navbar-nav.me-auto {
        order: 0;
    }

    .navbar .navbar-brand {
        order: 1;
    }

    .navbar .navbar-nav.ms-auto {
        order: 2;
    }
}

@media (max-width: 992px) {
    .header-home h1 {
        font: normal normal bold 35px / 46px Lucida Grande;
        letter-spacing: 0px;
        color: #002D5E;
    }

    .header-home h2 {
        font: normal normal normal 21px / 49px Lucida Grande;
        letter-spacing: 0px;
        color: #002D5E;
    }

    .header-home .box-logo-planet {
        margin-left: 0;
    }

    .header-home .box-logo-planet img {
        width: 100%;
    }

    .header-home .box-recensioni-google p {
        font-size: 14px;
    }

    .header-home .box-recensioni-google .logo-google {
        max-width: 25px;
    }

    .title-section {
        font: normal normal bold 29px / 45px Lucida Grande;
        margin-bottom: 2rem;
    }

    section {
        padding: 4rem 15px;
    }

    .servizi-card img {
        height: 240px;
        width: 100%;
        object-fit: cover;
    }

    .img-comfort {
        max-width: 80px;
        margin: auto;
    }

    .top-nav p {
        text-align: center;
        font-size: 14px;
    }

    header .top-nav p {
        font: normal normal normal 15px / 18px Lucida Grande;
    }

    .navbar .navbar-toggler {
        border-color: #002D5E;
        /* bordo bottone */
    }

    .navbar .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,45,94,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    #mobileMenu .nav-link {
        color: #002D5E !important;
        text-align: center;
        font-size: 22px;
    }

    #mobileMenu .aereo-background-to-left {
        width: 100%;
        bottom: 0;
        height: unset;
    }

    .banner-chisiamo .aereo-background-to-left {
        height: 100%;
        top: 0;
        right:-10%;
    }
.banner-chisiamo{
    overflow: hidden;
}
    .banner-chisiamo h1,.faq h1 {
        font: normal normal bold 30px/56px Lucida Grande;

    }
    .faq .aereo-background-to-left {
    height: unset;
        top:unset;
    z-index: 0;
    right: 0;
    width: 100%;
    bottom: 0;
}
}