/* ============================================================
   SAFAR AR ROOH v2 — Main Stylesheet
   Theme: Deep Forest Green + Burnished Gold + Midnight
   No stars — rich gradient mesh background
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Kufi+Arabic:wght@300;400;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --gold:         #C8A455;
  --gold-light:   #E6C878;
  --gold-dark:    #8A6420;
  --gold-shine:   #F5DFA0;
  --green:        #1A4A2E;
  --green-mid:    #1F6B40;
  --green-light:  #2A9458;
  --green-glow:   #3DBE72;
  --forest:       #0D2218;
  --midnight:     #07100F;
  --deep:         #0A1A12;
  --deep-2:       #0E2118;
  --deep-3:       #122A1E;
  --cream:        #F5EDD8;
  --text:         #EAE0C8;
  --text-muted:   #7A9080;
  --text-soft:    #B8CDB8;
  --white:        #FFFFFF;
  --border-gold:  rgba(200,164,85,0.22);
  --border-green: rgba(42,148,88,0.2);
  --glass:        rgba(7,16,15,0.7);
  --glass-2:      rgba(13,34,24,0.6);
  --font-display: 'Cinzel Decorative', serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-arabic:  'Noto Kufi Arabic', sans-serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --container:    1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--midnight);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===== PERFORMANCE: GPU compositing ===== */
.will-change-transform { will-change: transform; }
.contain-layout { contain: layout; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== UTILITY ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); }
.section-pad { padding: clamp(4rem,8vw,7rem) 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ===== RICH BACKGROUND — no stars ===== */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 15% 10%,  rgba(26,74,46,0.45)  0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 85% 85%,  rgba(200,164,85,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 40%,  rgba(13,34,24,0.6)    0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 50%, var(--deep) 0%, var(--midnight) 100%);
}

/* Subtle animated gradient orbs — replace stars */
.bg-orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(80px); opacity: 0.18;
  animation: orbDrift var(--dur,18s) var(--delay,0s) ease-in-out infinite alternate;
}
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(var(--dx,30px), var(--dy,-20px)) scale(1.1); }
  100% { transform: translate(var(--dx2,-20px), var(--dy2,30px)) scale(0.95); }
}

/* Islamic pattern overlay */
.pattern-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='%23C8A455' stroke-width='0.5'/%3E%3Cpath d='M40 12 L68 40 L40 68 L12 40Z' fill='none' stroke='%23C8A455' stroke-width='0.3'/%3E%3Ccircle cx='40' cy='40' r='9' fill='none' stroke='%23C8A455' stroke-width='0.3'/%3E%3C/svg%3E");
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.9rem clamp(1rem,4vw,3rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(7,16,15,0.88);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(200,164,85,0.15);
  padding: .6rem clamp(1rem,4vw,3rem);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-logo-wrap { display: flex; align-items: center; gap: .75rem; }
.nav-logo-img {
  height: 52px; width: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(200,164,85,0.4);
  padding: 3px;
  background: rgba(200,164,85,0.06);
  box-shadow: 0 0 0 1px rgba(200,164,85,0.12), 0 0 16px rgba(200,164,85,0.2), 0 3px 10px rgba(0,0,0,0.6);
  transition: all .4s;
  animation: logoGlow 4s ease-in-out infinite;
}
@keyframes logoGlow {
  0%,100% { box-shadow: 0 0 0 1px rgba(200,164,85,0.12), 0 0 14px rgba(200,164,85,0.18), 0 3px 10px rgba(0,0,0,0.6); }
  50%      { box-shadow: 0 0 0 2px rgba(200,164,85,0.22), 0 0 24px rgba(200,164,85,0.36), 0 4px 14px rgba(0,0,0,0.7); }
}
#navbar.scrolled .nav-logo-img { height: 42px; }
.nav-logo-img:hover { border-color: rgba(200,164,85,0.75); transform: scale(1.06); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-en { font-family: var(--font-display); font-size: .68rem; color: var(--gold); letter-spacing: .08em; }
.nav-brand-ar { font-family: var(--font-arabic); direction: rtl; font-size: .82rem; color: var(--text-muted); font-weight: 400; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: .06em; position: relative;
  transition: color .3s; padding: .3rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .35s;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  padding: .5rem 1.4rem; border-radius: 40px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #060300; font-family: var(--font-display); font-size: .65rem;
  letter-spacing: .04em; transition: all .3s;
  box-shadow: 0 4px 18px rgba(200,164,85,0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,164,85,0.55); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-drawer {
  position: fixed; top: 0; right: -100%; bottom: 0; width: min(300px,85vw); z-index: 999;
  background: rgba(7,16,15,0.97); backdrop-filter: blur(30px);
  border-left: 1px solid rgba(200,164,85,0.15);
  padding: 5rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.4rem;
  transition: right .4s var(--ease);
  box-shadow: -10px 0 60px rgba(0,0,0,0.6);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer .nav-link { font-size: 1.05rem; padding: .7rem 0; border-bottom: 1px solid rgba(200,164,85,0.07); }
.drawer-overlay { position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,0.6); display: none; backdrop-filter: blur(4px); }
.drawer-overlay.visible { display: block; }

/* ===== GLASSMORPHISM BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  border-radius: 50px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600;
  transition: all .35s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
  letter-spacing: .04em; border: none;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }

/* Glass Gold Button */
.btn-gold {
  padding: .9rem 2.2rem;
  background: rgba(200,164,85,0.15);
  border: 1px solid rgba(200,164,85,0.45);
  color: var(--gold-light);
  font-size: .88rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(200,164,85,0.2), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.1);
  animation: glassGoldPulse 3s ease infinite;
}
.btn-gold:hover {
  background: rgba(200,164,85,0.25);
  border-color: rgba(200,164,85,0.7);
  color: var(--gold-shine);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(200,164,85,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
@keyframes glassGoldPulse {
  0%,100% { box-shadow: 0 4px 24px rgba(200,164,85,0.2), inset 0 1px 0 rgba(255,255,255,0.08); }
  50%      { box-shadow: 0 4px 36px rgba(200,164,85,0.35), inset 0 1px 0 rgba(255,255,255,0.12); }
}

/* Glass Outline Button */
.btn-outline {
  padding: .9rem 2rem;
  background: rgba(200,164,85,0.06);
  border: 1px solid rgba(200,164,85,0.3);
  color: var(--gold);
  font-size: .88rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.btn-outline:hover {
  background: rgba(200,164,85,0.14);
  border-color: rgba(200,164,85,0.6);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,164,85,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Glass Green Button */
.btn-teal {
  padding: .9rem 2.2rem;
  background: rgba(26,74,46,0.35);
  border: 1px solid rgba(42,148,88,0.4);
  color: #a8f0c8;
  font-size: .88rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(26,107,64,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-teal:hover {
  background: rgba(42,148,88,0.25);
  border-color: rgba(61,190,114,0.6);
  color: var(--green-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(42,148,88,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100svh; z-index: 2;
  display: flex; align-items: center; padding: 6rem 0 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-bg-image.loaded { opacity: 0.06; }
.hero-bg-image.fallback { opacity: 0; }
.hero-mosque-silhouette {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: url('../assets/images/mosque-silhouette.svg') bottom center / cover no-repeat;
  opacity: 0.08; height: 280px;
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(200,164,85,0.08);
  border: 1px solid rgba(200,164,85,0.25);
  backdrop-filter: blur(12px);
  border-radius: 60px; padding: .45rem 1.3rem; margin-bottom: 1.8rem;
  font-size: .7rem; letter-spacing: .18em; color: var(--gold);
  animation: fadeSlideUp .8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-glow);
  animation: dotPulse 2s ease infinite;
  box-shadow: 0 0 8px var(--green-glow);
}
@keyframes dotPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.5} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,5.5vw,3.8rem);
  line-height: 1.1; color: var(--gold-light);
  animation: fadeSlideUp .9s ease .1s both;
  text-shadow: 0 0 60px rgba(200,164,85,0.2);
}
.hero-title-ar {
  display: block; font-family: var(--font-arabic); direction: rtl;
  font-size: clamp(1.5rem,3.5vw,2.6rem); color: var(--cream);
  margin-top: .6rem; font-weight: 700; line-height: 1.4;
  animation: fadeSlideUp .9s ease .15s both;
}
.hero-subtitle-ar {
  display: block; font-family: var(--font-arabic); direction: rtl;
  font-size: clamp(.9rem,2vw,1.2rem); color: var(--green-glow);
  margin-top: .3rem; font-weight: 300;
  animation: fadeSlideUp .9s ease .2s both;
}
.hero-desc {
  margin: 1.8rem 0 2.5rem; font-size: clamp(.92rem,1.5vw,1.05rem);
  color: var(--text-soft); line-height: 1.9; font-style: italic;
  animation: fadeSlideUp 1s ease .25s both; max-width: 460px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeSlideUp 1s ease .35s both; }

/* ===== KAABA VISUAL ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kaaba-scene {
  position: relative;
  width: clamp(280px, 38vw, 420px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visible golden orbit rings (static — just the track) */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(200, 164, 85, 0.4);
  box-shadow: 0 0 12px rgba(200, 164, 85, 0.15);
  pointer-events: none;
}
.orbit-ring-1 { width: 52%; height: 52%; }
.orbit-ring-2 { width: 82%; height: 82%; }

/* Kaaba circular container with spread glow behind it */
.kaaba-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  border-radius: 50%;
  z-index: 3;
  overflow: hidden;
  background: radial-gradient(circle, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%);
  box-shadow:
    0 0 40px 18px rgba(200, 164, 85, 0.22),
    0 0 80px 30px rgba(200, 164, 85, 0.10),
    0 0 120px 50px rgba(26, 74, 46, 0.18),
    inset 0 0 20px rgba(200, 164, 85, 0.12);
}

.kaaba-img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Orbit containers — anti-clockwise ONLY */
.kaaba-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 4;
  /* No animation here — applied per orbit below */
}
.orbit-1 {
  width: 52%; height: 52%;
  animation: orbitAntiCW 10s linear infinite;
}
.orbit-2 {
  width: 82%; height: 82%;
  animation: orbitAntiCW 18s linear infinite;
}

/* Dot at 0° — top center */
.kaaba-orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: 0%; left: 50%;
  transform: translate(-50%, -50%);
  animation: dotPulseGold 2s ease-in-out infinite alternate;
}

/* 120° clockface position */
.dot-pos-2 { left: 93.3%; top: 75%; }

/* 240° clockface position */
.dot-pos-3 { left: 6.7%; top: 75%; }

.dot-gold {
  background: radial-gradient(circle, #f5dfa0, #c8a455);
  box-shadow: 0 0 8px #c8a455, 0 0 18px rgba(200, 164, 85, 0.55);
}

/* Anti-clockwise only — named differently to avoid any conflict */
@keyframes orbitAntiCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes dotPulseGold {
  0%   { opacity: 0.6; box-shadow: 0 0 6px #c8a455; }
  100% { opacity: 1;   box-shadow: 0 0 16px #f5dfa0, 0 0 28px rgba(200,164,85,0.6); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.reveal { opacity:0; transform:translateY(32px); transition:opacity .8s ease,transform .8s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-32px); transition:opacity .8s ease,transform .8s ease; }
.reveal-left.visible { opacity:1; transform:none; }
.reveal-right { opacity:0; transform:translateX(32px); transition:opacity .8s ease,transform .8s ease; }
.reveal-right.visible { opacity:1; transform:none; }

/* ===== SECTION HEADERS ===== */
.section-eyebrow {
  display: block; font-size: .68rem; letter-spacing: .3em; color: var(--green-glow);
  text-transform: uppercase; margin-bottom: .9rem; font-family: var(--font-body); font-weight: 600;
}
.section-title-main {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,4vw,2.7rem);
  color: var(--gold-light); line-height: 1.15;
}
.section-title-ar-sub {
  display: block; font-family: var(--font-arabic); direction: rtl;
  font-size: clamp(.9rem,2vw,1.15rem); color: var(--text-muted);
  margin-top: .5rem; font-weight: 400;
}
.section-desc {
  font-size: .98rem; color: var(--text-muted); max-width: 540px;
  margin: 1rem auto 0; font-style: italic; line-height: 1.85;
}
.ornament-line {
  display: flex; align-items: center; gap: 1rem; justify-content: center; margin: 1.2rem 0;
}
.ornament-line::before {
  content:''; flex:1; max-width:80px; height:1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.ornament-line::after {
  content:''; flex:1; max-width:80px; height:1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}
.ornament-diamond { color: var(--gold); font-size: .8rem; }

/* ===== SHOP CTA ===== */
.shop-section { position: relative; z-index: 2; padding: 2rem 0 5.5rem; }
.shop-cta-wrap { text-align: center; }
.shop-divider {
  display: flex; align-items: center; gap: 1.5rem; max-width: 500px; margin: 0 auto 2.5rem;
}
.shop-divider-line { flex:1; height:1px; background: linear-gradient(90deg,transparent,var(--border-gold),transparent); }
.shop-divider-icon { color: var(--gold); font-size:.9rem; opacity:.6; }

/* Big glass shop button */
.btn-shop-mega {
  position: relative; display: inline-flex; align-items: center; gap: 1.2rem;
  padding: 1.3rem 3.8rem; border-radius: 80px; overflow: hidden;
  background: rgba(26,74,46,0.3);
  border: 1.5px solid rgba(42,148,88,0.45);
  color: #a8f0c8;
  font-family: var(--font-display); font-size: .96rem; letter-spacing: .05em;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 55px rgba(26,74,46,0.35), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.2);
  transition: all .35s var(--ease);
  animation: shopPulse 3s ease infinite;
}
.btn-shop-mega::before {
  content:''; position:absolute; top:-50%; left:-80%; width:40%; height:200%;
  background: rgba(255,255,255,0.06); transform: skewX(-20deg);
  animation: shinePass 4.5s ease 2s infinite;
}
@keyframes shinePass { 0%{left:-80%}100%{left:160%} }
@keyframes shopPulse {
  0%,100% { box-shadow: 0 12px 55px rgba(26,74,46,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
  50%      { box-shadow: 0 12px 70px rgba(42,148,88,0.45), inset 0 1px 0 rgba(255,255,255,0.12); }
}
.btn-shop-mega:hover {
  background: rgba(42,148,88,0.22);
  border-color: rgba(61,190,114,0.65);
  color: var(--green-glow);
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 18px 70px rgba(42,148,88,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
}
.shop-arrow { transition: transform .3s; }
.btn-shop-mega:hover .shop-arrow { transform: translateX(5px); }
.shop-url-badge { display:inline-block; margin-top:1rem; font-size:.76rem; color:var(--text-muted); letter-spacing:.15em; }
.shop-url-badge a { color: var(--green-glow); }

/* Product pills */
.product-pills {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.pill {
  font-size: .7rem; padding: .32rem .95rem; border-radius: 30px;
  background: rgba(200,164,85,0.06);
  border: 1px solid rgba(200,164,85,0.16);
  color: var(--text-muted); letter-spacing: .07em;
  transition: all .25s; backdrop-filter: blur(8px);
}
.pill:hover { background: rgba(200,164,85,0.14); color: var(--gold-light); border-color: rgba(200,164,85,0.35); }

/* ===== SHOP SECTION EXTENDED ===== */
.shop-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.2rem; margin-top: 2.5rem; max-width: 900px; margin-left: auto; margin-right: auto;
}
.shop-feat-card {
  background: rgba(13,34,24,0.5);
  border: 1px solid rgba(200,164,85,0.14);
  border-radius: 16px; padding: 1.2rem 1.4rem;
  backdrop-filter: blur(12px);
  transition: all .3s;
  text-align: center;
}
.shop-feat-card:hover { background: rgba(26,74,46,0.3); border-color: rgba(200,164,85,0.28); transform: translateY(-4px); }
.shop-feat-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.shop-feat-title { font-family: var(--font-display); font-size: .72rem; color: var(--gold-light); margin-bottom: .3rem; }
.shop-feat-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.6; }

/* ===== WHY CONTENT — AdSense value ===== */
.value-content { position: relative; z-index: 2; background: rgba(13,34,24,0.4); border-top: 1px solid rgba(200,164,85,0.06); border-bottom: 1px solid rgba(200,164,85,0.06); }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.value-text h2 { margin-bottom: 1.2rem; }
.value-text p { font-size: .92rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1rem; }
.value-text p strong { color: var(--gold-light); font-weight: 600; }
.value-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.value-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.value-list li::before { content: '◆'; color: var(--gold); font-size: .5rem; flex-shrink: 0; margin-top: .4rem; }
.value-quote {
  background: rgba(200,164,85,0.06);
  border: 1px solid rgba(200,164,85,0.18);
  border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
}
.value-quote-text { font-family: var(--font-arabic); direction: rtl; font-size: 1.6rem; color: var(--gold-light); line-height: 1.6; margin-bottom: 1rem; }
.value-quote-trans { font-family: var(--font-serif); font-style: italic; font-size: .92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: .5rem; }
.value-quote-ref { font-size: .72rem; color: var(--green-glow); letter-spacing: .1em; }

/* ===== PACKAGES ===== */
#packages { position: relative; z-index: 2; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.pkg-card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: var(--glass-2);
  border: 1px solid rgba(200,164,85,0.2);
  padding: 2.2rem 1.8rem; display: flex; flex-direction: column;
  transition: all .45s var(--ease);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.pkg-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg,transparent,var(--gold),var(--green-glow),var(--gold),transparent);
  transform: scaleX(0); transition: transform .5s;
}
.pkg-card:hover { transform: translateY(-10px); border-color: rgba(200,164,85,0.38); box-shadow: 0 24px 70px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.07); }
.pkg-card:hover::before { transform: scaleX(1); }
.pkg-badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: .6rem; padding: .22rem .75rem; border-radius: 20px;
  background: rgba(200,164,85,0.1); border: 1px solid rgba(200,164,85,0.26);
  color: var(--gold); letter-spacing: .12em; font-weight: 600;
}
.pkg-icon-wrap {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1.3rem;
  background: rgba(26,74,46,0.3);
  border: 1px solid rgba(42,148,88,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  transition: all .4s; backdrop-filter: blur(8px);
}
.pkg-card:hover .pkg-icon-wrap { transform: scale(1.1) rotate(-3deg); background: rgba(42,148,88,0.2); }
.pkg-title-en { font-family: var(--font-display); font-size: .92rem; color: var(--gold-light); margin-bottom: .3rem; }
.pkg-title-ar { font-family: var(--font-arabic); direction: rtl; font-size: .88rem; color: var(--text-muted); display: block; margin-bottom: .9rem; }
.pkg-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.3rem; flex:1; }
.pkg-features { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.pkg-features li { font-size: .78rem; color: var(--text-soft); display: flex; align-items: flex-start; gap: .6rem; }
.pkg-features li::before { content:'◆'; color: var(--gold); font-size: .42rem; margin-top: .38rem; flex-shrink: 0; }
.pkg-cta {
  display: block; text-align: center; padding: .72rem 1.2rem; border-radius: 12px;
  background: rgba(200,164,85,0.07);
  border: 1px solid rgba(200,164,85,0.22);
  color: var(--gold); font-size: .78rem; letter-spacing: .1em;
  font-weight: 600; transition: all .3s;
  backdrop-filter: blur(8px);
}
.pkg-cta:hover { background: rgba(200,164,85,0.16); border-color: var(--gold); }

/* ===== FEATURES ===== */
#features { position: relative; z-index: 2; background: rgba(13,34,24,0.35); border-top: 1px solid rgba(200,164,85,0.07); border-bottom: 1px solid rgba(200,164,85,0.07); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 2rem; margin-top: 3.5rem; }
.feat-card { text-align: center; padding: 1.5rem; }
.feat-icon {
  width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 1.3rem;
  background: rgba(26,74,46,0.3);
  border: 1px solid rgba(42,148,88,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  transition: all .5s; box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: iconBob var(--dur,4.5s) var(--delay,0s) ease-in-out infinite;
  backdrop-filter: blur(8px);
}
@keyframes iconBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.feat-card:hover .feat-icon { transform: scale(1.1) translateY(-6px); background: rgba(42,148,88,0.2); border-color: rgba(61,190,114,0.35); box-shadow: 0 12px 40px rgba(42,148,88,0.2); }
.feat-title { font-family: var(--font-display); font-size: .8rem; color: var(--gold-light); margin-bottom: .6rem; }
.feat-desc { font-size: .81rem; color: var(--text-muted); line-height: 1.7; }

/* ===== STATS ===== */
#stats { position: relative; z-index: 2; }
.stats-grid {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: rgba(200,164,85,0.12);
  border: 1px solid rgba(200,164,85,0.15);
  border-radius: 22px; overflow: hidden; margin-top: 3rem;
}
.stat-box {
  flex:1; min-width: 140px; padding: 2.5rem 1.5rem; text-align: center;
  background: var(--glass); transition: background .3s; backdrop-filter: blur(16px);
}
.stat-box:hover { background: rgba(26,74,46,0.3); }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem,4.5vw,2.8rem); color: var(--gold); }
.stat-suf { font-size: 1.4rem; color: var(--gold-light); }
.stat-label { font-size: .7rem; color: var(--text-muted); letter-spacing: .2em; margin-top: .4rem; text-transform: uppercase; }

/* ===== TESTIMONIALS ===== */
#testimonials { position: relative; z-index: 2; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--glass-2);
  border: 1px solid rgba(200,164,85,0.18);
  border-radius: 20px; padding: 2rem 1.8rem;
  position: relative; backdrop-filter: blur(14px);
  transition: transform .3s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card::before { content:'"'; position:absolute; top:.3rem; left:1.3rem; font-family:Georgia; font-size:5rem; color:rgba(200,164,85,0.09); line-height:1; }
.testimonial-text { font-size: .88rem; color: var(--text-soft); line-height: 1.85; font-style: italic; margin-bottom: 1.3rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--green),var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 1.5px solid var(--border-gold); }
.author-name { font-family: var(--font-display); font-size: .74rem; color: var(--gold-light); }
.author-loc { font-size: .7rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: .1rem; margin-bottom: .7rem; }

/* ===== CONSENT CHECKBOX ===== */
.form-consent {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .8rem 1rem; border-radius: 10px;
  background: rgba(200,164,85,0.04);
  border: 1px solid rgba(200,164,85,0.12);
}
.form-consent input[type=checkbox] {
  accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: .2rem; cursor: pointer;
}
.form-consent label { font-size: .78rem; color: var(--text-muted); line-height: 1.6; cursor: pointer; }
.form-consent a { color: var(--gold-light); transition: color .25s; }
.form-consent a:hover { color: var(--gold); }

/* Contact form */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px;
  background: rgba(26,74,46,0.3);
  border: 1px solid rgba(42,148,88,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  backdrop-filter: blur(8px);
}
.contact-label { font-size: .68rem; color: var(--text-muted); letter-spacing: .15em; text-transform: uppercase; margin-bottom: .25rem; }
.contact-val { font-size: .93rem; color: var(--text); }
.contact-val a { color: var(--gold-light); transition: color .2s; }
.contact-val a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .73rem; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; }
.form-control {
  background: rgba(13,34,24,0.5);
  border: 1px solid rgba(200,164,85,0.18);
  border-radius: 12px; padding: .9rem 1.2rem;
  color: var(--text); font-family: var(--font-body); font-size: .88rem;
  transition: border-color .3s, box-shadow .3s; outline: none; width: 100%;
  backdrop-filter: blur(8px);
}
.form-control:focus { border-color: rgba(200,164,85,0.45); box-shadow: 0 0 0 3px rgba(200,164,85,0.1); }
.form-control::placeholder { color: rgba(122,144,128,0.5); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== FOOTER ===== */
footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(200,164,85,0.1);
  padding: 4rem 0 2rem;
  background: rgba(7,16,15,0.8);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-logo {
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,164,85,0.3);
  padding: 3px;
  background: rgba(200,164,85,0.05);
  box-shadow: 0 0 16px rgba(200,164,85,0.18), 0 3px 10px rgba(0,0,0,0.5);
  filter: none; transition: all .3s;
  animation: logoGlow 5s ease-in-out infinite;
}
.footer-logo:hover { box-shadow: 0 0 26px rgba(200,164,85,0.4), 0 4px 14px rgba(0,0,0,0.6); transform: scale(1.04); }
.footer-about { font-size: .84rem; color: var(--text-muted); line-height: 1.8; max-width: 280px; }
.footer-heading { font-family: var(--font-display); font-size: .72rem; color: var(--gold); letter-spacing: .12em; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { font-size: .82rem; color: var(--text-muted); transition: color .25s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(200,164,85,0.07); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: .74rem; color: var(--text-muted); }
.footer-ar { font-family: var(--font-arabic); direction: rtl; font-size: .84rem; color: var(--text-muted); }

/* ===== SCROLL INDICATOR ===== */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .4; animation: fadeIn 2s ease 1.5s both;
}
.scroll-hint span { font-size: .58rem; letter-spacing: .3em; color: var(--text-muted); font-family: var(--font-body); }
.scroll-line { width: 1px; height: 46px; background: linear-gradient(to bottom,var(--gold),transparent); animation: scrollLineAnim 2.2s ease infinite; }
@keyframes scrollLineAnim {
  0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top}
  50.001%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom}
}

/* ===== POLICY PAGES ===== */
.policy-page { position: relative; z-index: 2; padding: 8rem 0 5rem; max-width: 820px; margin: 0 auto; }
.policy-hero { text-align: center; padding: 0 0 3rem; }
.policy-section { margin-bottom: 2rem; padding: 2rem; background: var(--glass-2); border: 1px solid rgba(200,164,85,0.15); border-radius: 18px; backdrop-filter: blur(12px); }
.policy-section h2 { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.policy-section h3 { font-family: var(--font-display); font-size: .84rem; color: var(--gold); margin: 1.2rem 0 .6rem; }
.policy-section p { font-size: .87rem; color: var(--text-muted); line-height: 1.9; margin-bottom: .8rem; }
.policy-section ul { display: flex; flex-direction: column; gap: .5rem; margin: .5rem 0 .8rem; }
.policy-section ul li { font-size: .85rem; color: var(--text-muted); line-height: 1.7; display: flex; gap: .7rem; align-items: flex-start; }
.policy-section ul li::before { content:'◆'; color: var(--gold); font-size: .48rem; flex-shrink: 0; margin-top: .38rem; }
.policy-highlight { background: rgba(200,164,85,0.06); border: 1px solid rgba(200,164,85,0.18); border-radius: 10px; padding: 1rem 1.2rem; margin: .8rem 0; }
.policy-highlight p { margin: 0; color: var(--text-soft); }
.policy-warning { background: rgba(180,80,80,0.07); border: 1px solid rgba(180,80,80,0.2); border-radius: 10px; padding: 1rem 1.2rem; margin: .8rem 0; }
.policy-warning p { margin: 0; color: #E8A0A0; }

/* ===== FORM FIELD ERRORS ===== */
.form-control.field-error {
  border-color: rgba(232,160,160,0.6);
  box-shadow: 0 0 0 3px rgba(232,160,160,0.12);
}
.field-error-msg {
  display: block;
  font-size: .72rem;
  color: #E8A0A0;
  margin-top: .3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content { max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .kaaba-scene { width: clamp(200px,50vw,300px); }
  .value-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .stat-box { min-width: 120px; padding: 2rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .btn-shop-mega { padding: 1.1rem 2.2rem; font-size: .85rem; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .feat-grid { grid-template-columns: 1fr; }
  .btn { font-size: .82rem; padding: .8rem 1.5rem; }
  .hero-badge { font-size: .63rem; }
  .shop-features { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════════ */
#splash {
  position: fixed; inset: 0; z-index: 99999;
  background:
    radial-gradient(ellipse 80% 70% at 20% 20%, rgba(26,74,46,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 80% 80%, rgba(200,164,85,0.1) 0%, transparent 60%),
    var(--midnight);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  animation: splashOut 0.8s ease 5.6s forwards;
  overflow: hidden;
  pointer-events: none;
}
@keyframes splashOut {
  to { opacity: 0; filter: blur(18px); transform: scale(1.04); visibility: hidden; }
}

/* Decorative pattern behind logo */
.splash-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='%23C8A455' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='40' r='9' fill='none' stroke='%23C8A455' stroke-width='0.3'/%3E%3C/svg%3E");
}

/* Outer pulsing ring */
.splash-ring {
  position: absolute;
  width: clamp(200px, 50vw, 340px);
  height: clamp(200px, 50vw, 340px);
  border-radius: 50%;
  border: 1px solid rgba(200,164,85,0.15);
  animation: splashRing 2s ease-in-out infinite;
}
.splash-ring-2 {
  width:  clamp(240px, 60vw, 400px);
  height: clamp(240px, 60vw, 400px);
  border-color: rgba(200,164,85,0.08);
  animation-delay: 0.5s;
  animation-duration: 2.5s;
}
@keyframes splashRing {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* Logo container */
.splash-logo-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  animation: splashLogoIn 0.8s ease both;
}
@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

/* The logo image */
.splash-logo {
  width: clamp(90px, 18vw, 140px);
  height: clamp(90px, 18vw, 140px);
  border-radius: 50%;
  border: 2px solid rgba(200,164,85,0.5);
  padding: 6px;
  background: rgba(200,164,85,0.07);
  box-shadow:
    0 0 0 1px rgba(200,164,85,0.12),
    0 0 40px rgba(200,164,85,0.25),
    0 0 80px rgba(26,74,46,0.3),
    0 6px 30px rgba(0,0,0,0.6);
  object-fit: contain;
  animation: splashLogoGlow 1.5s ease-in-out infinite alternate;
}
@keyframes splashLogoGlow {
  from { box-shadow: 0 0 0 1px rgba(200,164,85,0.12), 0 0 35px rgba(200,164,85,0.2), 0 0 70px rgba(26,74,46,0.25), 0 6px 30px rgba(0,0,0,0.6); }
  to   { box-shadow: 0 0 0 2px rgba(200,164,85,0.2),  0 0 55px rgba(200,164,85,0.4), 0 0 100px rgba(26,74,46,0.35), 0 6px 30px rgba(0,0,0,0.6); }
}

/* Brand name */
.splash-brand-en {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 2.5vw, 1.1rem);
  color: var(--gold);
  letter-spacing: 0.2em;
  text-align: center;
  text-shadow: 0 0 30px rgba(200,164,85,0.4);
  animation: splashTextIn 0.7s ease 0.3s both;
}
.splash-brand-ar {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: var(--cream);
  text-align: center;
  line-height: 1.4;
  animation: splashTextIn 0.7s ease 0.5s both;
  text-shadow: 0 0 20px rgba(200,164,85,0.2);
}
.splash-brand-sub {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  color: var(--green-glow);
  text-align: center;
  animation: splashTextIn 0.7s ease 0.65s both;
  letter-spacing: 0.02em;
}
@keyframes splashTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Tagline */
.splash-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.08em;
  max-width: min(340px, 85vw);
  animation: splashTextIn 0.7s ease 0.8s both;
}

/* Loading dots */
.splash-dots {
  display: flex; gap: 6px; align-items: center;
  animation: splashTextIn 0.5s ease 1s both;
}
.splash-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-dark);
  animation: splashDot 1.2s ease infinite;
}
.splash-dot:nth-child(2) { animation-delay: 0.15s; }
.splash-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes splashDot {
  0%,100% { transform: scale(1);   background: var(--gold-dark); }
  50%      { transform: scale(1.5); background: var(--gold);      }
}

/* ═══════════════════════════════════════════════
   EXTRA RESPONSIVE UTILITIES
═══════════════════════════════════════════════ */

/* Prevent horizontal overflow on all screens */
*, *::before, *::after { max-width: 100%; }
img, video, svg { max-width: 100%; height: auto; }

/* Ensure blog + gallery pages fill well on mobile */
@media(max-width:480px) {
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search-wrap { max-width: 100%; }
  .blog-cats { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .3rem; }
  .blog-cat-btn { flex-shrink: 0; }
  .gallery-tabs { justify-content: center; }
  .g-tab { font-size: .74rem; padding: .5rem .9rem; }
  .reviews-stats { grid-template-columns: repeat(2,1fr); }
  .lightbox-inner { max-width: 98vw; }
}
