/* ==========================================================================
   MARLOWS KITCHEN — styles.css
   Palette: navy / orange / white, taken from the existing Marlows flyers
   ========================================================================== */

:root {
  --navy:        #0E1E33;   /* main background */
  --navy-deep:   #0A1526;   /* footer / darker panels */
  --navy-panel:  #172B4D;   /* raised cards & panels */
  --navy-line:   #24395F;   /* borders / dividers */
  --orange:      #F7941E;   /* Marlows orange */
  --orange-dark: #DE7F0C;   /* hover state */
  --white:       #FFFFFF;
  --cream:       #F4EDE1;   /* soft body text on navy */
  --muted:       #A9B4C7;   /* secondary text */

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Karla', 'Helvetica Neue', Arial, sans-serif;

  --container: 1120px;
  --radius: 14px;
  --transition: 0.25s ease;
}

/* ---------- Reset & base (mobile-first) ---------- */

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 9vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.4rem); letter-spacing: 0.04em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--cream); max-width: 46ch; }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  padding: 0.85rem 1.9rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--orange); color: var(--navy-deep); }
.btn-solid:hover { background: var(--orange-dark); color: var(--navy-deep); }

.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.brand:hover { color: var(--white); }

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--white);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--orange); }

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--cream);
  padding: 0.4rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--orange); }

.nav-cta { display: none; }

/* Mobile menu */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--navy-line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--navy-line);
  background: var(--navy-deep);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0.5rem 20px 1.2rem; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--cream);
  border-bottom: 1px solid var(--navy-line);
}
.mobile-menu a.active { color: var(--orange); }

/* ---------- Marquee ticker (signature element) ---------- */

.ticker {
  overflow: hidden;
  background: var(--orange);
  padding: 0.55rem 0;
  border-top: 3px solid var(--navy-deep);
  border-bottom: 3px solid var(--navy-deep);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  color: var(--navy-deep);
  white-space: nowrap;
  padding-right: 2.2rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(247, 148, 30, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(23, 43, 77, 0.9), transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--orange);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
.section-alt { background: var(--navy-deep); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }

.section-head { margin-bottom: 2.4rem; max-width: 62ch; }
.section-head p { margin-top: 0.9rem; color: var(--muted); }

/* ---------- Food grid ---------- */

.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.food-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-line);
  background: var(--navy-panel);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.food-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.food-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.food-card:hover img { transform: scale(1.05); }

.food-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(10, 21, 38, 0.95), transparent);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  color: var(--white);
}
.food-card figcaption small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  color: var(--orange);
}

/* Graphic card for items without photos */
.food-card--graphic {
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(247, 148, 30, 0.07) 14px 28px),
    var(--navy-panel);
}

/* ---------- "New things" split ---------- */

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-line);
}
.split-photo img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: baseline; }
.checklist li::before {
  content: '»';
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- Location strip ---------- */

.location-strip {
  background: var(--orange);
  color: var(--navy-deep);
  padding: 2.2rem 0;
}
.location-strip .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.location-strip strong {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem);
  display: block;
}
.location-strip .btn-navy {
  background: var(--navy-deep);
  color: var(--white);
}
.location-strip .btn-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- About page ---------- */

.about-hero { padding: 4.5rem 0 3rem; }

.timeline {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
}
.timeline-card {
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 1.4rem 1.4rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.4); }
.timeline-card h3 { margin-bottom: 0.5rem; }
.timeline-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Menu page ---------- */

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.8rem 0 0;
}
.menu-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--cream);
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-nav a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
}

.menu-section { padding: 3rem 0 0.5rem; scroll-margin-top: 90px; }

.menu-section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 0.7rem;
  margin-bottom: 1.6rem;
}
.menu-section-head p { color: var(--muted); font-size: 0.95rem; }

.menu-items {
  display: grid;
  gap: 0.4rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding: 0.9rem 0.9rem;
  border-radius: 10px;
  transition: background var(--transition);
}
.menu-item:hover { background: var(--navy-panel); }

.menu-item h3 { font-size: 1.05rem; }

.menu-item .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange);
  white-space: nowrap;
}

.menu-item p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.menu-note {
  margin: 3rem 0 0;
  padding: 1.3rem 1.4rem;
  background: var(--navy-panel);
  border: 1px dashed var(--navy-line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.info-card {
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}
.info-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.info-card h3 { color: var(--orange); margin-bottom: 0.7rem; }
.info-card p, .info-card li { color: var(--cream); }
.info-card ul { list-style: none; display: grid; gap: 0.4rem; }
.info-card a { color: var(--white); }
.info-card a:hover { color: var(--orange); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.35rem 0; border-bottom: 1px solid var(--navy-line); font-size: 0.98rem; }
.hours-table td:last-child { text-align: right; color: var(--muted); }

.map-wrap {
  margin-top: 2.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(0.9);
}

.contact-cta {
  text-align: center;
  padding: 4rem 0;
}
.contact-cta .btn { margin-top: 1.6rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--orange);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.footer-brand img {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--white);
}
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
.site-footer h3 { font-size: 0.95rem; letter-spacing: 0.18em; color: var(--orange); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--orange); }
.site-footer p { color: var(--muted); font-size: 0.95rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--navy-line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .location-strip .container { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-toggle { display: none; }

  .hero { padding: 6rem 0 5.5rem; }
  .hero .container {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }

  .food-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .map-wrap iframe { height: 440px; }
}
