/* الزيت المضيء - oil.bedayia.net. One stylesheet for the Arabic (index.html) and English (en.html) pages. No scripts. */
:root {
  --olive: #3f4d1e;
  --olive-deep: #232b10;
  --gold: #c99a1e;
  --gold-soft: #f0d98c;
  --cream: #f7f2e2;
  --paper: #fffdf6;
  --ink: #26291c;
  --muted: #646a52;
  --line: #e2dcc4;
  --wa: #1f8f4e;
  --display: "Aref Ruqaa", "Amiri", serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.8; }
body.en { --body: Georgia, "Times New Roman", serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; margin: 0; }
h2 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--olive); }
body.en h2 { font-family: var(--latin); font-weight: 600; }
p { margin: 0; max-width: 62ch; }
section { padding-block: clamp(48px, 8vw, 96px); }

/* top bar */
.top { position: absolute; inset: 0 0 auto; z-index: 2; padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; color: var(--cream); }
.top .lang { text-decoration: none; border: 1px solid rgba(247, 242, 226, .5); border-radius: 999px; padding: 2px 14px; font-size: .9rem; }
.top .lang:hover, .top .lang:focus-visible { background: rgba(247, 242, 226, .15); }
.top .fb { font-size: .9rem; text-decoration: none; opacity: .9; }

/* hero */
.hero { position: relative; min-height: min(92vh, 760px); display: grid; align-items: end; color: var(--cream);
  background: var(--olive-deep) url("img/olives-sky.jpg") center 30% / cover no-repeat; padding: 0; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 32, 10, .92) 0%, rgba(26, 32, 10, .55) 45%, rgba(26, 32, 10, .15) 100%); }
.hero .wrap { position: relative; padding-block: 120px 56px; display: grid; gap: 18px; justify-items: start; }
.hero .mark { width: 96px; height: auto; filter: drop-shadow(0 4px 18px rgba(201, 154, 30, .45)); }
.hero .mark .body { fill: var(--cream); }
.hero h1 { font-family: var(--display); font-size: clamp(3rem, 9vw, 5.4rem); font-weight: 700; line-height: 1.1; }
body.en .hero h1 { font-family: var(--latin); letter-spacing: .04em; }
.hero .latin { font-family: var(--latin); letter-spacing: .3em; font-size: .95rem; color: var(--gold-soft); }
.hero .tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid rgba(240, 217, 140, .55); color: var(--gold-soft); border-radius: 999px; padding: 2px 14px; font-size: .9rem; }
.verse { font-family: var(--display); color: var(--gold-soft); font-size: 1.1rem; opacity: .9; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 12px 26px; font-size: 1.05rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover, .btn-wa:focus-visible { background: #18763f; }
.btn-ghost { border: 1.5px solid currentColor; }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* story */
.story { display: grid; gap: 40px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.point { display: grid; gap: 12px; align-content: start; }
.point img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }
.point h3 { font-size: 1.2rem; color: var(--olive); }
.point p { color: var(--muted); font-size: 1rem; }

/* varieties */
.varieties { background: var(--olive); color: var(--cream); }
.varieties h2 { color: var(--gold-soft); }
.var-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid rgba(240, 217, 140, .3); }
.var { padding: 20px 0; border-bottom: 1px solid rgba(240, 217, 140, .3); display: grid; gap: 4px; padding-inline-end: 20px; }
.var b { font-family: var(--display); font-size: 1.6rem; color: var(--gold-soft); font-weight: 700; }
body.en .var b { font-family: var(--latin); }
.var span { opacity: .85; font-size: .98rem; }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.product .photo { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; width: 100%; max-height: 640px; }
.product .info { display: grid; gap: 20px; }
.offer { display: grid; gap: 12px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row .what { display: grid; }
.price-row .what small { color: var(--muted); font-size: .9rem; }
.price-row .amount { font-size: 1.7rem; font-weight: 700; color: var(--olive); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row.best { background: var(--cream); border: 1px solid var(--gold); border-radius: 8px; padding: 16px; }
.badge { display: inline-block; background: var(--gold); color: var(--olive-deep); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 0 10px; margin-inline-start: 8px; vertical-align: middle; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: var(--muted); }
.facts li::before { content: "•"; color: var(--gold); margin-inline-end: 8px; }

/* gallery */
.gallery { background: var(--cream); }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.strip img.wide { grid-column: span 2; aspect-ratio: auto; height: 100%; }

/* delivery */
.delivery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.way { border-top: 3px solid var(--gold); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.way h3 { font-size: 1.15rem; color: var(--olive); }
.way p { color: var(--muted); font-size: 1rem; }

/* order */
.order { background: var(--olive-deep) url("img/grove-sunset.jpg") center / cover no-repeat; position: relative; color: var(--cream); }
.order::before { content: ""; position: absolute; inset: 0; background: rgba(26, 32, 10, .78); }
.order .wrap { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; }
.order h2 { color: var(--gold-soft); }
.order .number { font-size: 1.6rem; font-weight: 700; letter-spacing: .05em; direction: ltr; unicode-bidi: isolate; user-select: all; }

footer { background: var(--olive-deep); color: rgba(247, 242, 226, .75); font-size: .9rem; padding-block: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* floating WhatsApp button on phones */
.wa-float { display: none; }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .product { grid-template-columns: 1fr; }
  .product .photo { max-height: 460px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip img.wide { grid-column: span 2; aspect-ratio: 16 / 9; height: auto; }
  .facts { grid-template-columns: 1fr; }
  .wa-float { display: grid; place-items: center; position: fixed; z-index: 5; width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: max(18px, env(safe-area-inset-right)); }
  .wa-float svg { width: 28px; height: 28px; fill: currentColor; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
