/* ============================================================
   Plus258 — Authentic Mozambican & Portuguese Catering
   Palette inspired by charcoal grills, piri-piri red and
   golden flame. Self-contained, no build step.
   ============================================================ */

:root {
  --charcoal: #1a1410;
  --charcoal-2: #241b15;
  --piri: #d7263d;        /* piri-piri red */
  --piri-dark: #a81b2e;
  --gold: #ffce3a;        /* flame gold */
  --ember: #f4793b;       /* ember orange */
  --green: #3a7d44;       /* fresh / herb green */
  --cream: #fbf3e7;
  --cream-2: #f4e8d6;
  --ink: #2a211b;
  --muted: #6f6358;
  --muted-light: #cdbfae;
  --white: #ffffff;

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(26, 20, 16, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(26, 20, 16, 0.35);

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

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden; /* safety net against accidental horizontal scroll */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.4em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--piri);
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(215, 38, 61, 0.7);
}
.btn-primary:hover { background: var(--piri-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 72px;
}
.nav-wrap .brand { margin-right: auto; } /* brand left, everything else clusters right */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}
/* Header logo image (replaces the +258/Plus258 text combo in the top nav).
   Footer still uses .brand-mark / .brand-text below. */
.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  /* The PNG already has transparent corners (circular mask), so no border-radius
     is strictly needed — keeping it here as a safety net in case a different
     square asset is ever swapped in. */
  border-radius: 50%;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  background: var(--piri);
  color: var(--gold);
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  line-height: 1;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
}
.brand-text span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  color: var(--muted-light);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--white); }
.nav .nav-cta {
  background: var(--piri);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--piri-dark); color: var(--white); }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted-light);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a.active { background: var(--piri); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(244, 121, 59, 0.28), transparent 55%),
    radial-gradient(100% 80% at 0% 0%, rgba(215, 38, 61, 0.22), transparent 50%),
    linear-gradient(160deg, #1a1410 0%, #2a1c14 55%, #1a1410 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 206, 58, 0.18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: clamp(4rem, 11vw, 8.5rem) 24px clamp(3.5rem, 8vw, 6rem);
  max-width: 920px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.eyebrow span { color: var(--ember); }
.hero-title {
  font-size: clamp(2.1rem, 8vw, 4.8rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}
.hero-tags li {
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; scroll-margin-top: 84px; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-cream { background: var(--cream-2); }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.72); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--piri);
  margin-bottom: 0.7rem;
}
.kicker-light { color: var(--gold); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  aspect-ratio: 1 / 1;
}
.art-tile {
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  box-shadow: var(--shadow-soft);
}
.art-tile span { transform: translateY(-2px); }
.art-1 { background: linear-gradient(150deg, #d7263d, #a81b2e); }
.art-2 { background: linear-gradient(150deg, #f4793b, #d7263d); margin-top: 1.4rem; }
.art-3 { background: linear-gradient(150deg, #ffce3a, #f4793b); margin-bottom: 1.4rem; }
.art-4 { background: linear-gradient(150deg, #3a7d44, #2c5e34); }

.about-copy .kicker { text-align: left; }
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--piri);
  line-height: 1;
}
.about-stats span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Founder story ---------- */
.founder {
  max-width: 820px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  background: var(--white);
  border-top: 4px solid var(--piri);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}
.founder .kicker { margin-bottom: 0.4rem; }
.founder-name { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1rem; }
.founder-story p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--piri);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Flavours / glossary ---------- */
.flavours-lead { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: var(--muted); }
.glossary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.glossary-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
}
.glossary-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.glossary-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.package-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.package-card h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.package-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--piri);
  margin: 0 0 0.7rem;
}
.package-price span { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.package-list { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.package-list li { padding: 0.4rem 0; border-top: 1px solid rgba(0, 0, 0, 0.07); font-size: 0.95rem; }
.package-note { text-align: center; max-width: 640px; margin: 2.2rem auto 0; color: var(--muted); }

/* ---------- Dietary / trust ---------- */
.dietary-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.dietary-copy p { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: center; list-style: none; padding: 0; margin: 1.8rem 0 0; }
.trust-row li { font-weight: 600; }
.trust-row li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 0.45rem; }

/* ---------- Menu ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.menu-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.menu-card:hover { transform: translateY(-4px); border-color: rgba(255, 206, 58, 0.35); }

.menu-thumb {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 3.6rem;
  position: relative;
}
.menu-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35));
}
.thumb-chicken  { background: radial-gradient(120% 120% at 30% 20%, #f4793b, #a81b2e); }
.thumb-fish     { background: radial-gradient(120% 120% at 30% 20%, #4a9bd4, #1f5d86); }
.thumb-feijoada { background: radial-gradient(120% 120% at 30% 20%, #c0532f, #6e2f1c); }
.thumb-snacks   { background: radial-gradient(120% 120% at 30% 20%, #ffce3a, #d98a1f); }

.menu-body { padding: 1.4rem 1.5rem 1.7rem; }
.menu-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.menu-card h3 { font-size: 1.35rem; color: var(--white); margin-bottom: 0.1rem; }
.menu-native {
  font-style: italic;
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}
.menu-body p:last-child { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 0.97rem; }

.badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-spicy  { background: rgba(215, 38, 61, 0.18); color: #ff869a; }
.badge-fresh  { background: rgba(74, 155, 212, 0.18); color: #8fcbf0; }
.badge-hearty { background: rgba(244, 121, 59, 0.18); color: #ffb083; }
.badge-share  { background: rgba(255, 206, 58, 0.18); color: var(--gold); }

.menu-note {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
}

/* ---------- Events ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.event-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.event-card:hover { transform: translateY(-4px); }
.event-icon {
  font-size: 2.6rem;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-2);
  margin-bottom: 1rem;
}
.event-card h3 { font-size: 1.25rem; }
.event-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.why-item {
  padding: 1.5rem 0;
  border-top: 3px solid var(--piri);
}
.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ember);
}
.why-item h3 { font-size: 1.25rem; margin: 0.4rem 0 0.5rem; }
.why-item p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-intro .section-lead { color: rgba(255, 255, 255, 0.72); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0;
  font-size: 1.05rem;
}
.contact-list .ci {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
}
.contact-list a:hover { color: var(--gold); }

.socials { display: flex; gap: 1rem; flex-wrap: wrap; }
.socials a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(255, 206, 58, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.socials a:hover { background: rgba(255, 206, 58, 0.12); }

/* ---------- Booking form ---------- */
.booking-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #e3d8c7;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--piri);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.12);
}
.field textarea { resize: vertical; }

.form-status {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--piri); }

/* ---------- Footer ---------- */
.site-footer {
  background: #140f0b;
  color: var(--muted-light);
  padding: 3rem 0 2.5rem;
}
.footer-inner { text-align: center; display: grid; gap: 1rem; justify-items: center; }
.brand-footer { justify-content: center; }
.footer-tag { color: rgba(255, 255, 255, 0.6); margin: 0; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.95rem; color: var(--muted-light); }
.footer-nav a:hover { color: var(--gold); }
.copyright { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); margin: 0.5rem 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  /* Drop the forced line break so the heading wraps naturally and never
     overflows narrow viewports. */
  .hero-title br { display: none; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 24px 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav .nav-cta { text-align: center; margin-top: 0.8rem; border-bottom: 0; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 360px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  /* Brand sits next to a lang switch + hamburger in the 72px header, so on
     phone widths we shrink the logo + wordmark and tighten the flex gap. */
  .nav-wrap { gap: 0.6rem; }
  .brand { gap: 0.45rem; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-text { font-size: 1.15rem; }

  .menu-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
