/* === Trattoria Bella — Italian Kitchen === */
:root {
    --bg: #fdfbf7;
    --bg-warm: #f6f0e6;
    --text: #2c2118;
    --text-muted: #6b5e52;
    --text-light: #9a8d80;
    --red: #8b3a3a;
    --red-light: #c75050;
    --olive: #5c6b42;
    --cream: #f5efe3;
    --gold: #b8956b;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --radius: 6px;
    --transition: .4s cubic-bezier(.25,.46,.45,.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.center { display: block; text-align: center; }

/* Typography */
.section-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); font-size: .9rem; max-width: 440px; margin: 0 auto 40px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; border-radius: var(--radius); font-size: .85rem; font-weight: 700; transition: all var(--transition); cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; border: 1px solid var(--red); }
.btn-primary:hover { background: var(--red-light); border-color: var(--red-light); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ==================== HEADER ==================== */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: all .35s; }
.header.scrolled { background: rgba(253,251,247,.97); backdrop-filter: blur(10px); box-shadow: 0 1px 16px rgba(44,33,24,.04); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }
.header .logo { color: #fff; }
.header.scrolled .logo { color: var(--red); }
.nav { display: flex; gap: 28px; }
.nav a { font-size: .82rem; color: rgba(255,255,255,.8); transition: color .3s; font-weight: 400; }
.nav a:hover { color: #fff; }
.header.scrolled .nav a { color: var(--text-muted); }
.header.scrolled .nav a:hover { color: var(--red); }
.header-cta { font-size: .78rem; padding: 8px 18px; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: var(--radius); transition: all .3s; }
.header-cta:hover { background: rgba(255,255,255,.1); }
.header.scrolled .header-cta { border-color: var(--red); color: var(--red); }
.header.scrolled .header-cta:hover { background: var(--red); color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 22px; height: 16px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: all .3s; }
.header.scrolled .nav-toggle span { background: var(--text); }

/* ==================== HERO ==================== */
.hero { height: 90vh; min-height: 560px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,33,24,.3) 0%, rgba(44,33,24,.65) 100%); }
.hero-content { position: relative; text-align: center; max-width: 600px; padding: 0 24px; }
.hero-est { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-bottom: 16px; line-height: 1.2; }
.hero-content h1 em { font-style: italic; color: var(--gold); }
.hero-content > p { color: rgba(255,255,255,.8); font-size: .92rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==================== MENU ==================== */
.section { padding: 90px 0; }
.section-warm { background: var(--bg-warm); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.menu-heading { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; color: var(--red); font-style: italic; }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed rgba(139,58,58,.12); gap: 16px; }
.menu-item:last-child { border-bottom: none; }
.item-name { display: block; font-weight: 700; font-size: .88rem; color: var(--text); }
.item-desc { display: block; font-size: .78rem; color: var(--text-light); margin-top: 2px; }
.item-price { font-family: var(--font-display); font-size: 1rem; color: var(--red); flex-shrink: 0; }

/* ==================== IMAGE BAND ==================== */
.image-band { width: 100%; height: 35vh; min-height: 240px; overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== STORY ==================== */
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.story-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.story-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.story-text p { color: var(--text-muted); font-size: .9rem; margin-bottom: 14px; }
.story-quote { margin-top: 24px; padding-left: 20px; border-left: 2px solid var(--red); }
.story-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--text); margin-bottom: 4px; }
.story-quote cite { font-size: .78rem; color: var(--text-light); font-style: normal; }

/* ==================== GALLERY SCROLL ==================== */
.gallery-scroll { overflow-x: auto; cursor: grab; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 20px 0 40px; margin-top: 24px; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll:active { cursor: grabbing; }
.gallery-track { display: flex; gap: 16px; padding: 0 max(28px, calc((100vw - 1060px)/2)); width: max-content; }
.gallery-track img { width: 320px; height: 240px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; transition: transform .4s; }
.gallery-track img:hover { transform: scale(1.02); }

/* ==================== RESERVE ==================== */
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.reserve-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 14px; }
.reserve-text > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.reserve-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reserve-detail strong { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.reserve-detail span { font-size: .86rem; color: var(--text-muted); line-height: 1.5; }

/* ==================== FOOTER ==================== */
.footer { padding: 40px 0 0; border-top: 1px solid rgba(139,58,58,.08); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; }
.footer-left .logo { color: var(--red); }
.footer-left p { font-size: .78rem; color: var(--text-light); margin-top: 6px; line-height: 1.5; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: .82rem; color: var(--text-muted); transition: color .3s; }
.footer-nav a:hover { color: var(--red); }
.footer-right { text-align: right; }
.footer-right p { font-size: .78rem; color: var(--text-light); line-height: 1.5; }
.footer-bottom { text-align: center; padding: 16px 0; margin-top: 24px; border-top: 1px solid rgba(139,58,58,.06); }
.footer-bottom p { font-size: .72rem; color: var(--text-light); }

/* ==================== ANIMATIONS ==================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--transition), transform .7s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .menu-grid { grid-template-columns: 1fr; gap: 32px; }
    .story-grid, .reserve-grid { grid-template-columns: 1fr; gap: 36px; }
    .story-img img { height: 280px; }
    .reserve-details { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .footer-right { text-align: center; }
    .footer-nav { justify-content: center; }
}
@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--bg); padding: 100px 32px; gap: 24px; z-index: 999; }
    .nav.open a { font-size: 1.1rem; color: var(--text); }
    .hero { height: 80vh; }
    .hero-content h1 { font-size: 2rem; }
    .gallery-track img { width: 260px; height: 200px; }
    .reserve-details { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}
