/* =============================================
   Seasonal Packages — Stacked Cards Section
============================================= */

.seasonal-conclusion-wrapper {
  position: relative;
  width: 100%;
  z-index: 20;
}

.seasonal-packages-section {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 8rem 4vw;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.seasonal-container {
  position: relative;
  width: 100%;
  max-width: 880px; /* Matched to typical max-width */
  height: 480px;
  perspective: 1500px;
  margin-top: 8rem; /* Compensates for the y: -140 upward shift of back cards */
}

/* Base Card Style */
.seasonal-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-origin: top center;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
  cursor: pointer;
}

/* Background Image */
.seasonal-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.seasonal-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seasonal-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 14, 23, 0.3), rgba(3, 14, 23, 0.8));
}

/* Card Content Layer */
.seasonal-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

/* Top Badges */
.seasonal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.seasonal-badge,
.seasonal-valid {
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.seasonal-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.seasonal-valid {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Glass Panels (Only on Front Card) */
.seasonal-glass-panels {
  margin-top: auto;
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.seasonal-glass-left,
.seasonal-glass-right {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: #ffffff;
}

.seasonal-glass-left {
  flex: 2;
}

.seasonal-glass-left h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.seasonal-glass-left h3 {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.seasonal-glass-left p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.seasonal-glass-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.discount-value {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.discount-label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
}

/* Initial Stacking (Before GSAP) */
.card-autumn {
  transform: translateY(0) scale(0.85);
  z-index: 1;
}

.card-summer {
  transform: translateY(0) scale(0.92);
  z-index: 2;
}

.card-winter {
  transform: translateY(0) scale(1);
  z-index: 3;
}
