:root {
  --gold: #c4a35a;
  --gold-soft: #e8d5a3;
  --gold-deep: #8f7030;
  --ink: #1a1410;
  --ink-soft: #3a3128;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --sand: #ece3d4;
  --line: rgba(26, 20, 16, 0.1);
  --maroon: #6e2b2b;
  --forest: #24362c;
  --muted: #6d6256;
  --white: #fff;
  --shadow: 0 18px 50px rgba(26, 20, 16, 0.12);
  --shadow-sm: 0 8px 24px rgba(26, 20, 16, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 76px;
  --claim-h: 42px;
  --header-h: calc(var(--claim-h) + var(--nav-h));
  --max: 1180px;
  --font-display: "Cormorant Garamond", "Noto Naskh Arabic", serif;
  --font-body: "Outfit", "IBM Plex Sans Arabic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html[dir="rtl"] {
  --font-display: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  --font-body: "IBM Plex Sans Arabic", "Outfit", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
.btn {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

html[dir="rtl"] .eyebrow::before {
  order: 2;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0;
}

.claim-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--claim-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 0.88rem;
}

.claim-bar a {
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.claim-bar a:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.site-header {
  position: fixed;
  top: var(--claim-h);
  inset-inline: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 241, 230, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.breadcrumbs {
  padding: 28px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 8px;
  color: var(--gold-deep);
}

.category-fallback {
  height: 180px;
  display: grid;
  place-items: center;
  background: var(--sand);
  font-size: 2.4rem;
  color: var(--gold-deep);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.logo-mark {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  padding: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(196, 163, 90, 0.28);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: var(--ink);
  color: var(--gold-soft);
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 22s ease-out alternate infinite;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.28) 0%, rgba(26, 20, 16, 0.72) 70%),
    radial-gradient(circle at 20% 20%, rgba(196, 163, 90, 0.18), transparent 40%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: fit-content;
  font-size: 0.86rem;
}

.stars {
  color: var(--gold-soft);
  letter-spacing: 1px;
}

.hero-arabic {
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--gold-soft);
  margin: 8px 0 0;
}

.hero-intro {
  max-width: 680px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.about-card {
  position: absolute;
  inset-inline-end: -18px;
  bottom: 28px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  max-width: 240px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.why-grid,
.category-grid,
.amenity-grid,
.special-grid {
  display: grid;
  gap: 20px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card,
.category-card,
.amenity-card,
.special-card,
.review-card,
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.glass-card {
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--gold-deep);
  margin-bottom: 16px;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
}

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

.category-card:hover img {
  transform: scale(1.08);
}

.category-card div {
  padding: 18px 20px 22px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--white);
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.reviews {
  background: var(--forest);
  color: var(--cream);
}

.reviews .eyebrow,
.reviews .lead {
  color: var(--gold-soft);
}

.reviews h2 {
  color: var(--white);
}

.rating-band {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 24px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
}

.review-card footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  padding: 20px 24px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item .answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--ink-soft);
  margin: 0;
}

.faq-item.is-open .answer {
  display: block;
}

.plus {
  color: var(--gold-deep);
}

.experience {
  background:
    linear-gradient(180deg, rgba(247, 241, 230, 0.92), rgba(247, 241, 230, 0.92)),
    url("../images/taiba-market-riyadh-indoor-corridor.jpg") center/cover;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.experience-grid article {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.amenity-grid,
.special-grid {
  grid-template-columns: repeat(4, 1fr);
}

.amenity-card,
.special-card {
  padding: 22px;
}

.local-seo {
  background: var(--ink);
  color: var(--cream);
}

.local-seo h2,
.local-seo a {
  color: var(--gold-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-panel {
  padding: 32px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours td {
  padding: 8px 0;
}

.hours td:last-child {
  text-align: end;
}

.map-wrap {
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 120px 0;
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.68);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
}

.site-footer {
  background: #120e0b;
  color: #cfc3b3;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.copyright {
  padding-top: 18px;
  font-size: 0.86rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 30;
  background: var(--ink);
  border-radius: 18px;
  padding: 10px;
  gap: 8px;
  box-shadow: var(--shadow);
}

.mobile-cta a {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
}

.mobile-cta a:last-child {
  background: var(--paper);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 14, 11, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: 16px;
}

.lightbox button {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from { transform: scale(1.08) translateY(0); }
  to { transform: scale(1.16) translateY(-18px); }
}

@media (max-width: 980px) {
  .about-grid,
  .why-grid,
  .category-grid,
  .review-grid,
  .experience-grid,
  .amenity-grid,
  .special-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-column: 1 / span 2;
    grid-row: span 1;
    min-height: 240px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    inset-inline: 0;
    background: var(--paper);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    z-index: 45;
    box-shadow: var(--shadow-sm);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .about-grid,
  .why-grid,
  .category-grid,
  .review-grid,
  .experience-grid,
  .amenity-grid,
  .special-grid,
  .contact-grid,
  .footer-grid,
  .facts,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item:first-child {
    grid-column: auto;
  }

  .about-photo img {
    height: 380px;
  }

  .about-card {
    inset-inline: 16px auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .reveal,
  .js-reveal,
  .category-card img,
  .gallery-item img,
  .btn,
  .glass-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
