/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #2e7d4f;
  --green-dark: #1f5c39;
  --cream: #f7f5ef;
  --ink: #1d2b22;
  --muted: #5d6b62;
  --radius: 14px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; }
a { text-decoration: none; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; }
.btn-block { width: 100%; font-size: 1.05rem; padding: 16px; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247,245,239,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e2d8;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.logo span { color: var(--green); }
.nav nav { display: flex; align-items: center; gap: 22px; }

/* Language toggle button */
.lang-toggle {
  background: transparent; border: 2px solid var(--green); color: var(--green);
  font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px;
  cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.lang-toggle:hover { background: var(--green); color: #fff; }

/* ---------- Quick actions (4 order options at top) ---------- */
.quick-actions { background: #fff; border-bottom: 1px solid #e6e2d8; padding: 18px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.qa-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid #e6e2d8; background: var(--cream);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.qa-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: var(--green); }
.qa-icon { font-size: 1.7rem; line-height: 1; }
.qa-text { display: flex; flex-direction: column; }
.qa-text strong { font-size: 1rem; }
.qa-text small { color: var(--muted); font-size: .82rem; }
.qa-whatsapp:hover { border-color: #25d366; }
.qa-order { background: #e3f1e8; }

/* ---------- Hero (product photo background) ---------- */
.hero {
  padding: 110px 0;
  /* Dark gradient overlay on top of your product photo keeps text readable. */
  background:
    linear-gradient(rgba(15, 40, 25, .72), rgba(15, 40, 25, .82)),
    url("images/golden-crunch-mix.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero-text { max-width: 620px; color: #fff; }
.badge {
  display: inline-block; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 3.4rem; margin-bottom: 10px; color: #f5d98b; }
.tagline { font-size: 1.35rem; margin-bottom: 16px; color: #fff; }
.hero-text > p { font-size: 1.15rem; color: #e7eee8; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 22px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; color: #f5d98b; font-weight: 600; }

/* ---------- Benefits ---------- */
.benefits { padding: 70px 0; background: #fff; }
.benefits h2 { text-align: center; font-size: 2.2rem; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--cream); padding: 28px 22px; border-radius: var(--radius);
  text-align: center; border: 1px solid #ece8dd;
}
.card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Ingredients + Nutrition ---------- */
.ingredients { padding: 70px 0; background: var(--cream); }
.ing-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.ing-list h2 { font-size: 2.2rem; margin-bottom: 8px; }
.ing-grid {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px;
}
.ing-grid li {
  background: #fff; border: 1px solid #ece8dd; border-radius: 10px;
  padding: 12px 16px; font-weight: 600; font-size: 1rem;
}
.allergen-note {
  margin-top: 18px; font-size: .9rem; color: var(--muted);
  background: #fff7e6; border: 1px solid #f0e2c0; border-radius: 10px; padding: 12px 16px;
}
.nutrition {
  background: var(--green-dark); color: #fff; border-radius: var(--radius);
  padding: 26px; box-shadow: 0 12px 30px rgba(31,92,57,.2);
}
.nutrition h3 { font-size: 1.2rem; margin-bottom: 14px; color: #f5d98b; }
.nutrition table { width: 100%; border-collapse: collapse; }
.nutrition td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.nutrition td:last-child { text-align: right; font-weight: 700; }
.nutrition td.sub { padding-left: 18px; color: #cfe6d6; }
.nutrition-note { margin-top: 16px; font-size: .85rem; color: #cfe6d6; }

/* ---------- Reviews ---------- */
.reviews { padding: 70px 0; background: #fff; }
.reviews h2 { text-align: center; font-size: 2.2rem; margin-bottom: 8px; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.review {
  background: var(--cream); border: 1px solid #ece8dd; border-radius: var(--radius); padding: 26px;
}
.stars { color: #f5b301; font-size: 1.2rem; margin-bottom: 10px; }
.review p { color: var(--ink); font-style: italic; margin-bottom: 12px; }
.review-name { font-weight: 700; color: var(--green); }

/* Product photo above the price */
.product-photo {
  display: block; margin: 18px auto 22px; max-width: 540px; width: 100%;
  border-radius: var(--radius); box-shadow: 0 14px 36px rgba(0,0,0,.14);
}

/* Prices in order section (USD + Lebanese side by side) */
.prices {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  flex-wrap: wrap; margin-bottom: 6px;
}
.big-price { font-size: 2.6rem; font-weight: 800; color: var(--ink); }
.price-lbp { color: var(--green); }
.price-lbp small { font-size: 1rem; font-weight: 600; }
.price-sep { width: 2px; height: 38px; background: #d4d0c4; border-radius: 2px; }
.price-per { color: var(--muted); margin-bottom: 18px; }

/* Floating WhatsApp button */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s;
}
.float-wa:hover { transform: scale(1.08); }

/* ---------- Availability ---------- */
.availability { background: var(--green-dark); color: #fff; padding: 36px 0; }
.avail-title { text-align: center; font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; color: #f5d98b; }
.avail-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.avail-item { font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }

/* ---------- Order (WhatsApp call-to-action) ---------- */
.order { padding: 70px 0; }
.order-cta { max-width: 640px; margin: 0 auto; text-align: center; }
.order h2 { font-size: 2.2rem; margin-bottom: 14px; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--green); margin-bottom: 16px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.order-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.btn-whatsapp-big {
  display: inline-block; background: #25d366; font-size: 1.25rem; padding: 18px 40px;
}
.btn-whatsapp-big:hover { background: #1ebe5b; }
.order-info { margin-top: 22px; color: var(--muted); }
.order-info a { color: var(--green); font-weight: 700; }
.order-alt { margin-top: 8px; color: var(--muted); }
.order-alt a { color: var(--green); font-weight: 700; }

.order-form {
  background: #fff; padding: 28px; border-radius: var(--radius);
  border: 1px solid #ece8dd; box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.order-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.order-form input, .order-form textarea {
  width: 100%; margin-top: 6px; padding: 11px 12px; font-size: 1rem;
  border: 1px solid #d4d0c4; border-radius: 10px; font-family: inherit; background: #fdfdfb;
}
.order-form input:focus, .order-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,79,.15);
}
.form-status { margin-top: 14px; font-weight: 600; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }

/* ---------- Find Us (map) ---------- */
.location { padding: 70px 0; background: var(--cream); }
.location h2 { text-align: center; font-size: 2.2rem; margin-bottom: 8px; }
.map-wrap {
  margin-top: 26px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #e6e2d8; box-shadow: 0 10px 30px rgba(0,0,0,.08);
  line-height: 0;
}
.location-actions {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: 24px; flex-wrap: wrap;
}
.location-addr { font-size: 1.15rem; font-weight: 700; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cdd8d0; text-align: center; padding: 36px 0; }
.footer-follow { font-weight: 600; color: #f5d98b; margin-bottom: 14px; }
.social { display: flex; justify-content: center; gap: 16px; margin-bottom: 22px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600;
  transition: background .15s, transform .12s;
}
.social-link:hover { background: var(--green); transform: translateY(-2px); }

/* Ingredients sub-heading aligns with its column */
.sub-left { text-align: left; }

/* ---------- Arabic / Right-to-Left ---------- */
[dir="rtl"] .sub-left { text-align: right; }
[dir="rtl"] .nutrition td:last-child { text-align: left; }
[dir="rtl"] .nutrition td.sub { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .float-wa { right: auto; left: 22px; }
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .ing-inner { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards, .quick-grid, .ing-grid { grid-template-columns: 1fr; }
}
