/* ============================================================
   Learners Cafe — design tokens
   ============================================================ */
:root {
  --ink: #1b2a2e;
  --ink-soft: #4c5c60;
  --teal-900: #12262d;
  --teal-800: #17323f;
  --teal-700: #24475a;
  --teal-600: #2f5876;
  --gold-600: #b9832a;
  --gold-500: #d3a24c;
  --gold-300: #e8c98a;
  --cream-050: #fffdf8;
  --cream-100: #faf5ea;
  --cream-200: #f2e9d8;
  --line: rgba(23, 50, 63, 0.12);
  --shadow-sm: 0 2px 10px rgba(18, 38, 45, 0.08);
  --shadow-md: 0 16px 40px rgba(18, 38, 45, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-050);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; color: var(--teal-900); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

section { position: relative; }
.section { padding: 100px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
}
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-500); color: var(--teal-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--cream-050); border-color: rgba(250, 245, 234, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-outline { background: transparent; color: var(--teal-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal-800); }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.brand { display: flex; align-items: center; }
.brand img {
  height: 140px;
  width: 140px;
  object-fit: contain;
  background: var(--cream-050);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  padding: 6px;
  transition: height 0.3s ease, width 0.3s ease;
}
.site-header.is-scrolled .brand img { height: 96px; width: 96px; box-shadow: none; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links .btn-primary { display: none; }
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--cream-100);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.site-header.is-scrolled .nav-links a { color: var(--teal-800); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--gold-500);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 234, 0.4);
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.site-header.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--cream-050);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle::after { background: var(--teal-900); }
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 20px; }
.nav-toggle::after { top: 25px; }
.nav-toggle.is-open::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--teal-900);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--cream-100); font-size: 1.15rem; }
  .header-actions .btn-primary { display: none; }
  .nav-links .btn-primary { display: inline-flex; margin-top: 12px; }
  .nav-toggle { display: block; }
  .brand img { height: 74px; width: 74px; }
  .site-header.is-scrolled .brand img { height: 58px; width: 58px; }
}

@media (max-width: 520px) {
  .brand img { height: 60px; width: 60px; }
  .site-header.is-scrolled .brand img { height: 48px; width: 48px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, rgba(18, 38, 45, 0.55), rgba(18, 38, 45, 0.82)), url("../images/-min.jpg") center 30%/cover no-repeat;
}
.hero .container { padding-top: 120px; padding-bottom: 60px; }
.hero-content { max-width: 680px; }
.hero-content .eyebrow { color: var(--gold-300); }
.hero-content .eyebrow::before { background: var(--gold-300); }
.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--cream-050);
  font-weight: 600;
}
.hero-content h1 em { color: var(--gold-300); font-style: normal; }
.hero-content p {
  margin-top: 22px;
  font-size: 1.15rem;
  color: rgba(250, 245, 234, 0.86);
  line-height: 1.65;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream-050);
}
.hero-stats div span { font-size: 0.85rem; color: rgba(250, 245, 234, 0.7); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 245, 234, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(250, 245, 234, 0.5);
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   Intro strip
   ============================================================ */
.intro {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: 46px 0;
}
.intro .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.intro p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  max-width: 640px;
  color: var(--cream-050);
}
.intro p strong { color: var(--gold-300); font-weight: 600; }

/* ============================================================
   Category strip (breakfast categories)
   ============================================================ */
.categories { background: var(--cream-050); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.category-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--cream-050); }
.category-card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.category-card h3 { margin-top: 14px; font-size: 1.25rem; }
.category-card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   Menu section (tabs)
   ============================================================ */
.menu-section { background: var(--cream-100); }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.menu-tab {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cream-050);
  border: 1px solid var(--line);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.menu-tab:hover { border-color: var(--gold-500); }
.menu-tab.is-active { background: var(--teal-900); color: var(--cream-050); border-color: var(--teal-900); }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: fadein 0.4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.menu-note {
  font-size: 0.9rem;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 20px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4px 48px;
}
@media (max-width: 720px) {
  .menu-list { grid-template-columns: 1fr; }
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item .name { font-weight: 600; color: var(--teal-900); }
.menu-item .desc { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); margin-top: 2px; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted rgba(23, 50, 63, 0.28); transform: translateY(-5px); }
.menu-item .price { font-family: var(--font-display); font-weight: 600; color: var(--gold-600); font-size: 1.05rem; }

.menu-cta { margin-top: 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   Featured / Fast food cards
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}
.dish-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.dish-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dish-card:hover img { transform: scale(1.07); }
.dish-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 38, 45, 0) 35%, rgba(15, 26, 30, 0.92) 100%);
}
.dish-card-body { position: relative; padding: 30px; color: var(--cream-050); }
.dish-card-body .eyebrow { color: var(--gold-300); }
.dish-card-body .eyebrow::before { background: var(--gold-300); }
.dish-card-body h3 { color: var(--cream-050); font-size: 1.5rem; margin-top: 6px; }
.dish-card-body p { margin-top: 10px; font-size: 0.95rem; color: rgba(250, 245, 234, 0.85); line-height: 1.55; }
.dish-card-body a { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-300); font-size: 0.9rem; }
.dish-card-body a:hover { text-decoration: underline; }

/* ============================================================
   Delivery / CTA band
   ============================================================ */
.delivery {
  background: var(--teal-900);
  color: var(--cream-100);
  overflow: hidden;
}
.delivery .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.delivery-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.delivery-media img { width: 100%; height: 100%; object-fit: cover; }
.delivery-copy .section-head { margin-bottom: 30px; }
.delivery-copy .section-head h2, .delivery-copy .section-head p { color: var(--cream-050); }
.delivery-copy .section-head p { color: rgba(250, 245, 234, 0.78); }
.delivery-points { display: grid; gap: 18px; margin-bottom: 36px; }
.delivery-points li { display: flex; gap: 14px; align-items: flex-start; }
.delivery-points .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(211, 162, 76, 0.16);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
}
.delivery-points strong { display: block; color: var(--cream-050); }
.delivery-points span { font-size: 0.9rem; color: rgba(250, 245, 234, 0.7); }

@media (max-width: 860px) {
  .delivery .container { grid-template-columns: 1fr; }
  .delivery-media { order: -1; aspect-ratio: 16/10; }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* ============================================================
   Location / contact
   ============================================================ */
.contact { background: var(--cream-100); }
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-card {
  background: var(--cream-050);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.contact-list { display: grid; gap: 26px; margin-top: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-900); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.contact-list strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-600); }
.contact-list p, .contact-list a { margin-top: 4px; font-size: 1.02rem; color: var(--teal-900); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

@media (max-width: 860px) {
  .contact .container { grid-template-columns: 1fr; }
  .contact-card { padding: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--teal-900); color: rgba(250, 245, 234, 0.75); padding: 70px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(250, 245, 234, 0.14);
}
.footer-brand { display: flex; align-items: center; }
.footer-brand img { height: 170px; width: 170px; object-fit: contain; }
.footer-col h4 { color: var(--cream-050); font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col p { font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand img { height: 110px; width: 110px; }
}

/* ============================================================
   Small-phone refinements
   ============================================================ */
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section-head p { font-size: 0.98rem; }

  .hero .container { padding-top: 108px; padding-bottom: 40px; }
  .hero-content h1 { font-size: 2.15rem; }
  .hero-content p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 22px; margin-top: 40px; }
  .hero-stats div strong { font-size: 1.5rem; }
  .hero-scroll { display: none; }

  .intro { padding: 32px 0; }
  .intro .container { gap: 20px; }

  .category-card { padding: 24px 20px; }

  .menu-tabs { gap: 8px; margin-bottom: 30px; }
  .menu-tab { padding: 9px 16px; font-size: 0.85rem; }
  .menu-cta { flex-direction: column; align-items: stretch; }
  .menu-cta .btn { width: 100%; }

  .dish-card { min-height: 320px; }
  .dish-card-body { padding: 22px; }

  .delivery-media { aspect-ratio: 4/3; }
  .delivery-points .icon { width: 34px; height: 34px; }

  .gallery-grid { grid-auto-rows: 140px; gap: 10px; }

  .contact-card { padding: 24px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .map-frame, .map-frame iframe { min-height: 260px; }

  .site-footer { padding: 48px 0 24px; }
  .footer-brand img { height: 84px; width: 84px; }
  .footer-bottom { text-align: center; justify-content: center; }

  .whatsapp-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
