/* 
 * Sukabumi Tourism - Custom Stylesheet
 * Brand colors derived from Logo: Slate Blue (#284d95) & Jade Teal (#347673)
 */

:root {
  --color-brand-blue: #284d95;
  --color-brand-blue-hover: #1f3d79;
  --color-brand-blue-light: #e8eef9;
  --color-brand-teal: #347673;
  --color-brand-teal-hover: #295e5b;
  --color-brand-teal-light: #e6f4f3;
  --color-accent-amber: #f59e0b;
  --color-dark: #0f172a;
  --color-slate-muted: #64748b;
  --color-bg-soft: #f8fafc;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-teal);
}

/* Brand Gradient Utilities */
.bg-brand-gradient {
  background: linear-gradient(135deg, var(--color-brand-blue) 0%, var(--color-brand-teal) 100%);
}

.bg-brand-gradient-radial {
  background: radial-gradient(circle at top right, rgba(52, 118, 115, 0.25), transparent 50%),
              radial-gradient(circle at bottom left, rgba(40, 77, 149, 0.25), transparent 50%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-brand-blue) 0%, var(--color-brand-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-brand-gradient {
  border-image: linear-gradient(to right, var(--color-brand-blue), var(--color-brand-teal)) 1;
}

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

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

/* Interactive Card Effects */
.card-hover-effect {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(40, 77, 149, 0.1), 0 8px 10px -6px rgba(52, 118, 115, 0.1);
}

/* Image Zoom Effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover .img-zoom-container img {
  transform: scale(1.08);
}

/* Floating WhatsApp Button Animation */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 30px -3px rgba(37, 211, 102, 0.6);
  }
}

.floating-whatsapp {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* Modal Transitions */
.modal-overlay {
  transition: opacity 0.25s ease-out;
}
.modal-panel {
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}
.modal-hidden {
  opacity: 0;
  pointer-events: none;
}
.modal-hidden .modal-panel {
  transform: scale(0.95) translateY(10px);
}

/* Drawer Transitions */
.drawer-backdrop {
  transition: opacity 0.3s ease;
}
.drawer-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-closed .drawer-content {
  transform: translateX(100%);
}
.drawer-closed {
  opacity: 0;
  pointer-events: none;
}

/* Badge Glow */
.badge-verified {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

/* Custom Checkbox / Radio styling */
.custom-radio:checked + label {
  border-color: var(--color-brand-blue);
  background-color: var(--color-brand-blue-light);
  color: var(--color-brand-blue);
}

/* Floating Quick Stats ticker */
.hero-glow-blob {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* Print Friendly Styles for Itinerary Export */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
