:root {
  --green-deep: #0f3d31;
  --green-darker: #0a2b23;
  --green-mid: #164e40;
  --gold: #c99a52;
  --gold-light: #e3c17f;
  --gold-dim: #a87f42;
  --cream: #f6efe0;
  --cream-dim: #e7dcc4;
  --ink: #1c1712;

  --font-display-en: 'Cormorant Garamond', serif;
  --font-display-ar: 'Amiri', serif;
  --font-body: 'Cairo', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--green-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}

html[lang="ar"] body { font-weight: 400; }

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

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

h1, h2, h3 {
  font-family: var(--font-display-en);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: var(--font-display-ar);
  font-weight: 700;
}

p { margin: 0 0 1em; }

/* ---------- bilingual text visibility ----------
   Both languages ship in the HTML so search engines can read the Arabic;
   only the active one is rendered. Keyed off html[lang] so the existing
   Arabic font and RTL rules above stay in sync automatically. */

.l-ar { display: none; }

html[lang="ar"] .l-en { display: none; }
html[lang="ar"] .l-ar { display: inline; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}

html[lang="ar"] .eyebrow { letter-spacing: 0; }

/* ---------- decorative pattern band ---------- */

.pattern-band {
  height: 10px;
  width: 100%;
  background-image:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%),
    linear-gradient(225deg, var(--gold) 25%, transparent 25%),
    linear-gradient(45deg, var(--gold) 25%, transparent 25%),
    linear-gradient(315deg, var(--gold) 25%, var(--green-darker) 25%);
  background-position: 10px 0, 10px 0, 0 0, 0 0;
  background-size: 20px 20px;
  background-color: var(--green-darker);
  background-repeat: repeat-x;
}

.divider {
  height: 44px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  background-image:
    linear-gradient(135deg, var(--gold-dim) 25%, transparent 25%),
    linear-gradient(225deg, var(--gold-dim) 25%, transparent 25%),
    linear-gradient(45deg, var(--gold-dim) 25%, transparent 25%),
    linear-gradient(315deg, var(--gold-dim) 25%, transparent 25%);
  background-position: 11px 0, 11px 0, 0 0, 0 0;
  background-size: 22px 22px;
  background-repeat: repeat-x;
  background-position-y: center;
  opacity: 0.55;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 61, 49, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 154, 82, 0.25);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(201, 154, 82, 0.5);
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: var(--gold-light); }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible { background: var(--gold); color: var(--green-darker); }

/* ---------- hero ---------- */

.hero {
  padding: 90px 24px 70px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 154, 82, 0.12), transparent 60%),
    var(--green-deep);
}

.hero-inner { max-width: 640px; margin: 0 auto; }

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 28px;
  border: 2px solid var(--gold-dim);
  box-shadow: 0 0 0 8px rgba(201, 154, 82, 0.08);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.3em;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 480px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-darker);
  font-weight: 600;
}

.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.btn-ghost:hover { background: rgba(201, 154, 82, 0.12); }

/* ---------- section shared ---------- */

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

.section-head > p { color: var(--cream-dim); }

/* ---------- story ---------- */

.story { padding: 70px 24px; }

.story-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.story h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }

.story p {
  font-size: 1.08rem;
  color: var(--cream-dim);
}

/* ---------- products ---------- */

.products { padding: 70px 24px 40px; }

.product-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  background: var(--green-mid);
  border: 1px solid rgba(201, 154, 82, 0.2);
}

.product-card.span-2 {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.06); }

.product-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(0deg, rgba(10, 43, 35, 0.92), transparent);
  font-size: 0.92rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.products-note {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--gold-light);
  opacity: 0.9;
}

/* ---------- visit ---------- */

.visit { padding: 70px 24px 90px; }

.visit-grid {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.visit-card {
  background: var(--green-mid);
  border: 1px solid rgba(201, 154, 82, 0.25);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}

.visit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}

.visit-card p {
  color: var(--cream-dim);
  margin: 0;
  font-size: 0.92rem;
}

.visit-card-soon { opacity: 0.6; border-style: dashed; }

.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-footer {
  text-align: center;
  padding: 46px 24px 60px;
  background: var(--green-darker);
  border-top: 1px solid rgba(201, 154, 82, 0.2);
}

.footer-mark {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  opacity: 0.9;
}

.site-footer p {
  margin: 0.2em 0;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.footer-fine {
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ---------- RTL ---------- */

html[dir="rtl"] .btn-ghost,
html[dir="rtl"] .eyebrow { letter-spacing: 0; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 70px 18px 50px; }
  .product-grid { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-card img { transition: none; }
}
