/* =========================================================
   IL BRONTOLONE — HOME
   ========================================================= */

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


/* =========================================================
   COLORI
   ========================================================= */

:root {
    --blu: #164f63;
    --viola: #51245b;
    --giallo: #dfa62b;
    --salvia: #94ada5;

    --sfondo: #f8f6f1;
    --bianco: #ffffff;
    --testo: #164f63;
}


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

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    background-color: var(--sfondo);
    color: var(--testo);

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

    overflow-x: hidden;
}


/* =========================================================
   HERO / PARTE INIZIALE
   ========================================================= */

header {
    position: relative;

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

    padding: 35px 30px 55px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    overflow: hidden;
}


/* =========================================================
   FORMA VIOLA
   ========================================================= */

header::before {
    content: "";

    position: absolute;

    width: 340px;
    height: 170px;

    top: -75px;
    left: -70px;

    background-color: var(--viola);

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

    transform: rotate(-12deg);

    z-index: 0;
}


/* =========================================================
   FORMA GIALLA
   ========================================================= */

header::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 360px;

    right: -170px;
    bottom: -90px;

    background-color: var(--giallo);

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

    transform: rotate(8deg);

    z-index: 0;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-box {
    position: relative;

    z-index: 2;

    width: 230px;
    height: 155px;

    margin: 0 auto 20px;

    display: flex;

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

.logo {
    display: block;

    width: 190px;
    height: auto;

    transform: scale(1.08);
}


/* =========================================================
   CLAIM
   ========================================================= */

.claim {
    position: relative;

    z-index: 2;

    margin: 10px 0 40px;

    color: var(--giallo);

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

    font-size: 21px;
    font-style: italic;

    line-height: 1.5;
    letter-spacing: 0.5px;
}


/* =========================================================
   NAVIGAZIONE
   ========================================================= */

nav {
    position: relative;

    z-index: 2;

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

    margin: 0 auto;

    display: flex;

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

    flex-wrap: wrap;

    gap: 18px 34px;
}

nav a {
    position: relative;

    padding-bottom: 7px;

    color: var(--blu);

    text-decoration: none;
    text-transform: uppercase;

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

    letter-spacing: 2px;

    white-space: nowrap;

    transition: color 0.25s ease;
}


/* LINEA SOTTO */

nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 1px;

    background-color: var(--giallo);

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--viola);
}

nav a:hover::after {
    width: 100%;
}


/* =========================================================
   GRIGLIA PRINCIPALE
   NOI / AMBIENTE / MENU / REGALA
   ========================================================= */

.griglia {
    width: min(
        1200px,
        calc(100% - 60px)
    );

    margin: 0 auto;

    display: grid;

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

    gap: 22px;
}


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

.card {
    position: relative;

    display: block;

    width: 100%;
    height: 470px;

    overflow: hidden;

    background-color: var(--blu);

    text-decoration: none;
}


/* =========================================================
   FOTO CARD
   ========================================================= */

.card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* =========================================================
   VELO FOTO
   ========================================================= */

.card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.30)
        );

    transition: background 0.4s ease;
}


/* =========================================================
   TESTO CARD
   ========================================================= */

.card span {
    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 2;

    transform: translate(-50%, -50%);

    color: var(--bianco);

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

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

    font-weight: 400;

    text-transform: uppercase;

    letter-spacing: 3px;

    white-space: nowrap;

    text-shadow:
        0 3px 14px
        rgba(0, 0, 0, 0.30);
}


/* =========================================================
   HOVER CARD
   ========================================================= */

.card:hover img {
    transform: scale(1.045);
}

.card:hover::after {
    background:
        linear-gradient(
            to bottom,
            rgba(22,79,99,0.04),
            rgba(22,79,99,0.42)
        );
}


/* =========================================================
   COLORI CARD
   ========================================================= */

.card:nth-child(1) {
    border-bottom:
        7px solid
        var(--blu);
}

.card:nth-child(2) {
    border-bottom:
        7px solid
        var(--salvia);
}

.card:nth-child(3) {
    border-bottom:
        7px solid
        var(--viola);
}


/* REGALA */

.card:nth-child(4) {
    border-bottom:
        7px solid
        var(--giallo);
}


/* =========================================================
   PULSANTI SOTTO LA GRIGLIA
   ========================================================= */

.azioni {
    width: min(
        1000px,
        calc(100% - 40px)
    );

    margin: 45px auto 70px;

    display: grid;

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

    gap: 12px;
}


/* =========================================================
   PULSANTE BASE
   ========================================================= */

.pulsante {
    width: 100%;

    min-width: 0;
    min-height: 56px;

    padding: 14px 12px;

    display: flex;

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

    text-align: center;

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

    background: transparent;

    color: var(--blu);

    text-decoration: none;
    text-transform: uppercase;

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

    letter-spacing: 1.5px;
    line-height: 1.3;

    overflow-wrap: anywhere;

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


/* =========================================================
   SOCIAL — VIOLA
   ========================================================= */

.pulsante-social {
    border-color: var(--viola);
    color: var(--viola);
}

.pulsante-social:hover {
    background: var(--viola);
    border-color: var(--viola);

    color: var(--bianco);

    transform: translateY(-3px);
}


/* =========================================================
   GALLERIA — SALVIA
   ========================================================= */

.pulsante-galleria {
    border-color: var(--salvia);
    color: var(--blu);
}

.pulsante-galleria:hover {
    background: var(--salvia);
    border-color: var(--salvia);

    color: var(--blu);

    transform: translateY(-3px);
}


/* =========================================================
   PRENOTA — GIALLO
   ========================================================= */

.pulsante-prenota {
    border-color: var(--giallo);
    color: var(--viola);
}

.pulsante-prenota:hover {
    background: var(--giallo);
    border-color: var(--giallo);

    color: var(--viola);

    transform: translateY(-3px);
}


/* =========================================================
   DICONO DI NOI — BLU PIENO
   ========================================================= */

.pulsante-recensioni {
    background: var(--blu);

    border-color: var(--blu);

    color: var(--bianco);
}

.pulsante-recensioni:hover {
    background: var(--viola);

    border-color: var(--viola);

    color: var(--bianco);

    transform: translateY(-3px);
}


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

.footer-brontolone {
    position: relative;

    width: 100%;

    background: var(--blu);

    color: var(--bianco);

    overflow: hidden;
}


/* =========================================================
   FOOTER 4 COLONNE
   ========================================================= */

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

    margin: 0 auto;

    display: grid;

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


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

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


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

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

    color: var(--salvia);

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

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

    letter-spacing: 3px;
}


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

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

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

    font-size: 23px;
    font-weight: 400;

    line-height: 1.2;

    text-decoration: none;
}


/* =========================================================
   TESTO SECONDARIO FOOTER
   ========================================================= */

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

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

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

    font-size: 11px;

    line-height: 1.5;

    text-decoration: none;
}


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

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


/* =========================================================
   NUMERI DI TELEFONO
   ========================================================= */

.footer-phone {
    display: block;

    width: fit-content;

    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;

    cursor: pointer;
}

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

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

    color: var(--viola);
}

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

    opacity: 0.7;
}

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

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

    font-size: 36px;

    font-style: italic;

    line-height: 1;
}

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

    opacity: 0.8;
}

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


/* =========================================================
   FASCIA VIOLA
   ========================================================= */

.footer-bottom {
    width: 100%;

    min-height: 100px;

    padding: 27px 40px;

    display: flex;

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

    gap: 40px;

    background: var(--viola);
}


/* =========================================================
   BRAND
   ========================================================= */

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

    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;
    font-weight: 500;

    letter-spacing: 3px;
}


/* =========================================================
   FRASE FINALE
   ========================================================= */

.footer-bottom p {
    margin: 0;

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

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

    font-size: 16px;

    font-style: italic;
}


/* =========================================================
   SCHERMO MEDIO / TABLET
   ========================================================= */

@media (max-width: 900px) {

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

        gap: 16px;
    }

    .card {
        height: 400px;
    }

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

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

        gap: 10px;
    }

    .pulsante {
        width: 100%;

        min-width: 0;
    }

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

    .footer-box {
        border-bottom:
            1px solid
            rgba(255,255,255,0.15);
    }
}


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

@media (max-width: 700px) {

    header {
        min-height: 50vh;

        padding:
            30px
            20px
            50px;
    }

    header::before {
        width: 220px;
        height: 120px;

        top: -55px;
        left: -80px;
    }

    header::after {
        width: 220px;
        height: 260px;

        right: -145px;
        bottom: -60px;
    }

    .logo-box {
        width: 180px;
        height: 125px;

        margin-bottom: 15px;
    }

    .logo {
        width: 135px;

        transform: none;
    }

    .claim {
        margin:
            20px
            0
            35px;

        font-size: 17px;
    }

    nav {
        gap:
            12px
            22px;

        max-width: 500px;
    }

    nav a {
        font-size: 11px;

        letter-spacing: 1.4px;
    }

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

        grid-template-columns:
            1fr;

        gap: 15px;
    }

    .card {
        height: 380px;
    }

    .card span {
        font-size:
            clamp(
                38px,
                11vw,
                48px
            );

        letter-spacing: 2px;
    }

    .azioni {
        margin:
            35px auto
            60px;

        width:
            calc(100% - 30px);

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

    .pulsante {
        min-width: 0;

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

        padding:
            12px
            8px;

        font-size: 9px;

        letter-spacing: 1.2px;
    }
}


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

@media (max-width: 480px) {

    nav {
        gap:
            11px
            17px;
    }

    nav a {
        font-size: 10px;
    }

    .card {
        height: 340px;
    }

    .azioni {
        grid-template-columns:
            1fr;

        width:
            calc(100% - 36px);
    }

    .pulsante {
        width: 100%;

        min-width: 0;

        font-size: 10px;
    }
}


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

@media (max-width: 600px) {

    .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-title {
        font-size: 21px;
    }

    .footer-prenota-title {
        font-size: 32px;
    }

    .footer-action {
        margin-top: 17px;
    }

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

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .footer-bottom p {
        font-size: 14px;

        line-height: 1.4;
    }
}