:root {
    --purple-deep: #3b0764;
    --purple-mid: #7c3aed;
    --purple-light: #6D5DF6;
    --purple-gradient: linear-gradient(180deg, rgba(76, 0, 176, 1) 0%, rgba(109, 93, 246, 1) 50%, rgba(169, 156, 253, 1) 100%);
    --white: #f5f0ff;
    --font-color: #260058;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--font-color);
}

.bg-blob {
    position: fixed;
    top: 0;
    right: -5%;
    width: 50%;
    height: 110vh;
    transition: transform 0.05s linear;
    background-image: url("../resources/img/experiences/Ellipse.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* ════════════════════
   HERO
════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 42vw;
    min-height: 260px;
    max-height: 480px;
    overflow: hidden;
    background: var(--font-color);
    z-index: 1;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* Very subtle top-only darkening, strong white fade at bottom */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.0) 55%,
            rgba(245, 240, 255, 0.55) 78%,
            rgba(245, 240, 255, 1.0) 100%);
}

/* Content — bottom-left with purple left bar */
.hero-content {
    position: absolute;
    z-index: 2;
    bottom: 22px;
    left: 0;
    right: 0;
    padding: 0 40px 0 22px;
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 600px;
}

.hero-bar {
    width: 3px;
    height: 40px;
    background: var(--purple-light);
    border-radius: 2px;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 3.1vw, 37px);
    font-weight: 700;
    color: var(--font-color);
    line-height: 1.2;
}

/* No sub/desc in this design */
.hero-sub,
.hero-desc {
    display: none;
}


/* ════════════════════
   RESPONSIVE
════════════════════ */

@media (min-width: 1101px) {
    .hero-content {
        left: 0;
        margin-left: 40px;
        /* bottom: 60px; */
        padding-left: 40px;
    }
}

@media (max-width: 1100px) and (min-width: 851px) {
    .hero-content {
        left: 32px;
        bottom: 20px;
    }
}

@media (max-width: 850px) and (min-width: 538px) {
    .hero {
        height: 48vw;
        min-height: 220px;
        max-height: 340px;
    }

    .hero-content {
        left: 24px;
        bottom: 16px;
    }

    .hero-bar {
        height: 40px;
    }
}

@media (max-width: 537px) {
    .hero {
        height: 52vw;
        min-height: 180px;
        max-height: 280px;
    }

    .hero-content {
        left: 16px;
        bottom: 12px;
        gap: 20px;
    }

    .hero-bar {
        height: 50px;
        width: 3px;
    }

    /* .hero-title {
        font-size: clamp(14px, 4vw, 20px);
    } */
}

@media (max-width: 380px) {
    .hero {
        height: 54vw;
        min-height: 160px;
    }

    .hero-content {
        left: 12px;
        bottom: 10px;
    }
}


/* ===== Section ===== */
.packages-section {
  background: var(--white);
  padding: 32px 28px;
  margin: 4rem 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== Card ===== */
.pkg-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(80, 40, 160, 0.10);
  z-index: 1;
}

/* ===== Main Image — tall, full width, no gap ===== */
.pkg-main-img-wrap {
  width: 100%;
  aspect-ratio: 3/2.2;
  overflow: hidden;
  /* no border-radius — card handles it at top */
}

.pkg-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.16s ease;
  transition: transform 0.35s ease;
}

.pkg-card:hover .pkg-main-img {
  transform: scale(1.04);
}

/* ===== Thumbnail Strip ===== */
.pkg-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 6px 8px;
  background: var(--white);
}

.pkg-thumb-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid transparent;
  opacity: 0.8;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pkg-thumb-row img:hover {
  opacity: 1;
}

.pkg-thumb-row img.active {
  border-color: var(--purple-light);
  opacity: 1;
}

/* ===== Card Body ===== */
.pkg-body {
  padding: 14px 14px 5px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--white);
}

.pkg-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--font-color);
  margin-bottom: 10px;
  line-height: 1.25;
}

.pkg-title span {
  color: var(--purple-light);
  font-style: italic;
}

.pkg-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--font-color);
  flex: 1;
  margin-bottom: 14px;
  text-align: justify;
}

/* ===== Book Button — rounded pill, inside body padding ===== */
.pkg-btn {
  width: 100%;
  padding: 13px 15px;
  background: linear-gradient(-90deg, rgba(76, 0, 176, 1) 0%, rgba(109, 93, 246, 1) 50%, rgba(169, 156, 253, 1) 100%);
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.14em;
  border: none;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: right;
}

.pkg-btn:hover {
  background: var(--purple-light);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .packages-section { padding: 24px 20px; }
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .packages-section { padding: 20px 14px; }
  .packages-grid { grid-template-columns: 1fr; }
}