/* ============================================================
   STYLE — Barber Bishr · Gold & Black Luxury
   ============================================================ */

/* ---- Reset & Variables ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Prevent ALL horizontal overflow globally */
html {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  --gold:          #C9A84C;
  --gold-light:    #E8C97A;
  --gold-bright:   #F5D76E;
  --gold-dark:     #8B6914;
  --gold-dim:      rgba(201, 168, 76, 0.15);
  --gold-border:   rgba(201, 168, 76, 0.3);
  --gold-glow:     rgba(201, 168, 76, 0.5);

  --black:         #000000;
  --black-rich:    #080808;
  --black-card:    #0f0f0f;
  --black-raised:  #171717;
  --black-border:  #242424;

  --white:         #FFFFFF;
  --white-off:     #F4F2ED;
  --text-muted:    #8a8a8a;
  --text-dim:      #555555;

  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
  --font-arabic:   'Cairo', 'Arial', sans-serif;

  --nav-h:         80px;
  --section-pad:   120px;
  --container:     1260px;

  --ease-out:      cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--black-rich);
  color: var(--white-off);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }

/* Arabic RTL */
html[dir="rtl"] body { font-family: var(--font-arabic); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
  animation: loaderFade 0.5s ease forwards;
}
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--white-off);
  text-transform: uppercase;
  animation: loaderTextFlicker 1.5s ease infinite;
  margin-bottom: 30px;
}
.loader-logo span { color: var(--gold); }
.loader-bar {
  width: 220px;
  height: 1px;
  background: var(--black-border);
  margin: 0 auto;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), var(--gold-dark));
  animation: loaderFill 1.8s ease forwards;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-border);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  border-color: var(--gold);
  background: rgba(201,168,76,.05);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 2rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gold-border), 0 8px 32px rgba(0,0,0,0.6);
  height: 68px;
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}
.logo-img { height: 42px; width: auto; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-barber {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.logo-bishr {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-bright) 50%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white-off);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  left: 1.1rem; right: 1.1rem;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--black-border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: all 0.3s ease;
  background: transparent;
}
.lang-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}
.lang-flag { font-size: 1rem; }
.lang-code { text-transform: uppercase; }
.lang-chevron {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
}
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--black-raised);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left;
}
.lang-option:hover {
  background: rgba(201,168,76,0.07);
  color: var(--gold);
}
.lang-option.active { color: var(--gold); }
html[dir="rtl"] .lang-option { text-align: right; }

/* Nav CTA */
.nav-cta {
  padding: 8px 22px;
  background: transparent;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white-off);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: left center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease-out);
  border-bottom: 1px solid var(--black-border);
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu ul { margin-bottom: 2rem; }
.mobile-menu ul li { border-bottom: 1px solid var(--black-border); }
.mobile-menu .mobile-link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white-off);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
html[dir="rtl"] .mobile-menu .mobile-link:hover { padding-right: 8px; padding-left: 0; }
.mobile-menu .mobile-link:hover { color: var(--gold); padding-left: 8px; }
.mobile-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  background-size: 200% auto;
  color: var(--black);
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white-off);
}
.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--black-border);
  color: var(--white-off);
}
.btn-outline:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: var(--section-pad) 2rem;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white-off);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title.left { text-align: left; }
html[dir="rtl"] .section-title.left { text-align: right; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 16px;
  font-weight: 300;
}

/* Gold decorative divider — centered by default, .left for left-aligned */
.gold-divider {
  display: block;
  position: relative;
  width: 140px;
  height: 8px;
  margin: 0 auto;
}
.gold-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 74px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  transform: translateY(-50%);
}
.gold-divider::after {
  content: '';
  position: absolute;
  top: 50%; right: 0; left: 74px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--gold));
  transform: translateY(-50%);
}
.gold-divider.left {
  margin: 0;
}
.gold-divider.left::before {
  background: linear-gradient(to right, var(--gold), transparent);
  right: 50px;
}
.gold-divider.left::after {
  left: 90px;
  background: linear-gradient(to left, transparent, var(--gold-dark));
  opacity: 0.5;
}
html[dir="rtl"] .gold-divider.left {
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 2rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.5) 60%, rgba(8,8,8,0.9) 100%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scanline-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(201,168,76,0.5) 2px,
    rgba(201,168,76,0.5) 3px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 2rem 0;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-title-wrap { overflow: hidden; margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white-off);
  letter-spacing: 0.02em;
}
.hero-line-italic { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(244, 242, 237, 0.65);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

/* Barber pole decoration */
.hero-pole {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 200px;
  border-radius: 7px;
  overflow: hidden;
  opacity: 0.4;
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.pole-inner {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #C9A84C 0px,
    #C9A84C 8px,
    #ffffff 8px,
    #ffffff 16px,
    #C41E3A 16px,
    #C41E3A 24px,
    #ffffff 24px,
    #ffffff 32px
  );
  animation: poleRotate 3s linear infinite;
}
html[dir="rtl"] .hero-pole { right: auto; left: 6%; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 60px 2rem;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}
.stats-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1 1 180px;
  text-align: center;
  padding: 1rem 2rem;
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--black-rich);
  padding: var(--section-pad) 2rem;
}
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--black-card);
  padding: 44px 40px;
  position: relative;
  cursor: default;
  transition: background 0.3s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201,168,76,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover { background: var(--black-raised); }
.service-card:hover::before { opacity: 1; }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-icon {
  width: 54px; height: 54px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  background: rgba(201,168,76,0.2);
  box-shadow: 0 0 20px rgba(201,168,76,0.25);
}
.service-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white-off);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}
.service-card-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-line { transform: scaleX(1); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--black-card); }
.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 4px;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--black-raised);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.65) saturate(1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom {
  width: 56px; height: 56px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  transform: scale(0.7);
  transition: transform 0.3s var(--ease-spring);
}
.gallery-zoom svg { width: 22px; height: 22px; color: var(--gold); }
.gallery-item:hover .gallery-zoom { transform: scale(1); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
  backdrop-filter: blur(12px);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.lightbox-caption {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  z-index: 1;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-off);
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 22px; height: 22px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--black-rich); }
.about-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
html[dir="rtl"] .about-container { direction: rtl; }

.about-image-wrap { position: relative; min-width: 0; }
.about-img-frame {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.about-img-frame:hover img {
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}
.about-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 90px; height: 90px;
  background: var(--black-card);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}
html[dir="rtl"] .about-badge { right: auto; left: -24px; }
.about-badge span {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-badge strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.about-accent-line {
  position: absolute;
  top: 30px;
  left: -20px;
  width: 3px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
html[dir="rtl"] .about-accent-line { left: auto; right: -20px; }

.about-content { }
.about-text {
  font-size: 1rem;
  color: rgba(244,242,237,0.7);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
html[dir="rtl"] .about-feature { flex-direction: row-reverse; }
.feature-check {
  width: 22px; height: 22px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--black-card);
  overflow: hidden;
}
.testimonials-track-wrap {
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 2rem;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease-out);
}

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--black-raised);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testi-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-dim);
  font-weight: 300;
}
html[dir="rtl"] .testi-card::before { right: auto; left: 30px; }

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.85rem;
}
.testi-text {
  font-size: 0.95rem;
  color: rgba(244,242,237,0.75);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
html[dir="rtl"] .testi-author { flex-direction: row-reverse; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-off);
}
.testi-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonials-controls {
  max-width: var(--container);
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.testi-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  background: var(--black-raised);
}
.testi-btn svg { width: 18px; height: 18px; }
.testi-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}
.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--black-border);
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  cursor: pointer;
}
.testi-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 3px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--black-rich); }
.contact-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}
html[dir="rtl"] .info-card { flex-direction: row-reverse; }
.info-card:hover { border-color: var(--gold-border); }
.info-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; color: var(--gold); }
.info-card h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.info-card p,
.info-card a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
}
.contact-link {
  color: var(--white-off) !important;
  transition: color 0.2s ease;
}
.contact-link:hover { color: var(--gold) !important; }

.hours-table { display: flex; flex-direction: column; gap: 6px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 20px;
}
.contact-action-btns {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Map */
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--black-border);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  padding: 60px 40px;
  background: var(--black-card);
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.map-pin-anim {
  margin-bottom: 20px;
  animation: pinBounce 2s ease-in-out infinite;
}
.map-pin-icon { width: 44px; height: 44px; color: var(--gold); }
.map-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white-off);
  margin-bottom: 8px;
}
.map-addr {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.map-link:hover {
  background: var(--gold-dim);
  box-shadow: 0 4px 16px rgba(201,168,76,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--black-border);
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 2rem 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {}
.footer-logo { margin-bottom: 18px; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
html[dir="rtl"] .footer-social { flex-direction: row-reverse; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--black-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-links-col h4 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color 0.2s ease;
}
.footer-links-col ul li a:hover { color: var(--gold); }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}
.footer-contact-info a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.footer-contact-info a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 2rem;
  border-top: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 300;
}
.footer-credit { color: var(--text-dim); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
html[dir="rtl"] .whatsapp-fab { right: auto; left: 32px; }
.whatsapp-fab svg { width: 28px; height: 28px; color: #fff; }
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: fabRing 2s ease-out infinite;
}

.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white-off);
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
html[dir="rtl"] .fab-tooltip {
  right: auto;
  left: calc(100% + 12px);
  transform: translateX(-8px);
}
.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-container { gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item[style*="span 2"] {
    grid-column: span 2;
    grid-row: span 1;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .testi-card { flex: 0 0 calc(50% - 12px); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --section-pad: 60px; --nav-h: 64px; }
  .navbar { padding: 0 1rem; }
  .nav-container { gap: 0.5rem; }
  .logo-bishr { font-size: 1.35rem; }
  .lang-btn { padding: 5px 8px; }
  .lang-code { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item[style*="span 2"] { grid-column: span 1; grid-row: span 1; }

  .stats-container { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-pole { display: none; }

  .testi-card { flex: 0 0 calc(100% - 0px); }

  .contact-action-btns { flex-direction: column; }
  .mobile-ctas { flex-direction: column; }
}

/* ============================================================
   RTL OVERRIDES — Arabic
   In RTL, dir="rtl" on <html> already reverses flex-direction:row
   naturally (items flow right→left). We do NOT add row-reverse —
   that would undo the browser's RTL handling and break the layout.
   ============================================================ */
html[dir="rtl"] body           { font-family: var(--font-arabic); }

/* Lang dropdown: in RTL it opens to the left of the button */
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* Reduce letter-spacing for Arabic (designed for Latin) */
html[dir="rtl"] .hero-tagline  { letter-spacing: 0.05em; }
html[dir="rtl"] .section-tag   { letter-spacing: 0.05em; }
html[dir="rtl"] .logo-barber,
html[dir="rtl"] .logo-bishr    { letter-spacing: 0.02em; }

/* Scroll indicator: centered stays centered in RTL too */
html[dir="rtl"] .scroll-indicator { left: 50%; right: auto; transform: translateX(-50%); }

/* Lightbox: swap arrow sides */
html[dir="rtl"] .lightbox-prev { left: auto; right: 20px; }
html[dir="rtl"] .lightbox-next { right: auto; left: 20px; }

/* WhatsApp FAB: bottom-left in RTL */
html[dir="rtl"] .whatsapp-fab  { right: auto; left: 32px; }
html[dir="rtl"] .fab-tooltip   { right: auto; left: calc(100% + 12px); }

/* About badge mirrors to left side */
html[dir="rtl"] .about-badge   { right: auto; left: -16px; }
html[dir="rtl"] .about-accent-line { left: auto; right: -20px; }

/* Arabic typography overrides — serif headings need Cairo */
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .service-name,
html[dir="rtl"] .map-name,
html[dir="rtl"] .about-badge strong {
  font-family: var(--font-arabic);
  font-style: normal;
  letter-spacing: 0;
}
html[dir="rtl"] .hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.25;
}
html[dir="rtl"] .section-title {
  font-weight: 600;
}
html[dir="rtl"] .hero-line-italic {
  font-style: normal;
  font-weight: 300;
}
html[dir="rtl"] .stat-label,
html[dir="rtl"] .service-desc,
html[dir="rtl"] .about-text,
html[dir="rtl"] .testi-text {
  letter-spacing: 0;
}
html[dir="rtl"] .mobile-menu .mobile-link:hover { padding-right: 8px; padding-left: 0; }
