/* 
  ARAFAH TOUR & TRAVEL - CUSTOM LUXURY ISLAMIC THEME & MOBILE SCAFFOLD
  Palette: Emerald Green (#065f46, #047857), Royal Gold (#d4af37, #f59e0b), Dark Slate (#090d16, #0f172a)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&display=swap');

:root {
  --primary-emerald: #047857;
  --dark-emerald: #064e3b;
  --royal-gold: #d4af37;
  --light-gold: #fde68a;
  --bg-deep: #090d16;
  --font-heading: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Typography Enhancements */
.font-serif-title {
  font-family: var(--font-heading);
}

/* Islamic Geometric Pattern Background */
.bg-islamic-pattern {
  background-color: #064e3b;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
}

.bg-islamic-pattern-light {
  background-color: #f8fafc;
  background-image: radial-gradient(rgba(4, 120, 87, 0.08) 1px, transparent 0);
  background-size: 20px 20px;
}

/* 3D Hero Container */
#three-hero-container {
  touch-action: none;
  cursor: grab;
}
#three-hero-container:active {
  cursor: grabbing;
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald-gradient {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #064e3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Category Filter Active Pill */
.cat-filter-btn.active-cat {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(4, 120, 87, 0.35);
}

/* Mobile Bottom Navigation Scaffold */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.2s ease;
  padding: 6px 0;
}

.bottom-bar-item.active-dock,
.bottom-bar-item:active {
  color: #047857;
  transform: translateY(-2px);
}

.bottom-bar-item.active-dock i,
.bottom-bar-item.active-dock svg {
  color: #047857;
  stroke-width: 2.5;
}

/* Video Player Styling & Watermark Cover Badge */
.video-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.video-watermark-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 25;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-top-watermark-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 25;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Floating WhatsApp Drawer */
#wa-drawer {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Shimmer Highlight Effect */
@keyframes goldShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.gold-shimmer-btn {
  position: relative;
  overflow: hidden;
}

.gold-shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  animation: goldShimmer 4s infinite;
  pointer-events: none;
}

/* Safe area padding for mobile views */
@media (max-width: 768px) {
  body {
    padding-bottom: 4.5rem; /* space for bottom navigation bar */
  }
}
