/* ===================================================================
   DUTA PLANNER — BATAM
   Refined Style & Animation System (Complementing Tailwind CSS)
   Theme: Modern Elegant Event & Rental
   =================================================================== */

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

:root {
  --primary-navy: #172434;
  --primary-navy-dark: #0d1622;
  --accent-gold: #C3A276;
  --accent-gold-light: #eddcc5;
  --accent-gold-dark: #a98555;
  --bg-ivory: #F8F7F3;
  --bg-ivory-dark: #efece4;
  --surface-white: #FFFFFF;
  --text-heading: #22262B;
  --text-body: #5E6770;
  --border-warm: #E8E4DE;
  --border-gold-subtle: rgba(195, 162, 118, 0.35);
}

/* Base Smooth Settings */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Label Protection & Text Wrap Helpers (Mencegah Over-Wrap) */
.label-chip,
.badge-pill,
.tab-pill,
.btn-pill,
.stat-tag {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Gradients & Accents */
.bg-gradient-gold {
  background: linear-gradient(135deg, #d8bc93 0%, #b38e5c 100%);
}

.bg-gradient-gold:hover {
  background: linear-gradient(135deg, #e0c8a3 0%, #a47d48 100%);
}

.bg-gradient-navy {
  background: linear-gradient(145deg, #172434 0%, #0d1622 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #d8bc93 0%, #b38e5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(23, 36, 52, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(195, 162, 118, 0.25);
}

.glass-nav-scrolled {
  background: rgba(13, 22, 34, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(195, 162, 118, 0.35);
  }
  50% {
    box-shadow: 0 0 32px rgba(195, 162, 118, 0.75);
  }
}

@keyframes radarWave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Applied Animation Utility Classes */
.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 2.5s infinite;
}

.animate-scale-in {
  animation: fadeInScale 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Shimmer Button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmerEffect 3.5s infinite;
}

/* Floating WhatsApp Radar Ring */
.radar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.4);
  animation: radarWave 2.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

/* Gold Divider */
.gold-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  border-radius: 9999px;
}

/* Card Hover Elevation */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(23, 36, 52, 0.12);
  border-color: var(--accent-gold);
}

/* Checkbox pill styling */
.checkbox-pill-active {
  background-color: rgba(195, 162, 118, 0.15) !important;
  border-color: #C3A276 !important;
  color: #172434 !important;
  font-weight: 600 !important;
}
