/* experience-detail.css - Single Experience Page Styles */

: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: 100px;
    left: 0%;
    width: 50%;
    height: 110vh;
    transition: transform 0.05s linear;
    background-image: url("../resources/img/services/Ellipse.webp");
    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: #2a0050;
    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;
}

.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%);
}

.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-mid);
    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;
}

/* ════════════════════
   MAIN SECTION
════════════════════ */
.main-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  margin: 2rem auto;
  padding: 48px 40px;
}

.main-section-div {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  gap: 35px;
  align-items: stretch;
  z-index: 1;
}

/* Left Hero Image */
.main-image-wrap {
  flex: 0 0 38%;
  max-width: 38%;
  align-self: stretch;
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Right Content Column */
.content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Label */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

/* Title */
.title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: #260058;
  line-height: 1.15;
  margin-bottom: 22px;
}

.accent {
  color: var(--purple-light);
  font-style: italic;
}

/* Body Text */
.body-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 1.5rem;
  /* text-align: justify; */
}

.body-text p {
  line-height: 1.75;
  color: #260058;
}

.body-text1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: -1rem;
  /* text-align: justify; */
  z-index: 1;
}

.body-text1 p {
  line-height: 1.75;
  color: #260058;
}

/* Gallery Row */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 0.5rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2.5/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ════════════════════
   TAB NAVIGATION (for combined page)
════════════════════ */
.exp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 24px 40px;
    max-width: 1160px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.exp-tab {
    padding: 10px 20px;
    border: 2px solid var(--purple-mid);
    background: transparent;
    color: var(--font-color);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exp-tab:hover {
    background: var(--purple-mid);
    color: white;
}

.exp-tab.active {
    background: var(--purple-mid);
    color: white;
}

.exp-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.exp-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.exp-dropdown {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 16px auto;
    padding: 12px 16px;
    border: 2px solid var(--purple-mid);
    border-radius: 10px;
    background: white;
    color: var(--font-color);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

/* ════════════════════
   RESPONSIVE
════════════════════ */
@media (min-width: 1101px) {
    .hero-content {
        left: 0;
        margin-left: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 1100px) and (min-width: 851px) {
    .hero-content {
        left: 32px;
        bottom: 20px;
    }
}

@media (max-width: 900px) {
  .main-section-div {
    flex-direction: column;
    padding: 32px 0.5rem;
    gap: 32px;
    min-height: unset;
  }

  .main-image-wrap {
    flex: unset;
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .main-img {
    height: 300px;
    width: 100%;
  }

  .body-text1 {
    padding: 0 0.5rem;
  }
}

@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: 768px) {
    .exp-tabs {
        display: none;
    }
    .exp-dropdown {
        display: block;
    }
}

@media (max-width: 560px) {
  .main-section-div {
    gap: 24px;
  }

  .main-image-wrap {
    height: 220px;
  }

  .main-img {
    height: 220px;
  }

  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@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;
    }
}

@media (max-width: 380px) {
    .hero {
        height: 54vw;
        min-height: 160px;
    }

    .hero-content {
        left: 12px;
        bottom: 10px;
    }
}
