/* ==========================================
   1. ROOT VARIABLES & HERO SECTION
   ========================================== */
:root {
  --pkg-primary: #f14141;
  --pkg-bg-dark: #080808;
  --pkg-card-bg: #0c0c0c;
  --pkg-card-border: rgba(255, 255, 255, 0.08);
}

#packages-hero {
  position: relative;
  min-height: 40vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  background-color: var(--pkg-bg-dark);
}

#packages-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.65) 0%, rgba(8, 8, 8, 0.95) 100%);
  z-index: 1;
}

#packages-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* ==========================================
   2. CATEGORY FILTERS BAR
   ========================================== */
#package-filters {
  background-color: var(--pkg-bg-dark);
}

/* Active Filter Button */
.btn-pkg-filter-active {
  background-color: var(--pkg-primary) !important;
  border: 1px solid var(--pkg-primary) !important;
  color: #ffffff !important;
  border-radius: 50rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(241, 65, 65, 0.3) !important;
}

/* Non-Active Filter Button */
.btn-pkg-filter {
  background-color: transparent !important;
  border: 1px solid var(--pkg-primary) !important;
  color: #ffffff !important;
  border-radius: 50rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.btn-pkg-filter:hover {
  background-color: var(--pkg-primary) !important;
  border-color: var(--pkg-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 65, 65, 0.2) !important;
}

/* ==========================================
   3. PACKAGES GRID & CARDS
   ========================================== */
#packages-grid {
  background-color: var(--pkg-bg-dark);
  min-height: 500px;
}

.pkg-card {
  position: relative;
  background-color: var(--pkg-card-bg);
  border: 1px solid var(--pkg-card-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(241, 65, 65, 0.4);
}

/* Highlighted Popular Package Card */
.pkg-card.featured-card {
  border: 1px solid var(--pkg-primary);
  box-shadow: 0 10px 30px rgba(241, 65, 65, 0.15);
}

/* Popular Badge */
.pkg-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--pkg-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(241, 65, 65, 0.4);
}

/* Typography & Price */
.pkg-title {
  letter-spacing: -0.5px;
}

.price-amount {
  font-weight: 800;
  line-height: 1;
}

.pkg-check-icon {
  color: var(--pkg-primary);
  font-size: 0.9rem;
}

.pkg-features li {
  font-size: 0.9rem;
}

/* Action Buttons */
.btn-pkg-action {
  background-color: var(--pkg-primary);
  border: 1px solid var(--pkg-primary);
  color: #ffffff;
  border-radius: 50rem;
  transition: all 0.3s ease;
}

.btn-pkg-action:hover {
  background-color: #d63333;
  border-color: #d63333;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(241, 65, 65, 0.35);
  transform: translateY(-2px);
}

/* Custom Quote Outline Button */
.btn-outline-pkg {
  background-color: transparent;
  border: 1px solid var(--pkg-primary);
  color: #ffffff;
  border-radius: 50rem;
  transition: all 0.3s ease;
}

.btn-outline-pkg:hover {
  background-color: var(--pkg-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(241, 65, 65, 0.3);
  transform: translateY(-2px);
}