/* ═══════════════════════════════════════════════════════
   Stromboli Kitchens — Shared Stylesheet
   Used by: gallery.html, articles/articles.html
   ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────── */
:root {
  --burnt-orange: #CC4A1A;
  --orange-bright: #EE4E34;
  --peach-light:  #FDDCC4;
  --peach-mid:    #F5A97A;
  --peach-pale:   #FEF3EA;
  --cream:        #FFFAF5;
  --dark:         #1A100A;
  --dark-mid:     #3B1E10;
  --text:         #2C160A;
  --text-muted:   #7A5640;
  --white:        #FFFFFF;
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --radius:       4px;
  --shadow:       0 8px 40px rgba(204,74,26,.12);
  --shadow-lg:    0 24px 80px rgba(204,74,26,.18);
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }

/* ─── Nav ────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(255,250,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(204,74,26,.1);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 900;
  color: var(--burnt-orange); letter-spacing: -.01em;
}
.nav-logo span { color: var(--dark); }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--burnt-orange); }
.nav-cta {
  background: var(--burnt-orange) !important;
  color: var(--white) !important;
  padding: .6rem 1.4rem; border-radius: var(--radius);
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--orange-bright) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: .3s; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--dark); transition: color .2s;
}
.mobile-nav a:hover { color: var(--burnt-orange); }
.mobile-nav-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; cursor: pointer; background: none; border: none; color: var(--dark);
}

/* ─── Page Header (inner pages) ─────────────────────── */
.page-header {
  padding: 9rem 4rem 5rem;
  background: var(--dark);
  text-align: center;
}
.page-header .section-label { color: var(--peach-mid); }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900; color: var(--white);
  letter-spacing: -.02em; line-height: 1.1;
  margin: .5rem 0 1rem;
}
.page-header p { color: rgba(255,255,255,.55); font-size: 1.05rem; font-weight: 300; max-width: 540px; margin: 0 auto; }

/* ─── Section helpers ────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--burnt-orange); margin-bottom: .75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--dark);
  line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.75;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--burnt-orange); color: var(--white);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(204,74,26,.3);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(204,74,26,.4); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(204,74,26,.3); color: var(--burnt-orange);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--burnt-orange); background: rgba(204,74,26,.05); transform: translateY(-2px); }
.btn-white {
  display: inline-block;
  background: var(--white); color: var(--burnt-orange);
  padding: .9rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.18); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 4rem 4rem 2.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul a:hover { color: var(--peach-mid); }
.footer-col ul li { font-size: .875rem; color: rgba(255,255,255,.5); }
.social-links { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: background .2s, color .2s;
}
.social-link:hover { background: var(--burnt-orange); color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.25); transition: color .2s; }
.footer-legal a:hover { color: var(--peach-mid); }

/* ─── Scroll Reveal ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── WhatsApp Float ─────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.55); }

/* ─── Responsive helpers ─────────────────────────────── */
@media (max-width: 1024px) {
  .site-nav { padding: 1rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-header { padding: 8rem 2rem 4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer { padding: 3rem 2rem 2rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
