/* =========================================================
   IL BRONTOLONE — PRENOTA
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');


:root {
    --blu: #15516d;
    --viola: #4c2554;
    --giallo: #eab341;
    --salvia: #a1c0b8;

    --sfondo: #f8f6f1;
    --bianco: #ffffff;
    --testo: #303030;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--sfondo);

    color: var(--testo);

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 58px;

    padding: 0 28px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background:
        rgba(248,246,241,0.95);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-bottom:
        1px solid
        rgba(21,81,109,0.07);

    z-index: 1000;
}


.home-link {
    color: var(--blu);

    text-decoration: none;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    transition: opacity 0.25s ease;
}


.home-link:hover {
    opacity: 0.5;
}


.logo-top {
    display: block;

    width: 52px;
    height: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-prenota {
    position: relative;

    width: 100%;
    min-height: 610px;

    padding:
        120px
        25px
        80px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;
}


.hero-contenuto {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 780px;

    margin: 0 auto;
}


.sopratitolo {
    margin:
        0 0
        15px;

    color: var(--blu);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 4px;
}


.hero-prenota h1 {
    margin:
        0 0
        30px;

    color: var(--blu);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            65px,
            9vw,
            110px
        );

    font-weight: 400;

    line-height: 0.9;
}


.hero-frase {
    margin:
        0 auto
        20px;

    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            26px,
            3vw,
            38px
        );

    font-style: italic;

    line-height: 1.3;
}


.hero-testo {
    max-width: 530px;

    margin: 0 auto;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   FORME
   ========================================================= */

.forma {
    position: absolute;

    pointer-events: none;

    z-index: 0;
}


.forma-viola {
    width: 420px;
    height: 230px;

    top: -125px;
    left: -130px;

    background: var(--viola);

    border-radius:
        58% 42% 54% 46%
        /
        48% 55% 45% 52%;

    transform: rotate(-12deg);
}


.forma-gialla {
    width: 330px;
    height: 450px;

    right: -230px;
    top: 140px;

    background: var(--giallo);

    border-radius:
        55% 45% 40% 60%
        /
        45% 60% 40% 55%;
}


.forma-salvia {
    width: 330px;
    height: 210px;

    bottom: -130px;
    left: -160px;

    background: var(--salvia);

    border-radius: 50%;
}


/* =========================================================
   SEZIONE PRENOTAZIONE
   ========================================================= */

.prenotazione {
    width:
        min(
            1150px,
            calc(100% - 60px)
        );

    margin: 0 auto;

    padding:
        100px
        0
        115px;
}


.prenotazione-intro {
    max-width: 700px;

    margin:
        0 auto
        55px;

    text-align: center;
}


.numero {
    margin:
        0 0
        12px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


.prenotazione-intro h2 {
    margin:
        0 0
        24px;

    color: var(--blu);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            62px
        );

    font-weight: 400;

    line-height: 1;
}


.prenotazione-intro p {
    max-width: 520px;

    margin: 0 auto;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   3 CARD
   ========================================================= */

.prenotazione-griglia {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.prenota-card {
    min-height: 380px;

    padding:
        42px
        34px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.prenota-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px
        rgba(0,0,0,0.10);
}


.prenota-label {
    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 3px;
}


.prenota-card h3 {
    margin:
        55px
        0
        20px;

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            30px,
            3.5vw,
            42px
        );

    font-weight: 400;

    line-height: 1.05;
}


.prenota-card p {
    margin:
        0
        0
        40px;

    max-width: 290px;

    font-size: 12px;

    line-height: 1.8;
}


.prenota-azione {
    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* BLU */

.card-blu {
    background: var(--blu);

    color: var(--bianco);
}


.card-blu .prenota-label {
    color: var(--salvia);
}


/* SALVIA */

.card-salvia {
    background: var(--salvia);

    color: var(--blu);
}


.card-salvia .prenota-label {
    color: var(--viola);
}


/* GIALLO */

.card-giallo {
    background: var(--giallo);

    color: var(--viola);
}


.card-giallo .prenota-label {
    color: var(--blu);
}


/* =========================================================
   NOTA PRENOTAZIONE
   ========================================================= */

.nota-prenotazione {
    width: 100%;

    padding:
        90px
        25px;

    background: var(--viola);

    color: var(--bianco);

    text-align: center;
}


.nota-contenuto {
    max-width: 650px;

    margin: 0 auto;
}


.nota-label {
    margin:
        0 0
        14px;

    color: var(--giallo);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}


.nota-contenuto h2 {
    margin:
        0 0
        22px;

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            40px,
            5vw,
            58px
        );

    font-weight: 400;

    font-style: italic;

    line-height: 1.05;
}


.nota-contenuto > p:last-child {
    max-width: 530px;

    margin: 0 auto;

    color:
        rgba(255,255,255,0.76);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   CHIUSURA
   ========================================================= */

.chiusura-prenota {
    width: 100%;

    min-height: 320px;

    padding:
        70px
        25px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: var(--bianco);

    text-align: center;
}


.chiusura-prenota p {
    margin:
        0 0
        10px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}


.chiusura-prenota h2 {
    margin: 0;

    color: var(--blu);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            56px
        );

    font-weight: 400;

    font-style: italic;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-brontolone {
    width: 100%;

    background: var(--blu);

    color: var(--bianco);
}


.footer-info {
    width:
        min(
            1280px,
            100%
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr
        1.25fr;
}


.footer-box {
    min-height: 190px;

    padding:
        38px
        32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: var(--bianco);

    text-decoration: none;

    border-right:
        1px solid
        rgba(255,255,255,0.16);
}


.footer-box:last-child {
    border-right: none;
}


.footer-label {
    margin-bottom: 16px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 3px;
}


.footer-title {
    color: var(--bianco);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 23px;

    line-height: 1.2;

    text-decoration: none;
}


.footer-small {
    margin-top: 5px;

    color:
        rgba(255,255,255,0.72);

    font-size: 11px;

    text-decoration: none;
}


.footer-action {
    margin-top: 25px;

    color:
        rgba(255,255,255,0.65);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1.5px;
}


/* TELEFONI */

.footer-phone {
    display: block;

    width: fit-content;

    text-decoration: none;
}


/* CHIAMACI */

.footer-call,
.footer-call:visited,
.footer-call:active {
    display: inline-block;

    width: fit-content;

    color:
        rgba(255,255,255,0.65);

    text-decoration: none;
}


.footer-call:hover {
    color: var(--giallo);

    text-decoration: none;
}


/* RIPOSO */

.footer-riposo {
    margin-top: 14px;

    color: var(--giallo);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* PRENOTAZIONE FOOTER */

.footer-prenota {
    background: var(--giallo);

    color: var(--viola);
}


.footer-prenota .footer-label,
.footer-prenota .footer-action {
    color: var(--viola);
}


.footer-prenota-title {
    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 36px;

    font-style: italic;
}


/* FASCIA VIOLA */

.footer-bottom {
    min-height: 100px;

    padding:
        27px
        40px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: var(--viola);
}


.footer-brand {
    font-family:
        "Montserrat",
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.footer-brand span {
    display: block;

    margin-top: 5px;

    color:
        rgba(255,255,255,0.55);

    font-size: 7px;

    letter-spacing: 3px;
}


.footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,0.75);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 16px;

    font-style: italic;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .prenotazione {
        width:
            calc(100% - 40px);
    }


    .prenotazione-griglia {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .prenota-card:last-child {
        grid-column:
            1 / -1;

        min-height: 300px;
    }


    .footer-info {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .top-bar {
        height: 54px;

        padding:
            0
            16px;
    }


    .logo-top {
        width: 45px;
    }


    .hero-prenota {
        min-height: 520px;

        padding:
            95px
            20px
            65px;
    }


    .hero-prenota h1 {
        font-size: 58px;
    }


    .hero-frase {
        font-size: 23px;
    }


    .hero-testo {
        font-size: 12px;
    }


    .forma-viola {
        width: 260px;
        height: 145px;

        left: -110px;
        top: -85px;
    }


    .forma-gialla {
        width: 210px;
        height: 300px;

        right: -170px;
        top: 160px;
    }


    .forma-salvia {
        width: 220px;
        height: 150px;

        bottom: -90px;
        left: -140px;
    }


    .prenotazione {
        width:
            calc(100% - 30px);

        padding:
            70px
            0
            80px;
    }


    .prenotazione-intro {
        margin-bottom: 40px;
    }


    .prenotazione-intro h2 {
        font-size: 40px;
    }


    .prenotazione-griglia {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .prenota-card,
    .prenota-card:last-child {
        grid-column: auto;

        min-height: 310px;

        padding:
            34px
            27px;
    }


    .prenota-card h3 {
        margin-top: 40px;

        font-size: 32px;
    }


    .nota-prenotazione {
        padding:
            70px
            20px;
    }


    .nota-contenuto h2 {
        font-size: 38px;
    }


    .footer-info {
        grid-template-columns: 1fr;
    }


    .footer-box {
        min-height: 150px;

        padding:
            28px
            25px;

        border-right: none;

        border-bottom:
            1px solid
            rgba(255,255,255,0.15);
    }


    .footer-bottom {
        padding:
            27px
            25px;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

}