/* =========================================================
   IL BRONTOLONE — PAGINE PROPOSTE
   FESTE / AZIENDALE / ASPORTO
   ========================================================= */

@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;

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


/* =========================================================
   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.94);

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

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

    z-index: 1000;
}


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

    text-decoration: none;

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

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

    letter-spacing: 2px;

    transition:
        opacity 0.25s ease;
}


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


.logo-top {
    width: 52px;
    height: auto;

    display: block;
}


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

.hero-proposta {
    position: relative;

    min-height: 620px;

    padding:
        125px
        30px
        85px;

    display: flex;

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

    text-align: center;

    overflow: hidden;
}


.hero-contenuto {
    position: relative;

    z-index: 10;

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

    margin: 0 auto;
}


.sopratitolo {
    margin:
        0 0
        17px;

    color: var(--blu);

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

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

    letter-spacing: 4px;

    text-transform: uppercase;
}


.hero-proposta h1 {
    max-width: 900px;

    margin:
        0 auto
        30px;

    color: var(--blu);

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

    font-size:
        clamp(
            52px,
            7vw,
            95px
        );

    font-weight: 400;

    line-height: 0.92;

    letter-spacing: -1.5px;
}


.hero-frase {
    max-width: 700px;

    margin: 0 auto;

    color: var(--viola);

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

    font-size:
        clamp(
            25px,
            3vw,
            37px
        );

    font-style: italic;

    line-height: 1.3;
}


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

.forma {
    position: absolute;

    pointer-events: none;

    z-index: 0;
}


.forma-viola {
    width: 440px;
    height: 240px;

    top: -125px;
    left: -135px;

    background: var(--viola);

    border-radius:
        60% 40% 55% 45%
        /
        48% 52% 60% 40%;

    transform: rotate(-12deg);
}


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

    right: -240px;
    top: 130px;

    background: var(--giallo);

    border-radius:
        52% 48% 42% 58%
        /
        45% 60% 40% 55%;

    transform: rotate(8deg);
}


.forma-salvia {
    width: 350px;
    height: 230px;

    bottom: -140px;
    left: -170px;

    background: var(--salvia);

    border-radius: 50%;

    transform: rotate(10deg);
}


/* =========================================================
   TESTO PRINCIPALE
   ========================================================= */

.racconto-proposta {
    position: relative;

    width:
        min(
            950px,
            calc(100% - 60px)
        );

    margin: 0 auto;

    padding:
        110px
        0
        120px;
}


.racconto-proposta::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 360px;

    right: -320px;
    top: 180px;

    background: var(--salvia);

    border-radius: 50%;

    opacity: 0.45;

    z-index: -1;
}


.numero-sezione {
    margin:
        0 0
        15px;

    color: var(--salvia);

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

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

    letter-spacing: 3px;
}


.racconto-proposta h2 {
    max-width: 700px;

    margin:
        0 0
        45px;

    color: var(--blu);

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

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

    font-weight: 400;

    line-height: 1;
}


.testo-proposta {
    max-width: 760px;
}


.testo-proposta p {
    margin:
        0 0
        27px;

    font-size: 14px;

    line-height: 1.95;
}


.testo-proposta strong {
    color: var(--blu);

    font-weight: 700;
}


/* =========================================================
   FRASE FORTE
   ========================================================= */

.firma-proposta {
    margin-top:
        55px !important;

    color: var(--viola);

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

    font-size:
        28px !important;

    font-style: italic;

    line-height:
        1.45 !important;
}


/* =========================================================
   CTA / CONTATTI
   ========================================================= */

.spazio-futuro {
    position: relative;

    min-height: 330px;

    padding:
        80px
        25px;

    display: flex;

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

    text-align: center;

    overflow: hidden;

    background: var(--bianco);
}


.spazio-futuro::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 280px;

    left: -260px;
    bottom: -180px;

    background: var(--giallo);

    border-radius: 50%;
}


.spazio-futuro-contenuto {
    position: relative;

    z-index: 5;

    max-width: 600px;
}


.spazio-futuro-contenuto p {
    margin:
        0 0
        10px;

    color: var(--salvia);

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

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

    letter-spacing: 3px;

    text-transform: uppercase;
}


.spazio-futuro-contenuto h2 {
    margin:
        0 0
        25px;

    color: var(--viola);

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

    font-size:
        clamp(
            32px,
            4vw,
            50px
        );

    font-weight: 400;

    font-style: italic;
}


.contatti-proposta {
    display: flex;

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

    flex-wrap: wrap;

    gap: 12px;
}


.pulsante-proposta {
    padding:
        14px
        24px;

    border:
        1px solid
        var(--blu);

    color: var(--blu);

    text-decoration: none;

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

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

    letter-spacing: 1.5px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.pulsante-proposta:hover {
    background: var(--blu);

    color: var(--bianco);

    transform: translateY(-3px);
}


/* =========================================================
   ASPORTO
   ========================================================= */

.hero-asporto h1 {
    max-width: 900px;
}


.firma-asporto {
    color:
        var(--giallo) !important;
}


/* =========================================================
   GALLERIA ASPORTO
   ========================================================= */

.foto-asporto {
    position: relative;

    width: 100%;

    padding:
        85px
        35px
        95px;

    background: var(--blu);

    overflow: hidden;
}


.foto-asporto::before {
    content: "";

    position: absolute;

    width: 310px;
    height: 230px;

    top: -165px;
    right: -120px;

    background: var(--giallo);

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

    transform: rotate(15deg);

    pointer-events: none;
}


/* =========================================================
   INTRO GALLERIA
   ========================================================= */

.foto-asporto-intro {
    position: relative;

    z-index: 2;

    width:
        min(
            1100px,
            100%
        );

    margin:
        0 auto
        45px;

    text-align: center;
}


.foto-asporto-intro p {
    margin:
        0 0
        10px;

    color: var(--salvia);

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

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

    letter-spacing: 3px;
}


.foto-asporto-intro h2 {
    margin: 0;

    color: var(--bianco);

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

    font-size:
        clamp(
            36px,
            4vw,
            52px
        );

    font-weight: 400;

    font-style: italic;

    line-height: 1.05;
}


/* =========================================================
   4 FOTO ASPORTO
   ========================================================= */

.foto-asporto-griglia {
    position: relative;

    z-index: 2;

    width:
        min(
            1050px,
            100%
        );

    margin: 0 auto;

    display: grid;

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

    gap: 14px;
}


.foto-asporto-card {
    position: relative;

    width: 100%;

    aspect-ratio:
        4 / 3;

    overflow: hidden;

    background:
        rgba(255,255,255,0.08);
}


.foto-asporto-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.6s ease;
}


.foto-asporto-card:hover img {
    transform: scale(1.05);
}


/* LINEE COLORATE */

.foto-asporto-card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: var(--giallo);
}


.foto-asporto-card:nth-child(2)::after {
    background: var(--salvia);
}


.foto-asporto-card:nth-child(3)::after {
    background: var(--viola);
}


.foto-asporto-card:nth-child(4)::after {
    background: var(--giallo);
}


/* =========================================================
   NOTA ASPORTO
   ========================================================= */

.nota-foto-asporto {
    position: relative;

    z-index: 2;

    max-width: 650px;

    margin:
        30px auto
        0;

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

    font-size: 10px;

    line-height: 1.7;

    text-align: center;
}


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

.footer-brontolone {
    position: relative;

    width: 100%;

    background: var(--blu);

    color: var(--bianco);

    overflow: hidden;
}


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

    margin: 0 auto;

    display: grid;

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


.footer-box {
    position: relative;

    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);

    transition:
        background-color 0.35s ease;
}


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


a.footer-box:hover {
    background:
        rgba(255,255,255,0.07);
}


.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;
}


/* =========================================================
   TELEFONO
   ========================================================= */

.footer-phone {
    display: block;

    width: fit-content;

    text-decoration: none;

    transition:
        opacity 0.25s ease;
}


.footer-phone:hover {
    opacity: 0.55;
}


/* =========================================================
   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;
}


/* =========================================================
   LUNEDÌ 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-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;
}


.footer-prenota:hover {
    background:
        var(--salvia) !important;
}


/* =========================================================
   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) {

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


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

        max-width: 700px;
    }

}


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

@media (max-width: 700px) {

    .top-bar {
        height: 54px;

        padding:
            0
            16px;
    }


    .logo-top {
        width: 45px;
    }


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

        padding:
            100px
            20px
            65px;
    }


    .hero-proposta h1 {
        font-size: 52px;
    }


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


    .racconto-proposta {
        width:
            calc(100% - 36px);

        padding:
            70px
            0
            80px;
    }


    .racconto-proposta h2 {
        font-size: 39px;
    }


    .testo-proposta p {
        font-size: 12px;

        line-height: 1.8;
    }


    .firma-proposta {
        font-size:
            23px !important;
    }


    .contatti-proposta {
        flex-direction: column;
    }


    .pulsante-proposta {
        min-width: 220px;

        text-align: center;
    }


    .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;
    }

}


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

@media (max-width: 600px) {

    .foto-asporto {
        padding:
            65px
            18px
            70px;
    }


    .foto-asporto-intro {
        margin-bottom: 35px;
    }


    .foto-asporto-intro h2 {
        font-size: 34px;
    }


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

        gap: 8px;
    }


    .foto-asporto-card {
        aspect-ratio:
            1 / 1;
    }


    .nota-foto-asporto {
        margin-top: 24px;

        font-size: 9px;
    }

}