/* =========================================================================
   Pizza Milano — Nea Ionia
   A warm, family-run neighbourhood pizzeria. Bilingual (EL / EN).
   ========================================================================= */

:root {
  /* Brand palette */
  --cream:      #FBF4E9;
  --cream-2:    #F5E9D7;
  --paper:      #FFFDF8;
  --tomato:     #C8372D;
  --tomato-dark:#9E2A22;
  --basil:      #4F7942;
  --basil-dark: #365A2E;
  --gold:       #D99A2B;
  --char:       #2B2320;
  --char-soft:  #6A5D53;
  --line:       rgba(43, 35, 32, .12);
  --line-strong:rgba(43, 35, 32, .22);

  --shadow-sm: 0 2px 10px rgba(43, 35, 32, .08);
  --shadow-md: 0 14px 40px rgba(43, 35, 32, .14);
  --shadow-lg: 0 30px 70px rgba(43, 35, 32, .20);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1160px;

  --font-display: "Alegreya", "Georgia", "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--char);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--tomato);
  margin: 0 0 14px;
}
.eyebrow.on-dark { color: var(--gold); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--tomato); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--tomato-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--char); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--tomato); color: var(--tomato); transform: translateY(-2px); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 233, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--char); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; letter-spacing: .01em; }
.brand .word span { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--char-soft); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  color: var(--char);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--tomato); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* language toggle */
.lang {
  display: inline-flex;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.lang button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 7px 13px;
  border: 0;
  background: transparent;
  color: var(--char-soft);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: var(--tomato); color: #fff; }

.nav-call { display: inline-flex; }

/* mobile nav toggle */
.hamburger { display: none; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--char); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(43,35,32,.84) 0%, rgba(43,35,32,.62) 34%, rgba(43,35,32,.30) 62%, rgba(43,35,32,.48) 100%),
    linear-gradient(180deg, rgba(43,35,32,.18) 0%, rgba(43,35,32,.32) 60%, rgba(43,35,32,.72) 100%);
}
.hero-inner { padding: 120px 0 90px; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.7rem);
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
  margin-bottom: .28em;
}
.hero p.lead {
  font-size: clamp(1.08rem, 2.3vw, 1.4rem);
  max-width: 600px;
  color: rgba(255,255,255,.94);
  margin: 0 0 32px;
  font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,121,66,.92);
  color: #fff; font-weight: 600; font-size: .82rem;
  padding: 8px 15px; border-radius: 999px; margin-bottom: 22px;
  letter-spacing: .02em;
}
.hero-badge svg { width: 16px; height: 16px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .dot { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-hint .dot::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; background:#fff; border-radius:3px; transform:translateX(-50%); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform:translate(-50%,10px);} 100%{opacity:0;} }

/* --------------------------------------------------------------- story */
.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.story-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.story-copy p { color: var(--char-soft); margin: 0 0 1.1em; max-width: 56ch; }
.story-copy p.first::first-letter {
  font-family: var(--font-display); font-weight: 800; font-size: 3.1em; line-height: .72;
  float: left; margin: .06em .12em 0 0; color: var(--tomato);
}
.story-media { position: relative; }
.story-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.story-media .tag {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--paper); color: var(--char);
  padding: 16px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.story-media .tag svg { width: 30px; height: 30px; color: var(--tomato); flex: none; }
.story-media .tag .tag-title { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.story-media .tag .tag-sub { display: block; font-size: .82rem; color: var(--char-soft); margin-top: 2px; }

/* values */
.values { background: var(--paper); border-top: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(200,55,45,.1); color: var(--tomato); margin-bottom: 18px;
}
.value:nth-child(2) .ic { background: rgba(79,121,66,.12); color: var(--basil); }
.value:nth-child(3) .ic { background: rgba(217,154,43,.15); color: var(--gold); }
.value .ic svg { width: 30px; height: 30px; }
.value h3 { font-size: 1.3rem; margin-bottom: .35em; }
.value p { color: var(--char-soft); margin: 0; font-size: .97rem; }

/* --------------------------------------------------------------- order band */
.order {
  background: linear-gradient(135deg, var(--tomato) 0%, var(--tomato-dark) 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.order::before, .order::after {
  content:""; position:absolute; border-radius:50%; background: rgba(255,255,255,.06);
}
.order::before { width: 340px; height: 340px; top: -120px; left: -80px; }
.order::after { width: 260px; height: 260px; bottom: -110px; right: -60px; }
.order .inner { position: relative; max-width: 680px; margin-inline: auto; }
.order h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.order p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin: 0 auto 30px; max-width: 54ch; }
.order .phone-big {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 26px; transition: transform .25s var(--ease);
}
.order .phone-big:hover { transform: scale(1.03); }
.order .phone-big .ring { width: 1.15em; height: 1.15em; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; padding: .28em; }
.order .phone-big svg { width: 100%; height: 100%; }
.order .btn-primary { background: #fff; color: var(--tomato); }
.order .btn-primary:hover { background: var(--cream); }

/* --------------------------------------------------------------- gallery */
.gallery { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 62px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-head p { color: var(--char-soft); margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure {
  margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative;
  aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); background: var(--cream-2);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(43,35,32,.72));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: none; }

/* --------------------------------------------------------------- visit */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: stretch; }
.visit h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }

.info-card { display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(79,121,66,.12); color: var(--basil); }
.info-row .ic svg { width: 24px; height: 24px; }
.info-row h3 { font-size: 1.12rem; margin: 2px 0 3px; font-family: var(--font-body); font-weight: 700; }
.info-row p, .info-row a { margin: 0; color: var(--char-soft); text-decoration: none; }
.info-row a:hover { color: var(--tomato); }

.hours { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.hours .hours-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; background: var(--char); color: var(--cream);
}
.hours .hours-head b { font-family: var(--font-display); font-size: 1.12rem; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.status .pip { width: 8px; height: 8px; border-radius: 50%; }
.status.open { background: rgba(79,121,66,.2); color: #BEE8B0; }
.status.open .pip { background: #7ED66A; box-shadow: 0 0 0 3px rgba(126,214,106,.25); }
.status.closed { background: rgba(200,55,45,.2); color: #F6B9B2; }
.status.closed .pip { background: #E86A5E; }
.hours ul { list-style: none; margin: 0; padding: 6px 0; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 20px; font-size: .97rem; }
.hours li + li { border-top: 1px solid var(--line); }
.hours li .day { color: var(--char); font-weight: 500; }
.hours li .time { color: var(--char-soft); font-variant-numeric: tabular-nums; }
.hours li.today { background: rgba(217,154,43,.12); }
.hours li.today .day { font-weight: 700; color: var(--tomato); }
.hours li.today .day::after { content: ""; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); min-height: 340px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.92); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--char); color: var(--cream); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand .word b { color: var(--cream); }
.footer-brand .brand .word span { color: rgba(251,244,233,.6); }
.footer-brand p { color: rgba(251,244,233,.66); max-width: 34ch; margin: 18px 0 0; font-size: .95rem; }
.footer-logo { width: 92px; height: 92px; border-radius: 16px; background: #fff; padding: 9px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.footer-since { display: inline-block; margin-top: 14px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.footer-col h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--gold); margin: 6px 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: rgba(251,244,233,.78); text-decoration: none; font-size: .95rem; margin: 0 0 10px; }
.footer-col a:hover { color: #fff; }
.footer-hours > span { display: flex; justify-content: space-between; gap: 14px; color: rgba(251,244,233,.78); font-size: .92rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(251,244,233,.14); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: rgba(251,244,233,.5); font-size: .84rem; }
.footer-bottom a { color: rgba(251,244,233,.7); }

/* floating mobile call button */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--tomato); color: #fff; display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); text-decoration: none;
  animation: fabpulse 2.4s ease-in-out infinite;
}
.fab-call svg { width: 26px; height: 26px; }
@keyframes fabpulse { 0%,100%{ box-shadow: var(--shadow-lg), 0 0 0 0 rgba(200,55,45,.5);} 50%{ box-shadow: var(--shadow-lg), 0 0 0 12px rgba(200,55,45,0);} }

/* lang visibility helper */
[data-lang-el], [data-lang-en] { display: none; }
html[lang="el"] [data-lang-el] { display: initial; }
html[lang="en"] [data-lang-en] { display: initial; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 920px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 460px; margin-inline: auto; order: -1; }
  .story-media img { aspect-ratio: 16/11; }
  .values-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav-call {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 10px 0; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav.open .nav-links { transform: none; visibility: visible; }
  .nav.open .nav-call { transform: translateY(0); visibility: visible; position: fixed; inset: auto 0 auto 0; top: 300px; align-items: center; background: transparent; box-shadow: none; }
  .nav-links a { padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hamburger { display: block; }
  .nav-right .nav-call { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figcaption { opacity: 1; transform: none; font-size: .8rem; }
  .fab-call { display: flex; }
  .story-media .tag { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 90px; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .brand .word span { display: none; }
}
