/*
Theme Name: Heard Replica
Author: Tuo Nome
Description: Tema custom per Burgeriaa
Version: 1.0
*/

/* --- 1. IMPOSTAZIONI DI BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8f8f8;
    color: #1a1a1a;
    line-height: 1.6;
}

/* --- 2. HEADER E NAVIGAZIONE --- */
.site-header {
    position: relative;
    width: 100%;
    height: 90px; /* ALTEZZA FISSA E BLINDATA */
    padding: 0 50px; /* Margini laterali, l'altezza centra il resto in automatico */
    background-color: #FAB31C;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
}

.logo a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.btn-book-header {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-book-header:hover {
    background-color: #1a1a1a;
    color: #FAB31C;
    border-color: #1a1a1a;
}

/* --- 3. SEZIONE HERO (PRIMA SCHERMATA) --- */
.hero-section {
    height: calc(100vh - 80px); /* L'altezza dello schermo MENO l'altezza stimata dell'header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background-image: linear-gradient(rgba(26,26,26,0.5), rgba(26,26,26,0.5)), url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 900px;
    color: #ffffff;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
}

/* --- BOTTONI GENERALI --- */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: #FAB31C; /* BOTTONE PRINCIPALE GIALLO */
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #1a1a1a; /* DIVENTA NERO AL PASSAGGIO */
    color: #FAB31C;
}

/* --- 4. CONTENITORI E SEZIONI INTERNE --- */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Centra il contenuto */
    padding: 0 20px;
}

section {
    padding: 100px 0; /* Spazio sopra e sotto ogni sezione */
}

/* --- 5. SEZIONE STORIA / ESSENZA --- */
.founder-section {
    background-color: #ffffff;
    text-align: center;
}

.founder-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.founder-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #444;
}

.founder-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAB31C; /* TOCCO DI GIALLO SULLA FRASE CHIAVE */
}

/* --- 6. SEZIONE FILOSOFIA --- */
.philosophy-section {
    background-color: #f8f8f8;
    text-align: center;
}

.philosophy-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.philosophy-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #444;
}

.btn-secondary {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background-color: #FAB31C; /* DIVENTA GIALLO AL PASSAGGIO */
    color: #1a1a1a;
    border-color: #FAB31C;
}

/* --- 7. SEZIONE DOVE SIAMO --- */
.locations-section {
    background-color: #ffffff;
    text-align: center;
}

.locations-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 40px; /* Spazio tra i blocchi, utile se aggiungiamo un altro locale */
}

.location-card {
    background-color: #f8f8f8;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    border-top: 4px solid #FAB31C; /* LINEA GIALLA IN CIMA ALLA CARD */
}

.location-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.location-card p {
    margin-bottom: 15px;
    color: #444;
}

.location-card .btn-primary {
    background-color: #1a1a1a;
    color: #fff;
    margin-top: 20px;
}

.location-card .btn-primary:hover {
    background-color: #FAB31C;
    color: #1a1a1a;
}

/* --- 8. FOOTER --- */
.site-footer {
    background-color: #1a1a1a; /* FOOTER NERO */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 40px 20px;
}

.site-footer h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 50px;
    color: #FAB31C; /* TITOLO FOOTER GIALLO */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #FAB31C;
}

.footer-bottom p {
    color: #888;
}

/* --- 9. RESPONSIVE BASE (PER CELLULARI) --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.2rem; }
    .header-container { padding: 20px; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    .locations-grid { flex-direction: column; align-items: center; }
}

/* --- 10. MENU OVERLAY (BARRA SUPERIORE) --- */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- ICONA HAMBURGER --- */
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px; /* Altezza totale dell'icona */
    width: 30px; /* Larghezza delle linee */
    padding: 0;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a1a1a; /* Linee dell'hamburger Nere */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover .hamburger-line {
    background-color: #ffffff; /* Diventano bianche al passaggio del mouse per farsi notare sul giallo */
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px; /* ALTEZZA IDENTICA ALL'HEADER, AL MILLIMETRO */
    padding: 0 50px; /* MARGINI IDENTICI ALL'HEADER */
    background-color: #FAB31C; /* ORA LA BARRA È GIALLA! */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%); 
    transition: all 0.4s ease;
}

/* Fix per quando sei loggato su WP */
.admin-bar .menu-overlay { 
    top: 32px; 
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overlay-nav {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.overlay-nav a {
    display: flex;
    align-items: center;
    color: #1a1a1a; /* SCRITTE NERE SUL FONDO GIALLO */
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500; /* Leggermente più spesse per leggersi meglio */
    line-height: 1;
    transition: color 0.3s;
}

.overlay-nav a:hover {
    color: #ffffff; /* DIVENTANO BIANCHE AL PASSAGGIO DEL MOUSE */
}

.close-menu {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #1a1a1a; /* LA 'X' ORA È NERA */
    font-size: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.close-menu:hover {
    color: #ffffff; /* LA 'X' DIVENTA BIANCA AL PASSAGGIO */
    transform: translateY(-50%) scale(1.1);
}

/* Adattamento per Cellulari */
@media (max-width: 768px) {
    .menu-overlay { height: 100vh; padding: 20px; }
    .overlay-nav { flex-direction: column; text-align: center; gap: 30px; margin-top: 60px; }
    .close-menu { top: 30px; right: 30px; transform: none; }
    .close-menu:hover { transform: scale(1.1); }
}

/* --- 11. PAGINA MENU --- */
.menu-main {
    background-color: #f8f8f8; /* Colore di sfondo chiaro, molto elegante */
    color: #1a1a1a; /* Testi Neri */
}

.menu-hero-section {
    background-color: #FAB31C; /* Continua il giallo dell'header */
    color: #1a1a1a; 
    padding: 20px 20px 100px 20px; 
}

.menu-hero-section h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -2px;
}

.menu-hero-section p {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 700;
    color: #1a1a1a; /* Anche il sottotitolo nero */
}

.menu-container {
    max-width: 1100px; /* L'abbiamo allargato per far respirare le due colonne */
    margin: 0 auto;
    padding: 80px 20px;
}

/* Questa è la magia che crea le due colonne */
.menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Crea esattamente due colonne uguali */
    column-gap: 60px; /* Spazio orizzontale tra la prima e la seconda colonna */
    row-gap: 10px; /* Spazio verticale tra i piatti */
}

.menu-category {
    margin-bottom: 70px;
}

.menu-category h2 {
    font-size: 2.2rem;
    text-align: center;
    border-bottom: 2px solid #1a1a1a; /* Linea Nera Sotto la Categoria */
    padding-bottom: 15px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 800;
}

.menu-item {
    margin-bottom: 30px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    border-bottom: 1px dotted #ccc; /* Linea tratteggiata stile menu classico */
}

.item-header h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    background-color: #f8f8f8; /* Stesso colore dello sfondo per coprire i puntini dietro al testo */
    padding-right: 15px;
}

.item-header small {
    font-weight: normal;
    font-size: 0.9rem;
    color: #2596be; /* DETTAGLIO AZZURRO COME RICHIESTO */
}

.item-header .price {
    font-size: 1.3rem;
    font-weight: bold;
    background-color: #f8f8f8;
    padding-left: 15px;
}

.menu-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Riquadro speciale per gli Extra */
.menu-extras {
    background-color: #1a1a1a; /* SFONDO EXTRA NERO */
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 70px;
    text-align: center;
    color: #ffffff; /* Testo Bianco */
    border-left: 5px solid #FAB31C; /* Bordo laterale Giallo */
}

.menu-extras h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #FAB31C; /* Titolo Extra in Giallo */
}

.menu-extras p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.menu-footer-info {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 30px;
    color: #666;
}

.menu-footer-info p {
    margin-bottom: 10px;
}

/* Adattamenti per cellulare */
@media (max-width: 768px) {
    .menu-hero-section h1 { font-size: 3rem; }
    .menu-extras { padding: 25px 15px; }
    
    /* Sui cellulari torna tutto in un'unica colonna per essere leggibile */
    .menu-items { 
        grid-template-columns: 1fr; 
        row-gap: 20px;
    } 
}