/* ============================================
   Bombay Packaged Foods — Brand stylesheet
   ============================================ */

:root {
  /* Brand palette — warm terracotta/coral */
  --brand-50:  #FAECE7;
  --brand-100: #F5C4B3;
  --brand-200: #F0997B;
  --brand-400: #D85A30;
  --brand-600: #993C1D;
  --brand-800: #712B13;
  --brand-900: #4A1B0C;

  --amber-50:  #FAEEDA;
  --amber-200: #EF9F27;
  --amber-600: #854F0B;
  --amber-900: #412402;

  --green-50:  #EAF3DE;
  --green-600: #3B6D11;
  --green-900: #173404;

  --pink-50:   #FBEAF0;
  --pink-600:  #993556;
  --pink-900:  #4B1528;

  --blue-600:  #185FA5;

  --bg:        #FFFFFF;
  --bg-muted:  #F1EFE8;
  --bg-dark:   #2C2C2A;
  --bg-darker: #1A1A19;

  --text:        #2C2C2A;
  --text-muted:  #5F5E5A;
  --text-light:  #888780;
  --border:      rgba(0, 0, 0, 0.08);
  --border-dark: rgba(0, 0, 0, 0.15);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn i { font-size: 16px; }

.btn-primary {
  background: var(--brand-600);
  color: var(--brand-50);
}
.btn-primary:hover { background: var(--brand-800); }

.btn-outline {
  background: transparent;
  color: var(--brand-900);
  border: 1px solid var(--brand-600);
}
.btn-outline:hover { background: var(--brand-50); }

.btn-outline-light {
  background: transparent;
  color: var(--brand-50);
  border: 1px solid var(--brand-200);
}
.btn-outline-light:hover { background: rgba(245, 196, 179, 0.1); }

.icon-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
  transition: background 0.2s ease;
}
.icon-btn:hover { background: var(--bg-muted); }
.icon-btn i { font-size: 18px; }

.cart-btn .cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand-600);
  color: var(--brand-50);
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Announcement bar
   ============================================ */
.announcement {
  background: var(--brand-900);
  color: var(--brand-50);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.announcement i { vertical-align: -2px; margin-right: 4px; }

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-600);
  color: var(--brand-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 600; font-size: 16px; color: var(--brand-900); }
.logo-tag { font-size: 9px; letter-spacing: 1px; color: var(--brand-600); }

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--brand-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.shop-btn { padding: 8px 16px; font-size: 13px; }

.mobile-menu-btn { display: none; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--brand-50);
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--brand-200);
  color: var(--brand-900);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--brand-900);
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-lede {
  font-size: 16px;
  color: var(--brand-800);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}
.hero-image-inner {
  background: var(--brand-100);
  height: 380px;
  border-radius: var(--radius-xl);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.natural-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-50);
  color: var(--brand-900);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.natural-badge i { color: var(--green-600); font-size: 14px; }

.placeholder {
  text-align: center;
  color: var(--brand-600);
}
.placeholder i { font-size: 96px; display: block; }
.placeholder span {
  font-size: 12px;
  font-style: italic;
  margin-top: 8px;
  display: block;
}
.placeholder-dark { color: var(--brand-100); }

/* ============================================
   Trust strip
   ============================================ */
.trust-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.trust-icon { font-size: 18px; }
.trust-icon-green { color: var(--green-600); }
.trust-icon-blue { color: var(--blue-600); }
.trust-icon-pink { color: var(--pink-600); }
.trust-icon-amber { color: var(--amber-600); }

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}
.section-muted { background: var(--bg-muted); }

.section-header {
  margin-bottom: 40px;
}
.section-header.center {
  text-align: center;
}
.section-header.between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.eyebrow {
  display: block;
  font-size: 12px;
  color: var(--brand-600);
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 8px;
}
.eyebrow-light { color: var(--brand-200); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--text);
  font-weight: 500;
}

.link-arrow {
  font-size: 14px;
  color: var(--brand-600);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 8px; }

/* ============================================
   Category cards
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.category-card i { font-size: 44px; display: block; margin-bottom: 12px; }

.category-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.category-count {
  font-size: 12px;
  opacity: 0.75;
}

.cat-amber { background: var(--amber-50); }
.cat-amber i, .cat-amber .category-count { color: var(--amber-600); }
.cat-amber .category-name { color: var(--amber-900); }

.cat-coral { background: var(--brand-50); }
.cat-coral i, .cat-coral .category-count { color: var(--brand-600); }
.cat-coral .category-name { color: var(--brand-900); }

.cat-green { background: var(--green-50); }
.cat-green i, .cat-green .category-count { color: var(--green-600); }
.cat-green .category-name { color: var(--green-900); }

.cat-pink { background: var(--pink-50); }
.cat-pink i, .cat-pink .category-count { color: var(--pink-600); }
.cat-pink .category-name { color: var(--pink-900); }

/* ============================================
   Product cards
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-image i { font-size: 64px; }

.product-image-coral { background: var(--brand-50); }
.product-image-coral i { color: var(--brand-600); }
.product-image-amber { background: var(--amber-50); }
.product-image-amber i { color: var(--amber-600); }
.product-image-pink { background: var(--pink-50); }
.product-image-pink i { color: var(--pink-600); }
.product-image-green { background: var(--green-50); }
.product-image-green i { color: var(--green-600); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}
.tag-dark { background: var(--brand-600); color: var(--brand-50); }
.tag-green { background: var(--green-600); color: var(--green-50); }

.product-body { padding: 16px; }
.product-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-900);
}
.product-rating {
  font-size: 11px;
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ============================================
   Story section
   ============================================ */
.story-section {
  background: var(--brand-900);
  color: var(--brand-50);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.story-image .placeholder {
  background: var(--brand-800);
  height: 320px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin: 0 0 20px;
  font-style: italic;
  font-weight: 500;
}
.story-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brand-100);
  margin: 0 0 24px;
  max-width: 520px;
}

/* ============================================
   Recipes
   ============================================ */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recipe-card { cursor: pointer; display: block; }
.recipe-image {
  height: 200px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}
.recipe-card:hover .recipe-image { transform: scale(1.02); }
.recipe-image i { font-size: 56px; }
.recipe-amber { background: var(--amber-50); }
.recipe-amber i { color: var(--amber-600); }
.recipe-pink { background: var(--pink-50); }
.recipe-pink i { color: var(--pink-600); }
.recipe-green { background: var(--green-50); }
.recipe-green i { color: var(--green-600); }

.recipe-meta {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.recipe-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial-section {
  background: var(--brand-50);
  padding: 80px 0;
}
.testimonial-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--brand-900);
  line-height: 1.4;
  margin: 0 0 16px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-author {
  font-size: 14px;
  color: var(--brand-600);
  margin-bottom: 8px;
}
.testimonial-stars {
  color: var(--amber-200);
  font-size: 16px;
  display: inline-flex;
  gap: 2px;
}

/* ============================================
   Newsletter
   ============================================ */
.newsletter-section {
  background: var(--bg-muted);
  padding: 64px 0;
}
.newsletter-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 8px;
}
.newsletter-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand-600);
}
.newsletter-success {
  margin-top: 16px;
  color: var(--green-600);
  font-size: 14px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 13px;
  margin: 12px 0 16px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.footer-logo span {
  font-weight: 500;
  color: var(--bg-muted);
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-links a:hover { background: var(--brand-600); color: var(--brand-50); }
.social-links i { font-size: 16px; }

.footer-col h4 {
  font-size: 13px;
  color: var(--bg-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--brand-200); }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom-inner {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal a { margin: 0 2px; }
.footer-legal a:hover { color: var(--brand-200); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .shop-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0; }
  .hero-image-inner { height: 280px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .section-header.between { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-grid { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .container { padding: 0 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .icon-btn { width: 32px; height: 32px; }
}
