/* ==========================================================================
   Meister Medya - Luxury Agency Custom Styles
   Colors:
     Black: #0F0F0F
     Surface: #1A1A1A / #141414
     Gold: #D4AF37
     Gold Light: #F3E5AB / #F5D77F
     Gold Dark: #997A15 / #AA8518
     White: #FFFFFF
   ========================================================================== */

:root {
  --color-black: #0F0F0F;
  --color-surface: #1E1E1E;
  --color-surface-card: #161616;
  --color-gold: #D4AF37;
  --color-gold-light: #F5D77F;
  --color-gold-dark: #AA8518;
  --color-gold-glow: rgba(212, 175, 55, 0.25);
  --color-gold-border: rgba(212, 175, 55, 0.2);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-black);
  color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
  background: #2A2A2A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

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

.text-gold-shimmer {
  background: linear-gradient(90deg, #D4AF37 0%, #FFF5CC 50%, #D4AF37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Gold Glow & Border Effects */
.border-gold-glow {
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.border-gold-glow:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Luxury Button */
.btn-gold {
  background: linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #AA8518 100%);
  color: #0F0F0F;
  font-weight: 700;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

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

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #F5D77F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

/* Subtle Animated Ambient Background */
.ambient-glow-gold {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(15, 15, 15, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(22, 22, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s ease;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(212, 175, 55, 0.15);
}

/* Before / After Slider Styles */
.ba-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  user-select: none;
  touch-action: pan-y;
}

.ba-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.ba-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #D4AF37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
  cursor: ew-resize;
  z-index: 20;
  transform: translateX(-50%);
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D4AF37;
  color: #0F0F0F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
  transition: transform 0.2s ease;
}

.ba-container:hover .ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Floating WhatsApp Pulse */
.whatsapp-float {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  animation: float-pulse 3s infinite;
}

@keyframes float-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Grid pattern overlay */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Radial spotlight */
.hero-radial-bg {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.18), transparent 70%);
}
