@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap');

:root {
  --ink: #0a0908;
  --ink-2: #15120e;
  --ink-3: #1e1a14;
  --hair: #33291d;
  --gold: #c6a15b;
  --gold-bright: #e9cb8c;
  --ivory: #f2ead9;
  --muted: #a89a83;
  --muted-2: #6f6353;

  --ashbilia: #5b7fc7;
  --shabar: #a888dd;
  --almas: #48b57e;
  --ittihad: #dd8a52;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Amiri', serif;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.01em;
  margin: 0;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-block;
}

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

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

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

/* ---------- background watermark crest ---------- */
.crest-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.crest-watermark img {
  position: absolute;
  top: 50%;
  right: -18vw;
  transform: translateY(-50%);
  width: 90vw;
  max-width: 1100px;
  opacity: 0.035;
  filter: grayscale(1) brightness(3);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hair);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text .ar { font-family: 'Amiri', serif; font-size: 19px; font-weight: 700; }
.brand-text .en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

nav.main-nav { display: flex; align-items: center; gap: 36px; }
nav.main-nav a {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  right: 0; left: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: left 0.3s cubic-bezier(.22,1,.36,1);
}
nav.main-nav a:hover { color: var(--gold-bright); }
nav.main-nav a:hover::after { left: 0; }
nav.main-nav a.active { color: var(--gold-bright); }
nav.main-nav a.active::after { left: 0; background: var(--gold); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: transparent;
  color: var(--ivory);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.25s ease, color 0.25s ease;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold-bright); }
.nav-toggle:active { transform: scale(0.9); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 108px 0 96px;
  text-align: center;
  border-bottom: 1px solid var(--hair);
}
.hero-emblem {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 30px;
  border: 1px solid var(--hair);
  box-shadow: 0 0 0 8px rgba(198,161,91,0.05);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 18px auto 0;
  max-width: 820px;
}
.hero p.lede {
  max-width: 560px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 17px;
}
.hairline {
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 30px auto;
}

.btn-row { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--gold);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #a9813f);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(198,161,91,0.18);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(198,161,91,0.32);
  filter: brightness(1.06);
}
.btn-solid:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 8px rgba(198,161,91,0.25);
}
.btn-outline { color: var(--ivory); background: transparent; }
.btn-outline:hover {
  background: rgba(198,161,91,0.12);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198,161,91,0.14);
}
.btn-outline:active {
  transform: translateY(0) scale(0.96);
  background: rgba(198,161,91,0.2);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.btn:active::after { opacity: 1; transform: scale(1.4); transition: 0s; }

/* ---------- sections ---------- */
section { position: relative; z-index: 1; padding: 88px 0; }
section.alt { background: var(--ink-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 16px; }

/* ---------- hotel cards ---------- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.hotel-card {
  background: var(--ink-3);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--accent, var(--gold));
  padding: 34px 30px;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.hotel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--accent, var(--gold)) 55%, transparent);
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 40%, var(--hair));
}
.hotel-card .tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent, var(--gold));
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.hotel-card h3 { font-size: 24px; margin-top: 10px; }
.hotel-card p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.hotel-card .btn { margin-top: 22px; padding: 10px 22px; font-size: 13.5px; }

/* ---------- about / values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 10px;
}
.value-item { text-align: center; padding: 0 10px; }
.value-item .mark {
  font-family: 'Amiri', serif;
  font-size: 30px;
  color: var(--gold);
  border: 1px solid var(--hair);
  width: 66px; height: 66px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.value-item h3 { font-size: 19px; }
.value-item p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

.about-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  color: var(--muted);
}
.about-lead strong { color: var(--ivory); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--ink-3);
  border: 1px solid var(--hair);
  padding: 40px;
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ic {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 17px;
}
.contact-row .label { font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.05em; }
.contact-row .value { font-size: 17px; margin-top: 4px; }
.contact-row .value a:hover { color: var(--gold-bright); }
.value { color: var(--ivory); }
.value a { border-bottom: 1px dashed var(--hair); transition: color 0.2s ease, border-color 0.2s ease; }
.value a:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- footer ---------- */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--hair);
  padding: 50px 0 34px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer .fbrand { display: flex; align-items: center; gap: 12px; }
footer .fbrand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
footer .fbrand span { font-family: 'Amiri', serif; font-size: 16px; }
footer .fnav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
footer .fnav a:hover { color: var(--gold-bright); }
footer .fnote { width: 100%; text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hair); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .wrap { padding: 0 22px; }
  .hero { padding: 88px 0 72px; }
}

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .hotel-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-header .wrap { height: 72px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 52px; }
  .hero-emblem { width: 84px; height: 84px; }
  .brand-text .en { display: none; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; }
  .hotel-card, .contact-card { padding: 26px 22px; }
  .hero p.lede { font-size: 15.5px; }
  footer .wrap { flex-direction: column; text-align: center; }
  footer .fnav { flex-wrap: wrap; justify-content: center; }
}

/* ---------- branch page: gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hair);
  cursor: zoom-in;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1), filter 0.4s ease;
  filter: saturate(0.94) brightness(0.96);
}
.gallery-grid a:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1.02); }

.branch-hero {
  position: relative;
  height: 64vh;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
.branch-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.55);
}
.branch-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.35) 0%, rgba(10,9,8,0.15) 40%, rgba(10,9,8,0.92) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-bottom: 56px;
}
.branch-hero .overlay .inner { max-width: 700px; padding: 0 24px; }
.branch-hero h1 { font-size: clamp(30px, 5vw, 50px); }
.branch-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6,5,4,0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border: 1px solid var(--hair); }
.lightbox .close {
  position: absolute; top: 22px; left: 26px;
  width: 42px; height: 42px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  font-size: 20px;
  cursor: pointer;
}
.lightbox .close:hover { border-color: var(--gold); color: var(--gold-bright); }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .branch-hero { height: 46vh; min-height: 320px; }
}

nav.main-nav.mobile-open {
  display: flex;
  position: absolute;
  top: 72px; right: 0; left: 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--hair);
  flex-direction: column;
  padding: 18px 28px;
  gap: 18px;
}
