/*
Theme Name:  Avvio Kitchen
Theme URI:   https://avviokitchen.com
Author:      Digital Sun Technologies
Author URI:  https://digitalsuntechnologies.com
Description: A custom WordPress theme for Avvio Kitchen — Neapolitan Pizza & Italian Cuisine restaurant. Dark Italian aesthetic with forest green, antique gold and cream palette. Designed to match the Localita Elementor kit layout.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avvio-kitchen
Tags:        restaurant, food, dark, custom-menu, featured-images, full-width-template
*/

/* ═══════════════════════════════════════════════════
   AVVIO KITCHEN — WordPress Theme Stylesheet
   Brand: Forest Green · Antique Gold · Cream · Near-Black
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Cinzel:wght@400;500;600&family=Lato:wght@300;400;700&display=swap');

:root {
  --forest:       #1A3D2B;
  --forest-dark:  #0F2419;
  --forest-mid:   #224D38;
  --gold:         #B8942A;
  --gold-light:   #D4AD47;
  --gold-pale:    #E8CC7A;
  --cream:        #F0E8D0;
  --cream-light:  #FAF6EC;
  --near-black:   #0D0D0D;
  --dark-bg:      #111111;
  --dark-card:    #181818;
  --dark-card2:   #1E1E1E;
  --white:        #FFFFFF;
  --muted:        rgba(240,232,208,0.55);
  --muted-light:  rgba(240,232,208,0.35);
  --green-cta:    #2D7A4F;
  --green-hover:  #3A9660;
  --border-gold:  rgba(184,148,42,0.25);
  --border-gold-s:rgba(184,148,42,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark-bg);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
  color: var(--cream-light);
}

/* ── Utility ── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm   { max-width: 820px;  margin: 0 auto; padding: 0 2rem; }
.section        { padding: 5rem 0; }
.section-sm     { padding: 3rem 0; }
.section-dark   { background: var(--near-black); }
.section-card   { background: var(--dark-card); }
.text-center    { text-align: center; }
.text-gold      { color: var(--gold); }
.text-cream     { color: var(--cream-light); }
.text-muted     { color: var(--muted); }
.mt-1 { margin-top: 1rem; }   .mt-2 { margin-top: 2rem; }   .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }.mb-2 { margin-bottom: 2rem; }.mb-3 { margin-bottom: 3rem; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

/* ── Section title ── */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cream-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Italian flag bar ── */
.flag-bar {
  display: inline-flex;
  width: 60px; height: 3px;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 2px;
}
.flag-bar span { flex: 1; }
.flag-g { background: #2D7A4F; }
.flag-w { background: #FFFFFF; }
.flag-r { background: #C0392B; }
.flag-bar-center { display: flex; justify-content: center; }

/* ── Gold rule ── */
.gold-rule { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* ── Ornament ── */
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0.5rem 0; }
.ornament-line { width: 40px; height: 2px; background: #C0392B; }
.ornament-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-light); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  line-height: 1;
}
.btn:active { transform: scale(0.98); }
.btn-gold    { background: var(--gold);     color: var(--near-black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-green   { background: var(--green-cta); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--near-black); }
.btn-full { display: block; width: 100%; text-align: center; }

/* ── Forms ── */
.form-group  { margin-bottom: 1.25rem; }
.form-label  { display: block; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 0.4rem; font-family: 'Cinzel', serif; }
.form-input  {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: rgba(240,232,208,0.25); }
textarea.form-input { resize: vertical; min-height: 130px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-full   { grid-column: 1 / -1; }

/* ── Menu price rows ── */
.menu-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}
.menu-row:last-child { border-bottom: none; }
.menu-row-name  { font-size: 0.9rem; color: var(--cream); }
.menu-row-desc  { font-size: 0.75rem; color: var(--muted); display: block; }
.menu-row-price { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--gold); white-space: nowrap; }

/* ── Social links ── */
.social-links { display: flex; gap: 0.75rem; align-items: center; }
.social-link  {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--cream);
  transition: background 0.2s, border-color 0.2s;
}
.social-link:hover { background: var(--green-cta); border-color: var(--green-cta); color: #fff; }

/* ── Stars ── */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  height: 320px;
  background: linear-gradient(135deg, #0F2419 0%, #1A3D2B 50%, #111 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--cream-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}
.breadcrumb { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover, .breadcrumb span.sep ~ a { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); margin: 0 0.5rem; }

/* ── Photo strip ── */
.photo-strip { display: grid; grid-template-columns: repeat(5,1fr); }
.photo-strip-item {
  height: 190px;
  background: var(--dark-card2);
  position: relative; overflow: hidden;
}
.photo-strip-item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: background 0.3s; }
.photo-strip-item:hover::after { background: rgba(0,0,0,0.05); }

/* Photo bg colours (replaced with real images via WP featured images) */
.food-photo-1 { background: linear-gradient(135deg,#3D1A0A,#8B3A1A,#2C1A0A); }
.food-photo-2 { background: linear-gradient(135deg,#1A2D0A,#3A5A1A,#0A1A05); }
.food-photo-3 { background: linear-gradient(135deg,#2A1A0A,#6B3A1A,#3D2A1A); }
.food-photo-4 { background: linear-gradient(135deg,#0A1A2D,#1A3A5A,#0A0D1A); }
.food-photo-5 { background: linear-gradient(135deg,#2D1A1A,#5A2A1A,#1A0A0A); }
.food-photo-6 { background: linear-gradient(135deg,#1A3D1A,#2A5A2A,#0A1A0A); }
.food-photo-7 { background: linear-gradient(135deg,#3D2A0A,#8B6A1A,#2A1A0A); }
.food-photo-8 { background: linear-gradient(135deg,#1A0A2D,#3A1A5A,#0A0A1A); }

/* ── WP alignment helpers ── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter{ display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.78rem; color: var(--muted); text-align: center; padding-top: 0.4rem; }

/* ── The Content (WP editor output) ── */
.entry-content h2, .entry-content h3 { color: var(--cream-light); margin: 2rem 0 1rem; text-transform: uppercase; letter-spacing: 0.03em; }
.entry-content p  { color: var(--muted); margin-bottom: 1.25rem; line-height: 1.85; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; color: var(--muted); margin-bottom: 1.25rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; color: var(--muted); margin-bottom: 1.25rem; }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  background: rgba(184,148,42,0.05);
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
}
.entry-content a { color: var(--gold); }
.entry-content a:hover { color: var(--gold-light); }
.entry-content img { border: 1px solid var(--border-gold); margin: 1rem 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .form-grid-2     { grid-template-columns: 1fr; }
  .photo-strip     { grid-template-columns: repeat(3,1fr); }
  .photo-strip-item:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section   { padding: 3.5rem 0; }
  .photo-strip { grid-template-columns: repeat(2,1fr); }
  .photo-strip-item:nth-child(n+3) { display: none; }
  .btn { padding: 0.85rem 1.5rem; }
}
