:root {
  --navy: #16234a;
  --navy-deep: #10182f;
  --navy-mid: #1e2e5a;
  --cream: #f7f2ea;
  --cream-soft: #fbf8f3;
  --gold: #cdb07a;
  --gold-deep: #b8975a;
  --sand: #d9c9a8;
  --muted: #3a4670;
  --text: #1a2033;
  --text-soft: #4a5168;
  --line: rgba(205, 176, 122, 0.45);
  --shadow: 0 10px 30px rgba(16, 24, 47, 0.12);
  --radius: 16px;
  --max: 1120px;
  --header-h: 72px;
}

@font-face {
  font-family: Amiri;
  src: url("../fonts/Amiri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Amiri;
  src: url("../fonts/Amiri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url("../fonts/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url("../fonts/Tajawal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url("../fonts/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url("../fonts/Tajawal-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Tajawal, "Segoe UI", Tahoma, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream-soft);
  line-height: 1.85;
  font-size: 1.05rem;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-name {
  font-family: Amiri, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.6em;
  color: var(--navy);
}
h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.ltr, a.tel, .phone, .hours-en { direction: ltr; unicode-bidi: isolate; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  width: min(var(--max), calc(100% - 1.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.logo-link img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong {
  font-family: Tajawal, sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.logo-text span {
  font-size: 0.72rem;
  color: var(--sand);
}
.nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a {
  text-decoration: none;
  color: var(--cream);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: rgba(205, 176, 122, 0.18);
  color: var(--gold);
}
.nav-drop { position: relative; }
.nav-drop > button {
  background: none;
  border: 0;
  color: var(--cream);
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.nav-drop > button::after {
  content: "▾";
  margin-inline-start: 0.25rem;
  font-size: 0.7rem;
}
.nav-drop > button:hover,
.nav-drop[data-open="true"] > button { color: var(--gold); background: rgba(205, 176, 122, 0.18); }
.nav-drop ul {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.4rem);
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  min-width: 230px;
  box-shadow: var(--shadow);
}
.nav-drop[data-open="true"] ul,
.nav-drop:hover ul { display: block; }
.nav-drop a { display: block; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn, .menu-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.menu-btn { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #dcc08a; }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-navy { background: var(--navy); color: var(--cream); }
.header-wa { display: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 1.6rem;
}
@media (min-width: 700px) {
  .hero-grid { padding: 3rem 0; }
}
.hero h1 { color: var(--cream); margin-bottom: 0.35em; }
.hero .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}
html[dir="ltr"] .hero .eyebrow { letter-spacing: 0.14em; }
.hero p { color: var(--sand); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; max-height: 200px; }

.strip {
  background: var(--navy-mid);
  color: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip ul {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
  list-style: none;
  display: grid;
  gap: 0.9rem 1.2rem;
  grid-template-columns: 1fr;
}
.strip li { min-width: 0; }
.strip strong { color: var(--gold); font-weight: 700; display: block; font-size: 0.8rem; }

/* Sections */
.section { padding: 2.8rem 0; }
.section.alt { background: #fff; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.gold-rule {
  width: 72px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1rem;
}
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid rgba(22, 35, 74, 0.08);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 1px 0 rgba(22, 35, 74, 0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--text-soft); flex: 1; margin-bottom: 0.8em; }
.card .more { color: var(--gold-deep); font-weight: 700; font-size: 0.92rem; }

.about-grid, .visit-grid, .service-layout {
  display: grid;
  gap: 1.5rem;
}
.about-grid img, .visit-grid img, .prose-img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}
.prose-img { aspect-ratio: 4/3; }

.gallery {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.gallery figure { margin: 0; }
.gallery figcaption {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.3rem;
}

.cta-band {
  background: var(--navy);
  color: var(--cream);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 2.2rem 0;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--sand); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.hours-table, .info-list { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td, .info-list th, .info-list td {
  text-align: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(22, 35, 74, 0.1);
}
.hours-table th { color: var(--navy); font-weight: 700; width: 45%; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: var(--navy-mid);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: var(--sand);
  padding: 2.2rem 0 6.5rem;
  border-top: 2px solid var(--gold);
}
.footer h2, .footer h3 { color: var(--cream); font-size: 1.15rem; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  gap: 1.4rem;
}
.footer .tiny {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--muted);
  font-size: 0.82rem;
  color: #9aa3bf;
}

.wa-float {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: #128c7e;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(16, 24, 47, 0.28);
}
.wa-float:hover { background: #0e7368; }

.prose { max-width: 42rem; }
.crumbs { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--navy); text-decoration: none; }
.related { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.related a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.88rem;
  background: #fff;
}

@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .about-grid, .visit-grid, .service-layout, .footer-grid { grid-template-columns: 1.1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding: 3rem 0; }
  .hero-photo img { aspect-ratio: 5/4; min-height: 340px; max-height: none; }
  .header-wa { display: inline-flex; }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .strip ul { grid-template-columns: repeat(4, 1fr); }
  .footer { padding-bottom: 2.4rem; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: var(--header-h);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1rem 1rem;
    border-bottom: 2px solid var(--gold);
  }
  body.nav-open .nav { display: flex; }
  .nav-drop ul {
    position: static;
    display: block;
    border: 0;
    background: transparent;
    min-width: 0;
    box-shadow: none;
    padding-inline-start: 0.6rem;
  }
  .header-wa { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
