/* Premium Glassmorphism & Dynamic Custom CSS for Travel ERP */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0f172a;
  --primary-hover: #1e293b;
  --secondary-color: #0284c7;
  --accent-color: #f59e0b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.7);
  --border-radius: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Base Components */
.premium-card {
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.8);
}

.card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .card-img-top {
  transform: scale(1.08);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.3);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background-color: #0369a1;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Badges */
.badge-custom {
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--secondary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Sections */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=2021&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
  animation: fadeUp 1s ease-out;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 50px;
  opacity: 0.9;
}

.package-detail-header {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.package-detail-header::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.package-title-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px 40px;
  width: 100%;
}

/* Glass Search Bar */
.search-bar-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px;
  border-radius: 100px;
  display: flex;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
}

.search-bar-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255,255,255,0.5);
}

.search-bar-glass input, .search-bar-glass select {
  border-radius: 50px;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
}

.search-bar-glass input:focus, .search-bar-glass select:focus {
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
  background: #fff;
}

/* Forms & Inputs */
.form-control, .form-select {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav & Tabs */
.nav-pills .nav-link {
  border-radius: 50px;
  padding: 10px 24px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Timeline */
.timeline {
  border-left: 2px solid #e2e8f0;
  padding-left: 25px;
  margin-left: 15px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid #fff;
  border-radius: 50%;
  left: -36px;
  top: 4px;
  box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .search-bar-glass {
    flex-direction: column;
    border-radius: var(--border-radius);
    padding: 20px;
  }
  .search-bar-glass input, .search-bar-glass select, .search-bar-glass button {
    border-radius: 12px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .package-detail-header {
    border-radius: 0 0 20px 20px;
  }
}
