/* Mamma Mia Pizza & Pasta - Shared styles */

:root {
  --tomato: #C8202A;
  --tomato-deep: #9E1620;
  --basil: #1F6B3A;
  --basil-deep: #144A28;
  --cream: #F7EFE0;
  --cream-warm: #EFE4CE;
  --charcoal: #2A1810;
  --charcoal-soft: #4A3324;
  --gold: #D9A441;
  --gold-deep: #B8842A;
  --paper: #FBF6EA;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(42, 24, 16, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 24, 16, 0.12);
  --shadow-lg: 0 20px 50px rgba(42, 24, 16, 0.18);

  --radius: 6px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* -------------- Type -------------- */
.display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
.serif { font-family: var(--font-serif); }
.serif-i { font-family: var(--font-serif); font-style: italic; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; color: var(--charcoal); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

/* -------------- Nav -------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 239, 224, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  padding: 18px 0;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(247, 239, 224, 0.94);
  border-bottom-color: rgba(42, 24, 16, 0.08);
  box-shadow: 0 4px 20px rgba(42, 24, 16, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.35s ease;
}
.nav-logo img {
  height: 64px;
  width: auto;
  transition: height 0.35s ease;
}
.nav.scrolled .nav-logo img { height: 46px; }
.nav-logo .word {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--tomato);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--tomato);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--tomato); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tomato);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(200, 32, 42, 0.28);
}
.nav-cta:hover {
  background: var(--tomato-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 32, 42, 0.35);
}
.nav-cta::after { display: none !important; }
.nav-order {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 14px rgba(217, 164, 65, 0.28);
}
.nav-order:hover {
  background: var(--gold-deep);
  box-shadow: 0 6px 18px rgba(217, 164, 65, 0.38);
}
.hamburger { display: none; }

/* -------------- Floating Order Button -------------- */
.float-order {
  position: fixed;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tomato);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(200, 32, 42, 0.38);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.float-order:hover {
  background: var(--tomato-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 32, 42, 0.45);
}
.float-order::after { display: none !important; }

/* -------------- Buttons -------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--tomato);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 32, 42, 0.32);
}
.btn-primary:hover {
  background: var(--tomato-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 32, 42, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--charcoal);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-green {
  background: var(--basil);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 107, 58, 0.28);
}
.btn-green:hover {
  background: var(--basil-deep);
  transform: translateY(-2px);
}

/* -------------- Flag divider -------------- */
.flag-divider {
  height: 14px;
  background: repeating-linear-gradient(
    45deg,
    var(--basil) 0 14px,
    #fff 14px 28px,
    var(--tomato) 28px 42px,
    #fff 42px 56px
  );
  width: 100%;
}

/* -------------- Sections -------------- */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-top: 14px;
  color: var(--charcoal);
}
.section-head h2 em { font-style: italic; color: var(--tomato); }
.section-head p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--charcoal-soft);
  font-size: 17px;
  text-wrap: pretty;
}

/* Greek meander accent */
.meander {
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' fill='none' stroke='%23C8202A' stroke-width='2'><path d='M0 4 L14 4 L14 16 L4 16 L4 10 L18 10'/></svg>");
  background-repeat: repeat-x;
  background-size: auto 20px;
  opacity: 0.4;
}

/* -------------- Footer -------------- */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-logo img { height: 92px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.footer h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-weight: 400;
}
.footer p, .footer a, .footer li {
  color: rgba(247, 239, 224, 0.82);
  font-size: 15px;
  line-height: 1.85;
}
.footer ul { list-style: none; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(247, 239, 224, 0.12);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(247, 239, 224, 0.6);
}

/* -------------- Responsive -------------- */
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .container { padding: 0 22px; }
  .nav { padding: 10px 0; }
  .nav-links { display: none; }
  .nav-logo { display: none; }
  .nav-inner { gap: 10px; }
  .nav-cta {
    display: inline-flex;
    flex: 1;
    justify-content: center;
    padding: 11px 12px;
    font-size: 13px;
    border-radius: 8px;
  }
  .float-order { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
