/* ==========================================================
   FoodStation - main stylesheet
   ========================================================== */
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --ink: #1a1a2e;
  --navy: #131a2c;
  --gray: #64748b;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.2; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--ink);
}
.btn-white {
  background: #fff;
  color: var(--orange-dark);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--orange); }
.main-nav { display: flex; gap: 32px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 500; color: #374151; transition: color 0.15s; }
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.header-cta { white-space: nowrap; }
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 12px 24px;
}
.mobile-nav a { padding: 10px 0; border-bottom: 1px solid #f1f1f1; font-weight: 500; }
.mobile-nav.open { display: flex; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(60,20,10,0.88), rgba(120,40,10,0.55)), var(--hero-img, #7c2d12) center/cover;
  color: #fff;
  overflow: hidden;
}
.hero-content { max-width: 620px; padding: 60px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: 56px; margin-bottom: 16px; }
.hero .subtitle { font-size: 20px; font-weight: 300; opacity: 0.9; margin-bottom: 20px; }
.hero .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; font-size: 15px; opacity: 0.9; }
.hero .meta .divider { width: 40px; height: 2px; background: rgba(255,255,255,0.6); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------- Features ---------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card:nth-child(1) .feature-icon { background: #fff3e0; color: var(--orange); }
.feature-card:nth-child(2) .feature-icon { background: #e6f7ee; color: #16a34a; }
.feature-card:nth-child(3) .feature-icon { background: #e8f0fe; color: #2563eb; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--gray); margin: 0; font-size: 15px; }

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; margin-top: 32px; }
  .hero h1 { font-size: 38px; }
}

/* ---------------- Section headings ---------------- */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
.section-head h2 { font-size: 40px; margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 17px; }

/* ---------------- Product grid / cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); }
.product-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f3f4f6; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pill {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 50px;
}
.rating-pill {
  position: absolute; top: 14px; right: 14px;
  background: #fff;
  font-size: 13px; font-weight: 700;
  padding: 5px 10px; border-radius: 50px;
  display: flex; align-items: center; gap: 4px;
}
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 18px; margin-bottom: 6px; }
.product-info .desc { color: var(--gray); font-size: 14px; margin-bottom: 14px; flex: 1; }
.product-info .price { color: var(--orange); font-size: 20px; font-weight: 800; }
.product-info .cat { color: var(--orange); font-size: 13px; font-weight: 600; margin-bottom: 4px; }

.explore-link { text-align: center; margin-top: 48px; }
.explore-link a { color: var(--orange); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--orange-light); text-align: center; padding: 100px 24px; }
.cta-band h2 { font-size: 42px; margin-bottom: 18px; }
.cta-band h2 span { color: var(--orange); display: block; }
.cta-band p { color: var(--gray); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { margin-bottom: 14px; color: #fff; }
.footer-col p { font-size: 14px; color: #94a3b8; margin: 6px 0; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 12px; transition: color 0.15s; }
.footer-col a:hover { color: var(--orange); }
.social-icons { display: flex; gap: 12px; margin-top: 18px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom { text-align: center; padding: 24px; font-size: 13px; color: #64748b; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Products page ---------------- */
.page-hero {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 70px 24px;
}
.page-hero h1 { font-size: 44px; margin-bottom: 10px; }
.page-hero p { font-size: 18px; opacity: 0.95; }

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 48px 0 40px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
}
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); }
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.category-pills a {
  padding: 10px 20px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}
.category-pills a.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.category-heading { font-size: 26px; margin: 40px 0 24px; border-left: 5px solid var(--orange); padding-left: 14px; }

/* ---------------- Product detail ---------------- */
.detail-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.25)), var(--hero-img, #333) center/cover;
  color: #fff;
  padding: 40px 0;
}
.detail-hero .container { width: 100%; }
.detail-hero .badge-cat {
  background: var(--orange);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 14px;
}
.detail-hero h1 { font-size: 42px; margin-bottom: 14px; }
.detail-hero .rating-price { display: flex; align-items: center; gap: 20px; font-size: 22px; font-weight: 700; }
.detail-hero .stars { background: rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 50px; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 56px 0;
  align-items: start;
}
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.detail-card h2 { font-size: 22px; margin-bottom: 16px; }
.detail-card p { color: #4b5563; }
.ingredient-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.ingredient-tags span {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}
.quick-info-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f1f1f1; }
.quick-info-row:last-of-type { border-bottom: none; }
.quick-info-row .qi-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.quick-info-row .qi-label { font-size: 13px; color: var(--gray); }
.quick-info-row .qi-value { font-weight: 700; font-size: 16px; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ---------------- Generic content page ---------------- */
.simple-page { padding: 70px 0; max-width: 800px; margin: 0 auto; }
.simple-page h1 { font-size: 38px; margin-bottom: 20px; }
.simple-page p { color: #4b5563; font-size: 16px; margin-bottom: 16px; }

.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px; }
@media (max-width: 700px) { .card-list { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--gray); margin: 4px 0; font-size: 14px; }

.contact-form { display: grid; gap: 16px; max-width: 640px; margin: 30px auto 0; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }

.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
