/* ==========================================================================
   Bali Tour Guide Booking - Aesthetic Tropical Stylesheet
   ========================================================================== */

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

:root {
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --color-primary: #1b4332;
  --color-primary-dark: #081c15;
  --color-primary-light: #2d6a4f;
  --color-accent: #d4a373;
  --color-accent-dark: #bc6c25;
  --color-accent-light: #faedcd;
  
  --color-emerald: #10b981;
  --color-gold: #f59e0b;
  --color-sand: #fefae0;
  
  --bg-cream: #faf9f5;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 30px -10px rgba(27, 67, 50, 0.15);
  --shadow-glow: 0 0 25px rgba(212, 163, 115, 0.35);
  
  --radius-card: 1.25rem;
  --radius-button: 0.75rem;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #2d6a4f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1b4332;
}

/* Hero Gradient & Patterns */
.hero-gradient {
  background: linear-gradient(180deg, rgba(8, 28, 21, 0.75) 0%, rgba(27, 67, 50, 0.85) 100%),
              url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
}

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

/* Subtle Bali Leaf Pattern in Background */
.bg-leaf-pattern {
  background-color: #faf9f5;
  background-image: radial-gradient(#2d6a4f 0.5px, transparent 0.5px), radial-gradient(#2d6a4f 0.5px, #faf9f5 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-opacity: 0.05;
}

/* Card hover animation */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Custom Checkbox Pill */
.custom-checkbox input:checked + div {
  border-color: #1b4332;
  background-color: #f0fdf4;
}

/* Vehicle Selection Card */
.vehicle-card {
  border: 2px solid transparent;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}
.vehicle-card.selected {
  border-color: #1b4332;
  background-color: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.15);
}

/* Tour Tab */
.tour-tab {
  transition: all 0.25s ease;
}
.tour-tab.active {
  background: #1b4332;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
}

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

.badge-optional {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

/* Floating WhatsApp Pulsing button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Timeline vertical line */
.itinerary-timeline {
  position: relative;
  padding-left: 28px;
}
.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #1b4332;
  background: #ffffff;
}

/* Modal animation */
.modal-enter {
  opacity: 0;
  transform: scale(0.95);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Print voucher styles */
@media print {
  body * {
    visibility: hidden;
  }
  #bookingReceiptModal, #bookingReceiptModal * {
    visibility: visible;
  }
  #bookingReceiptModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}
