/*
Theme Name: Il Giardino Theme
Theme URI: https://ilgiardinodeisapori.it
Author: Il Giardino dei Sapori
Author URI: https://ilgiardinodeisapori.it
Description: Tema personalizzato per Agriturismo Il Giardino dei Sapori, ottimizzato per Elementor, cucina tipica piemontese, AIC, bio parco, eventi e cerimonie.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilgiardino
*/

/* ---------- TYPOGRAPHY ---------- */
body {
    font-family: 'Lora', serif;
    font-size: 1.5vw; /* Desktop */
    color: #000000;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* TITOLI */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    margin: 0;
    color: #0e7734; /* Verde brand */
}

h1 { font-size: 4.2vw; }
h2 { font-size: 3.1vw; }
h3 { font-size: 2.5vw; }

/* Responsive per Mobile */
@media screen and (max-width: 768px) {
    body { font-size: 5vw; }
    h1 { font-size: 7.7vw; }
    h2 { font-size: 5.6vw; }
    h3 { font-size: 5.3vw; }
}

/* LINK */
a {
    color: #b87d57;
    text-decoration: none;
}
a:hover {
    color: #0e7734;
}

/* BUTTONS */
button, .btn {
    background-color: #0e7734;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s ease;
}
button:hover, .btn:hover {
    background-color: #b87d57;
}

/* ELEMENTOR */
.elementor-section {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}
.elementor-column {
    display: inline-block;
    vertical-align: top;
}
.elementor-widget {
    margin-bottom: 25px;
}

/* NASCONDERE ELEMENTI WP */
.page-title, .entry-title,
.widget_search, .widget_pages, .widget_archive, .widget_categories, .widget_meta {
    display: none;
}

/* ACCENTI */
.accent-bg { background-color: #e4b99e; }
.accent-text { color: #e4b99e; }

/* HEADER STICKY */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff; /* Sfondo bianco */
    border-bottom: 2px solid #016D2C;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 5vw; /* Desktop header */
    padding: 0.5vw 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* LOGO DIMENSIONI */
.site-header .custom-logo {
    max-height: 4.5vw; /* Desktop logo */
    width: auto;
    height: auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .site-header {
        max-height: 12vw; /* Header mobile */
        padding: 1vw 0;
    }
    .site-header .custom-logo {
        max-height: 11vw; /* Logo mobile */
    }
}
