/* ===================================
   Packages Page - Premium Design
   =================================== */
/* Page Title & Subtitle */
.page-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold-gradient), transparent);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(200, 160, 65, 0.3);
}

.page-subtitle {
  font-size: 1.25rem;
  color: #666;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================
   Package Cards - Ultra Premium 3D
   =================================== */

.package-card-simple {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.1),
    0 10px 25px rgba(0, 0, 0, 0.06);
  border: 3px solid transparent;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

/* Silver Package Border */
.silver-package::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #C0C0C0, #E8E8E8, #F5F5F5, #E8E8E8, #C0C0C0);
  background-size: 200% 100%;
  z-index: 10;
  animation: gradientShift 3s ease infinite;
}

/* Gold Package Border */
.gold-package::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #C8A041, #E8C46A, #F5D76E, #E8C46A, #C8A041);
  background-size: 200% 100%;
  z-index: 10;
  animation: gradientShift 3s ease infinite;
}

/* Platinum Package Border */
.platinum-package::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #E5E4E2, #B8B8B8, #D3D3D3, #B8B8B8, #E5E4E2);
  background-size: 200% 100%;
  z-index: 10;
  animation: gradientShift 3s ease infinite;
}

/* Glow Effect */
.package-card-simple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.silver-package::after {
  background: radial-gradient(circle, rgba(192, 192, 192, 0.15) 0%, transparent 70%);
}

.gold-package::after {
  background: radial-gradient(circle, rgba(232, 196, 106, 0.2) 0%, transparent 70%);
}

.platinum-package::after {
  background: radial-gradient(circle, rgba(211, 211, 211, 0.15) 0%, transparent 70%);
}

/* Hover Effects */
.package-card-simple:hover {
  transform: translateY(-20px) scale(1.03);
  border-color: rgba(200, 160, 65, 0.3);
}

.silver-package:hover {
  box-shadow: 
    0 35px 70px rgba(192, 192, 192, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  border-color: rgba(192, 192, 192, 0.5);
}

.gold-package:hover {
  box-shadow: 
    0 40px 80px rgba(232, 196, 106, 0.4),
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(232, 196, 106, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  border-color: rgba(232, 196, 106, 0.6);
}

.platinum-package:hover {
  box-shadow: 
    0 35px 70px rgba(211, 211, 211, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  border-color: rgba(211, 211, 211, 0.5);
}

.package-card-simple:hover::after {
  opacity: 1;
  width: 500px;
  height: 500px;
}

/* Package Badges */
.package-badge-silver,
.package-badge-gold,
.package-badge-platinum {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-badge-silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 100%);
  color: #333;
}

.package-badge-gold {
  background: linear-gradient(135deg, #C8A041 0%, #E8C46A 100%);
  color: #fff;
}

.package-badge-platinum {
  background: linear-gradient(135deg, #E5E4E2 0%, #B8B8B8 100%);
  color: #333;
}

.featured-badge {
  animation: badgePulse 2s ease-in-out infinite;
}

.package-card-simple:hover .package-badge-silver,
.package-card-simple:hover .package-badge-gold,
.package-card-simple:hover .package-badge-platinum {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Package Image Container */
.package-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
}

.package-image-full {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.package-card-simple:hover .package-image-full {
  transform: scale(1.05);
}

/* Package Footer */
.package-footer {
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
  position: relative;
  z-index: 2;
}

.btn-package {
  background: linear-gradient(135deg, #C8A041 0%, #E8C46A 50%, #F5D76E 100%);
  background-size: 200% 100%;
  color: var(--navy-blue);
  padding: 1.2rem 3rem;
  font-size: 1.15rem;
  font-weight: 900;
  border-radius: 16px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 12px 30px rgba(200, 160, 65, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-package::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-package:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 18px 40px rgba(200, 160, 65, 0.5),
    0 8px 20px rgba(232, 196, 106, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--navy-blue);
  background-position: 100% 0;
}

.btn-package:hover::before {
  left: 100%;
}

/* ===================================
   Packages Info Card
   =================================== */

.packages-info-card {
  background: linear-gradient(145deg, #ffffff 0%, #fffef8 100%);
  border-radius: 32px;
  padding: 4rem 3rem;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.1),
    0 10px 25px rgba(0, 0, 0, 0.06);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.packages-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #C8A041, #E8C46A, #F5D76E, #E8C46A, #C8A041);
  background-size: 200% 100%;
  z-index: 2;
  animation: gradientShift 3s ease infinite;
}

.packages-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(232, 196, 106, 0.25),
    0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(232, 196, 106, 0.3);
}

.packages-info-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.packages-info-text {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.packages-contact-cta p {
  font-size: 1.2rem;
  color: var(--navy-blue);
  font-weight: 600;
}

.btn-outline-primary {
  border: 2px solid var(--gold-start);
  color: var(--gold-start);
  background: transparent;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
}

.btn-outline-primary:hover {
  background: var(--gold-gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(200, 160, 65, 0.4);
}

/* ===================================
   Animations
   =================================== */

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(232, 196, 106, 0.4);
  }
}

/* Animate on Scroll */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .animate-on-scroll:not(.visible):not(section) {
  opacity: 0;
  transform: translateY(20px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure sections are always visible */
section.animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered animation delays */
.animate-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 100ms;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 200ms;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
  .page-title {
    font-size: 2.4rem;
  }

  .page-subtitle {
    font-size: 1.15rem;
  }

  .package-badge-silver,
  .package-badge-gold,
  .package-badge-platinum {
    top: 25px;
    right: 25px;
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
  }

  .package-footer {
    padding: 2rem 1.5rem;
  }

  .btn-package {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
  }

  .packages-info-card {
    padding: 3rem 2.5rem;
  }

  .packages-info-title {
    font-size: 2rem;
  }

  .packages-info-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1.05rem;
  }

  .package-badge-silver,
  .package-badge-gold,
  .package-badge-platinum {
    top: 20px;
    right: 20px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .package-footer {
    padding: 1.8rem 1.3rem;
  }

  .btn-package {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
  }

  .packages-info-card {
    padding: 2.5rem 2rem;
  }

  .packages-info-title {
    font-size: 1.8rem;
  }

  .packages-info-text {
    font-size: 1.05rem;
  }

  .packages-contact-cta p {
    font-size: 1.1rem;
  }
}

@media (max-width: 575px) {
  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .package-badge-silver,
  .package-badge-gold,
  .package-badge-platinum {
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .package-footer {
    padding: 1.5rem 1rem;
  }

  .btn-package {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .packages-info-card {
    padding: 2rem 1.5rem;
  }

  .packages-info-title {
    font-size: 1.6rem;
  }

  .packages-info-text {
    font-size: 1rem;
  }

  .packages-contact-cta p {
    font-size: 1.05rem;
  }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
  .package-card-simple {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .package-card-simple::before,
  .package-card-simple::after {
    display: none;
  }

  .btn-package {
    display: none;
  }
}
