/*
Theme Name:     Menù QR - Aromi
Theme URI:      https://www.monkey-theatre.com/
Description:    Child theme di Menù QR Monkey Studio per Aromi. ### v1.1.0 (20/07/2026) Nuovo template Menu Pagine, testo introduttivo e bottone prenotazioni extra configurabili, link bottone Menu gestibile da opzioni, spaziature mobile ottimizzate.
Author:         Monkey Theatre
Author URI:     https://www.monkey-theatre.com/
Template:       menuqr-monkeystudio
Version:        1.1.0
Text Domain:    menuqr-aromi
*/

/* =========================================
   CSS PERSONALIZZATO PER QUESTO CLIENTE
   ========================================= */

/* Font Poppins */
body {
    font-family: 'Poppins', sans-serif;
    background-image: none;
}

/* Footer middle: sfondo beige, testo verde */
.site_footer__middle {
    background-color: var(--wp--preset--color--dark);
    color: var(--wp--preset--color--light);
    padding: 2rem 0;
    border-top: none;
}

.site_footer__middle a {
    color: var(--wp--preset--color--light);
}

/* Footer middle: layout centrato */
.site_footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.site_footer__bottom__social_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.site_footer__bottom__social__title {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
}

/* Icone social: cerchi verdi scuri con icone beige */
.site_footer__bottom__social__nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.site_footer__bottom__social__nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--wp--preset--color--light) !important;
    border-radius: 50%;
}

.site_footer__bottom__social__nav__item img {
    filter: brightness(0) saturate(100%) invert(83%) sepia(10%) saturate(653%) hue-rotate(10deg) brightness(95%) contrast(88%);
    width: 32px;
    height: 32px;
}

/* Footer bottom: sfondo bianco per credits */
.site_footer__bottom {
    background-color: #FFFFFF;
    color: var(--wp--preset--color--light);
    padding: 1rem 0;
    border-top: none;
}

.site_footer__bottom a {
    color: var(--wp--preset--color--light);
}

/* Cuore turchese nel footer */
.site_footer__bottom__credits img {
    filter: invert(52%) sepia(67%) saturate(465%) hue-rotate(122deg) brightness(92%) contrast(89%);
}

/* Logo responsive solo su mobile */
@media (max-width: 767px) {
    /* Homepage */
    .home_page__title {
        width: 100%;
        max-width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }

    .home_page__title img,
    .home_page__title .custom-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Header pagine interne */
    .site_header__title {
        width: 100%;
        max-width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }

    .site_header__title img,
    .site_header__title .custom-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Testo introduttivo homepage */
@media (min-width: 64rem) {
    .home_page__intro {
        width: 56%;
        margin-inline: auto;
    }
}

/* Template "Menu Pagine": il nav pagine interne resta visibile a tutte le larghezze
   (nel tema padre .home_page__nav__list viene nascosto da 64rem in su, essendo
   pensato solo per la home) */
.page-template-menu-pagine .home_page__nav__list {
    display: grid !important;
}

@media (min-width: 64rem) {
    .page-template-menu-pagine .home_page__nav__list {
        width: 50%;
        margin-inline: auto;
    }
}

/* Sezione contatti homepage */
.home_page__baffo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Spaziatura blocchi di testo: più ariosa su mobile per leggibilità
   (su desktop resta quella del tema padre, row-gap: 2.5rem) */
@media (max-width: 63.9375rem) {
    .home_page__intro {
        margin-bottom: 1.5rem;
    }

    .home_page__baffo {
        row-gap: 1.75rem;
    }

    .home_page__baffo p {
        margin: 0;
    }

    .home_page__baffo__address {
        margin-bottom: 0;
    }
}

.home_page__baffo__address {
    margin-bottom: 2rem;
}

.home_page__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

@media (min-width: 64rem) {
    .home_page__buttons {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
    }

    .home_page__buttons .btn-prenota,
    .home_page__buttons .btn-whatsapp {
        flex: 1 1 0;
        margin-top: 0;
    }
}

.btn-prenota,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    margin-top: 2rem;
    border: 2px solid var(--wp--preset--color--dark);
    border-radius: 50px;
    color: var(--wp--preset--color--dark);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: auto;
}

.btn-prenota:hover,
.btn-whatsapp:hover {
    background-color: var(--wp--preset--color--dark);
    color: var(--wp--preset--color--light);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-prenota svg {
    width: 18px;
    height: 24px;
    flex-shrink: 0;
}

/* Preparazioni: sfondo beige, testo verde, bordo verde */
.menu__list__item--preparazione {
    background-color: var(--wp--preset--color--dark);
    color: var(--wp--preset--color--light);
    border-bottom-color: var(--wp--preset--color--light);
}

/* Vini: sfondo beige, testo verde, bordo verde */
.menu__list__item--vino {
    background-color: var(--wp--preset--color--dark);
    color: var(--wp--preset--color--light);
    border-bottom-color: var(--wp--preset--color--light);
}

/* Intestazioni: bordo beige */
.menu__list__item.menu__list__item--intestazione {
    border-bottom-color: var(--wp--preset--color--dark);
}

/* Intestazioni: testo beige, bordi beige */
.menu__list__item__title.menu__list__item__intestazione {
    color: var(--wp--preset--color--dark);
    border-top: 1px solid var(--wp--preset--color--dark);
    border-bottom: 1px solid var(--wp--preset--color--dark);
}

/* Nota legale allergeni - override colori Aromi */
.allergens__nota-legale {
    background-color: color-mix(in srgb, var(--wp--preset--color--dark) 20%, transparent);
    border-top-color: var(--wp--preset--color--dark);
}

.allergens__nota-legale__link {
    color: var(--wp--preset--color--dark);
}

/* Icone azioni menu: colore beige (usa variabile theme.json) */
.menu__actions__link {
    color: var(--wp--preset--color--dark);
}

.menu__actions__link svg {
    width: 25px;
    height: 19px;
    display: block;
    translate: 0 -0.25rem;
}

/*
 * Esempio: Override del font
 * Decommenta e modifica se vuoi cambiare font
 */
/*
@font-face {
    font-family: 'NuovoFont';
    src: url('./src/fonts/NuovoFont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'NuovoFont', sans-serif;
}
*/

/*
 * Esempio: Override della texture di sfondo
 * Decommenta e modifica se vuoi cambiare texture
 */
/*
body {
    background-image:
        linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
        url('./src/img/texture.webp');
}
*/

/*
 * Esempio: Override dimensioni logo header
 */
/*
.site_header .site_brand img {
    width: 150px;
    height: auto;
}
*/
