/* SAHIRA Umroh Syariah - Luxury Emerald & Royal Gold Stylesheet */

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

:root {
  --color-primary-emerald: #064e3b;
  --color-dark-emerald: #022c22;
  --color-deep-night: #011913;
  --color-rich-gold: #d4af37;
  --color-bright-gold: #f59e0b;
  --color-light-gold: #fef08a;
  --color-cream: #faf7f0;
  --color-sand: #f4ece1;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-deep-night);
  color: #f1f5f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Islamic & Regal Fonts */
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-arabic {
  font-family: 'Amiri', serif;
}

/* Luxury Gold & Emerald Gradients */
.gold-gradient-text {
  background: linear-gradient(135deg, #fff7c2 0%, #ffd700 25%, #d4af37 55%, #f59e0b 80%, #aa771c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #b45309 100%);
}

.gold-gradient-border {
  border-image: linear-gradient(135deg, #fef08a, #d4af37, #b45309) 1;
}

.emerald-gradient-bg {
  background: linear-gradient(180deg, #064e3b 0%, #032b20 50%, #011b14 100%);
}

.emerald-card-bg {
  background: rgba(4, 45, 34, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.emerald-card-bg:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.2);
}

/* Islamic Geometric Background Pattern */
.islamic-pattern-bg {
  background-color: #022018;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(6, 78, 59, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 78, 59, 0.3) 1px, transparent 1px);
  background-size: 32px 32px;
}

.islamic-arch {
  clip-path: polygon(
    0% 20%, 
    15% 10%, 
    35% 3%, 
    50% 0%, 
    65% 3%, 
    85% 10%, 
    100% 20%, 
    100% 100%, 
    0% 100%
  );
}

/* Subtle Shimmer Animation for Gold Elements */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-button {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 25%, #fef08a 50%, #f59e0b 75%, #b45309 100%);
  background-size: 200% auto;
  color: #022c22;
  animation: goldShimmer 4s ease-in-out infinite;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.shimmer-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

/* Swaying Lantern (Fanous) Animation */
@keyframes swayLanternLeft {
  0%, 100% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(-5deg);
  }
}

@keyframes swayLanternRight {
  0%, 100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes lanternFlicker {
  0%, 100% {
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.45));
    opacity: 1;
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
    opacity: 0.92;
  }
}

.swaying-lantern-1 {
  transform-origin: top center;
  animation: swayLanternLeft 4.5s ease-in-out infinite, lanternFlicker 2.8s ease-in-out infinite;
}

.swaying-lantern-2 {
  transform-origin: top center;
  animation: swayLanternRight 5.2s ease-in-out infinite, lanternFlicker 3.1s ease-in-out infinite;
}

/* Flying Airplane Animation on Curve */
@keyframes airplaneFly {
  0% {
    transform: translate(-10%, 15px) rotate(14deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(115%, -35px) rotate(8deg);
    opacity: 0;
  }
}

.flying-airplane {
  animation: airplaneFly 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Pulsing Badge & Halo */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
}

.pulse-ring {
  animation: pulseGlow 2s infinite;
}

@keyframes goldPulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.8);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0);
  }
}

.pulse-gold-ring {
  animation: goldPulseGlow 2.5s infinite;
}

/* Floating Elements */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float-slow {
  animation: floatGentle 4.5s ease-in-out infinite;
}

.float-slow-delayed {
  animation: floatGentle 5s ease-in-out 1.5s infinite;
}

/* Rotating Arabesque Mandala */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rotate-mandala {
  animation: rotateSlow 80s linear infinite;
}

/* Tawaf Canvas Mode Buttons */
.active-mode {
  background: linear-gradient(135deg, #d4af37, #f59e0b) !important;
  color: #022c22 !important;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.lap-bounce {
  animation: lapBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lapBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #021a13;
}
::-webkit-scrollbar-thumb {
  background: #065f46;
  border: 1px solid #d4af37;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Glowing Border Accent */
.gold-glow-box {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25), inset 0 0 15px rgba(212, 175, 55, 0.08);
}

/* WhatsApp Floating Notification Pulse */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
}

/* Islamic Ribbon / Banner Shape */
.gold-ribbon {
  background: linear-gradient(135deg, #fff2a8, #d4af37, #b45309);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

/* Clean Input Focus */
.input-syariah:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background-color: rgba(2, 44, 34, 0.95);
}

