/* --- RESET E VARIABILI VIVACI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

:root {
    --primary: #e05a2b;
    --primary-dark: #b84118;
    --accent: #f6ae2d;        
    --text-dark: #222224;     
    --text-light: #68676c;
    --bg-white: #ffffff;
    --bg-warm: #fdfaf6;        
    --border-color: #f1eae1;   
    
    --radius-lg: 20px;         
    --radius-md: 12px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.text-center { text-align: center; }
.section-padding { padding: 90px 0; }
.bg-warm { background-color: var(--bg-warm); }

/* --- TIPOGRAFIA --- */
h1, h2, h3, h4 {
    font-weight: 800;  
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}
.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.section-title p {
    color: var(--text-light);
    font-size: 17px;
}

/* --- BOTTONI (STILE MODERNO E CORPOSO) --- */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 90, 43, 0.25);
}
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* --- HEADER --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    font-size: 26px;
}
nav ul { display: flex; gap: 30px; }
nav ul li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.2s;
}
nav ul li a:hover { color: var(--primary); }

/* --- HERO SECTION --- */
#hero {
    padding: 150px 0 130px 0; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('assets/schiacciata.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}
.hero-container {
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    background-color: var(--primary); 
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
}
#hero h1 {
    font-size: 52px;
    color: #ffffff;  
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);  
}
#hero p {
    font-size: 19px;
    color: #e3e3e5; 
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- GRID E SCHEDE DEL MENÙ --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.menu-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}
.menu-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(34, 34, 36, 0.06);
}
.highlight-card {
    border-color: var(--primary);
    background: linear-gradient(to bottom right, #ffffff, #fffdfb);
}
.card-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}
.menu-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.menu-card .ingredients {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 25px;
    min-height: 72px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-card .price {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}

/* --- SEZIONE QUALITÀ --- */
.quality-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.feature-icon {
    font-size: 32px;
    background-color: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 15px rgba(0,0,0,0.02);
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.feature-item p {
    color: var(--text-light);
    font-size: 15px;
}
.visual-placeholder {
    background-color: #f3dfd2;
    height: 350px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 18px;
    border: 3px dashed rgba(220, 90, 43, 0.2);
}

/* --- SEZIONE RECENSIONI --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
    color: var(--primary);  
    font-size: 15px;
}
 
.narrow-container { max-width: 800px; }
.narrow-container > p { font-size: 18px; color: var(--text-light); margin-bottom: 40px; }
.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.order-box {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.2s;
}
.order-box:hover { transform: translateY(-5px); }
.whatsapp-box { background-color: #e8f7f0; border: 2px solid #ccebde; color: #1e7e55; }
.delivery-box { background-color: #fff6e6; border: 2px solid #ffe6b3; color: #b37400; }
.box-icon { font-size: 40px; display: block; margin-bottom: 15px; }
.order-box h3 { font-size: 22px; margin-bottom: 10px; }
.order-box p { font-size: 15px; opacity: 0.9; }

/* --- FOOTER --- */
footer {
    background-color: #1e1e20;
    color: #e3e3e5;
    padding: 80px 0 30px 0;
    margin-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    border-bottom: 1px solid #323236;
    padding-bottom: 50px;
    margin-bottom: 30px;
}
footer h3 { color: var(--bg-white); font-size: 24px; margin-bottom: 15px; }
footer p { color: #a1a1a5; font-size: 15px; margin-bottom: 8px; }
.footer-address { color: var(--accent); font-weight: 600; }
.footer-map-placeholder { display: flex; align-items: center; justify-content: flex-end; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #727276;
}
.footer-bottom a { color: var(--accent); font-weight: 600; }

/* --- RESPONSIVE MOBILE-FIRST FIXES --- */
@media (max-width: 768px) {
    #hero h1 { font-size: 36px; }
    .hero-actions { flex-direction: column; gap: 15px; }
    .quality-container, .footer-container, .order-grid { grid-template-columns: 1fr; gap: 40px; }
    nav, .call-btn { display: none; }  
    .footer-map-placeholder { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* --- BANNER FOTOGRAFICO INTERMEDIO --- */
.photo-banner {
    height: 400px; 
    background-image: url('assets/schiacciata.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
 
@media (max-width: 768px) {
    .photo-banner {
        height: 250px; 
    }
}