/* === Jil Pork Place — Global Styles === */


:root {
  --bg: #0F0A08;
  --panel: #3B1F1A;
  --card: #4A241E;
  --soft: #2E0F0C;
  --text: #FFF7F2;
  --muted: #E0C9C0;
  --line: #7A2B19;
  --shadow: 0 16px 40px rgba(0, 0, 0, .65);
  --primary: #F88601;       /* Original Jil Pork warm amber */
  --highlight: #FFBB35;      /* Original Jil Pork gold */
  --radius: 18px;
  --radius2: 24px;
  --max: 1100px;
  --focus: 0 0 0 3px rgba(248, 134, 1, 0.28);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #110302;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1100px 700px at 20% -20%, rgba(172, 26, 8, 0.35), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(167, 62, 20, 0.35), transparent 55%),
    linear-gradient(rgba(11, 4, 2, 0.88), rgba(11, 4, 2, 0.88)),
    url('../images/fire-background.webp') center center / cover fixed no-repeat;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit
}

hr.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
}

.skip-link:focus {
  left: 10px;
  outline: none;
  box-shadow: var(--focus)
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(12px, 3vh, 24px) 0 100px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, .70);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
}


.brand__name {
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--highlight);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 10px;
  letter-spacing: -.4px;
  color: var(--highlight);
}

.section__head h2 {
  margin: 0 0 6px;
  color: var(--highlight);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  color: var(--highlight);
}

.price {
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
  color: var(--highlight);
}

.brand__sub {
  color: var(--muted);
  font-size: 12px
}

.nav__toggle {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 10px;
  cursor: pointer;
  z-index: 30;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav__toggle:focus {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end
}

.nav__link {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav__link.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
}

.nav__link:focus {
  outline: none;
  box-shadow: var(--focus)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, .04);
  transition: transform .12s ease, background .12s ease;
}

.btn:active {
  transform: translateY(1px)
}

.btn:focus {
  outline: none;
  box-shadow: var(--focus)
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}

.btn--primary:hover {
  background: #d97400;
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .07)
}

.btn--link {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, .85);
  padding-left: 0;
  padding-right: 0;
}

.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  margin: 0 0 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  padding: 40px 24px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius2);
  overflow: hidden;
  margin-top: 10px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 9, 5, 0.98) 0%, rgba(30, 9, 5, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}



.lead {
  color: rgba(229, 231, 235, .92);
  font-size: 16px;
  margin: 0 0 16px;
  max-width: 58ch
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.trust-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trust-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  border-radius: var(--radius);
  padding: 14px;
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 14px
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.hero__media {
  position: relative;
  z-index: 2;
  height: 400px; /* Essential: fixed height for the slider container */
  overflow: hidden;
  border-radius: var(--radius2);
}

.media-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.media-card.slide-active {
  opacity: 1;
  pointer-events: auto;
}

.media-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}



/* Hero Slideshow CSS */
#heroSlideshow {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius2);
}

#heroSlideshow .media-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
  border-radius: 0; /* Let #heroSlideshow handle rounding */
}

#heroSlideshow .media-card.slide-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
}

.media-card {
  position: relative;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}

.img-placeholder {
  height: 260px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}

.media-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, #1e0905 0%, transparent 100%);
  color: #fff;
}

.media-card__title {
  margin: 0;
  font-weight: 900;
  font-size: 20px;
  color: var(--highlight);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.media-card__sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.section {
  padding: 18px 0
}



.section__head p {
  margin: 0;
  color: var(--muted)
}

.section__footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.card--soft {
  background: rgba(255, 255, 255, .02)
}



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

.pill {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.card__media {
  margin: -16px -16px 16px -16px;
  border-bottom: 1px solid var(--line);
  height: 200px;
  border-radius: var(--radius2) var(--radius2) 0 0;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}



.card__body {
  margin-top: 10px
}

.card__body p {
  margin: 0 0 10px;
  color: rgba(229, 231, 235, .90)
}

.card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.page-head {
  padding: 22px 0 8px
}

.page-head h1,
.page-head__title {
  margin: 0 0 6px;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--highlight);
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  margin-top: 14px;
}

.input {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.input__label {
  font-size: 12px;
  color: var(--muted)
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: var(--focus)
}

textarea {
  resize: vertical;
  min-height: 96px
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.form__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: rgba(229, 231, 235, .92);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, .85);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .10);
  padding: 18px 0 180px; /* Extra bottom padding so sticky bar never covers footer content */
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--highlight);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 10px;
  /* Bigger touch target */
}

.icon {
  width: 26px;
  /* Bigger icons */
  height: 26px;
  fill: currentColor;
}

.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, .78);
  backdrop-filter: blur(10px);
}

.sticky-bar .btn {
  flex: 1;
  padding: 10px 4px;
  font-size: 13px;
  white-space: nowrap;
}

.embed {
  margin-top: 14px;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  min-height: 260px;
}

.embed iframe {
  width: 100%;
  height: 320px;
  border: 0
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr); /* FORCED 2-column for all mobile screens */
    gap: 10px;
  }
  .filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .section--split {
    grid-template-columns: 1fr;
  }

  .sticky-bar {
    display: flex;
  }

  /* Mobile Navigation */
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 60px);
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 25;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 700;
    width: auto;
    padding: 12px 24px;
    border-radius: 99px;
  }
}

@media (max-width: 600px) {
  :root {
    --radius2: 16px;
  }

  .container {
    width: calc(100% - 24px);
  }

  /* Compact slideshow on small screens */
  .hero__media {
    height: 320px;
  }

  .card {
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(145deg, #36120a, #2b0e08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card h2, .card h3 {
    font-size: 13px !important;
    margin-bottom: 2px;
    color: #fff; /* High contrast white title */
    letter-spacing: -0.2px;
    line-height: 1.1;
  }

  /* Hide description and portion on small screens as requested */
  .card .muted, 
  .card .card__body p {
    display: none;
  }

  .card__media {
    height: 100px;
    margin: -8px -8px 6px -8px;
    border-bottom: 2px solid var(--primary); /* Vibrant accent line */
  }

  .card .btn {
    padding: 8px 4px;
    font-size: 9px;
    gap: 2px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: none;
  }

  .price {
    font-size: 12px !important;
    color: var(--highlight); /* Glowing highlight */
    font-weight: 800;
  }

  .pill {
    font-size: 8px;
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.08); /* More subtle pill */
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-bottom: 4px;
  }
}

/* === Very small phones (320px) — only resize logo, keep 2-col grid === */
@media (max-width: 360px) {
  .footer-logo {
    width: 90%;
  }
}

/* Platter sticky card: disable on mobile */
@media (max-width: 900px) {
  .section--split > .card[style*="sticky"] {
    position: relative !important;
    top: auto !important;
  }
}

/* Empty menu search feedback */
#menuGrid:empty::after {
  content: 'No items found. Try a different search or category.';
  display: block;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  grid-column: 1 / -1;
}

/* Overlay for mobile menu */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 22;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__overlay.is-active {
  display: block;
  opacity: 1;
}

/* FAQ Accordions */
.faq-summary {
  font-weight: 700;
  color: var(--highlight);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-summary::after {
  content: "+";
  font-size: 20px;
}
details[open] .faq-summary::after {
  content: "−";
}
.faq-summary::-webkit-details-marker {
  display: none;
}

/* Delivery list rows */
.delivery-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}

.delivery-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}


.rating {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.gem-section {
  position: relative;
  background: url('../images/i-love-ruaka.webp') no-repeat center center;
  background-size: cover;
  border-radius: 20px;
  padding: 40px !important;
  text-align: center;
  margin: 40px 0;
  border: 1px solid var(--line);
  overflow: hidden;
  color: #fff;
}

.gem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 9, 5, 0.85); /* Deep brown overlay */
  z-index: 1;
}

.gem-section > * {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.gem-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 30px !important;
}

.footer-logo {
  width: 260px;
  height: auto;
  opacity: 1;
  transition: transform 0.3s ease;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.welcome-tag {
  font-weight: 800;
  color: var(--highlight);
  margin-top: 15px;
  font-size: 26px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .footer-logo {
    width: 200px;
  }
  .welcome-tag {
    font-size: 18px !important;
  }
}

/* FAQ Accordion Styling */
.faq-card {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  padding: 0 !important; /* Managed by summary/p */
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card[open] {
  border-color: var(--primary);
  background: rgba(255, 255, 255, .03);
}

.faq-summary {
  list-style: none; /* Remove default arrow */
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--highlight);
  cursor: pointer;
  display: block; /* Safer than flex on summary elements */
  position: relative;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none; /* Remove default arrow Chrome/Safari */
}

.faq-summary::after {
  content: " +";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 20px;
}

.faq-card[open] .faq-summary::after {
  content: " −";
}

.faq-card p {
  padding: 0 16px 16px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


