/**
 * RS Cricket Institute - Hostel Page Stylesheet (hostel.css)
 * Loaded exclusively on page-hostel.php
 * Signature Championship Gold (#DEAA2F) & Deep Luxury Dark (#0B0E14) palette
 * Perfectly aligned with the site-wide design tokens of RS Cricket Institute
 */

/* ========================================================
   AOS ANIMATION CONFIGURATION (MATCHING HOMEPAGE)
   ======================================================== */
.hostel-page-wrapper [data-aos] {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hostel-page-wrapper [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.hostel-page-wrapper {
  background-color: var(--color-white) !important;
  color: var(--color-dark-elevated) !important;
  overflow-x: clip;
}

/* ========================================================
   GLOBAL TOKENS, TAGS & TYPOGRAPHY
   ======================================================== */
.hostel-tag-gold,
.hostel-tag-orange {
  display: inline-block;
  color: var(--color-primary) !important;
  font-family: var(--font-heading);
  font-size: var(--fs-xs) !important;
  letter-spacing: 1.6px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-gold-accent,
.text-orange-accent {
  color: var(--color-primary) !important;
}

.hostel-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-dark-heading);
  line-height: 1.25;
}

.hostel-title-dark {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
}

/* Paragraph Font Size Standardization (matches site-wide standard 0.95rem) */
.hostel-page-wrapper p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
}

.hostel-body-text {
  color: var(--color-text-slate);
  font-size: var(--fs-base);
  line-height: 1.75;
}

.hostel-body-text-light {
  color: color-mix(in srgb, var(--color-white) 75%, transparent);
  font-size: var(--fs-base);
  line-height: 1.75;
}

.hostel-section-subtitle {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ========================================================
   1. HERO HEADER SECTION (DEEP LUXURY DARK WITH BRAND GOLD & CRICKET GROUND BG)
   ======================================================== */
.hostel-hero-section {
  background-color: var(--color-dark-base);
  background-image: url('../images/hostel-hero-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: 85px 0 65px 0;
  position: relative;
}

.hostel-hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hostel-hero-desc {
  color: var(--color-white-88);
  font-size: var(--fs-base);
  line-height: 1.7;
  max-width: 580px;
}

.hostel-hero-desc strong,
.hostel-hero-subnote strong,
.life-card-text strong,
.cta-banner-sub strong {
  color: var(--color-white);
  font-weight: 700;
}

.hostel-hero-subnote {
  font-size: var(--fs-md);
  color: var(--color-white-78);
  line-height: 1.55;
  max-width: 580px;
}

.hostel-hero-visual-frame {
  max-width: 440px;
  width: 100%;
  display: inline-block;
}

.hostel-hero-card-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--color-black) 65%, transparent);
  border: 1px solid color-mix(in oklab, var(--color-primary) 20%, transparent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hostel-hero-card-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--color-black) 80%, transparent), 0 0 30px color-mix(in oklab, var(--color-primary) 15%, transparent);
}

/* ========================================================
   1B. FULL-WIDTH CHAMPIONSHIP GOLD ACCENT STRIP
   ======================================================== */
.hostel-accent-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-dark-pure);
  padding: 22px 0;
  box-shadow: 0 4px 20px color-mix(in oklab, var(--color-primary) 25%, transparent);
}

.hostel-strip-col {
  padding: 8px 16px;
}

.hostel-strip-border {
  border-right: 1px solid color-mix(in srgb, var(--color-dark-base) 18%, transparent);
}

.hostel-strip-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-dark-pure);
}

.strip-icon {
  font-size: var(--fs-xl);
  line-height: 1;
  color: var(--color-dark-pure);
}

/* ========================================================
   2. A BETTER DAILY ROUTINE FOR YOUNG CRICKETERS (LIGHT SECTION)
   ======================================================== */
.hostel-routine-section {
  background-color: var(--color-white);
  padding: 90px 0;
}

.hostel-routine-visual-wrap {
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--color-black) 6%, transparent);
  transition: transform 0.35s ease;
}

.hostel-routine-visual-wrap:hover {
  transform: translateY(-4px);
}

.hostel-routine-card-img {
  display: block;
  border-radius: 16px;
}

.hostel-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.routine-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--color-dark-elevated);
}

.routine-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--color-primary) 15%, transparent);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: 800;
}

/* ========================================================
   3. HOSTEL FACILITIES (GRID OF 4 CARDS)
   ======================================================== */
.hostel-facilities-section {
  background-color: var(--color-light-bg);
  padding: 90px 0;
}

.hostel-fac-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid color-mix(in srgb, var(--color-black) 5%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-black) 3%, transparent);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hostel-fac-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px color-mix(in oklab, var(--color-primary) 15%, transparent);
  border-color: var(--color-primary-border-md);
}

.hostel-fac-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: var(--fs-icon-md);
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.hostel-fac-card:hover .hostel-fac-icon-wrap {
  transform: scale(1.08);
}

.hostel-fac-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-dark-heading);
  margin-bottom: 12px;
}

.hostel-fac-card-desc {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.hostel-fac-card-desc strong,
.suitability-list li strong,
.hostel-faq-body strong {
  color: var(--color-dark-heading);
  font-weight: 700;
}

/* ========================================================
   4. HOSTEL LIFE THAT FITS AROUND CRICKET (DEEP LUXURY DARK)
   ======================================================== */
.hostel-life-section {
  background-color: var(--color-dark-body);
  color: var(--color-white);
  padding: 90px 0;
  position: relative;
}

.hostel-life-card {
  background: var(--color-white-03);
  border: 1px solid var(--color-white-10);
  border-radius: 16px;
  padding: 38px 34px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hostel-life-card:hover {
  background: var(--color-white-06);
  border-color: color-mix(in oklab, var(--color-primary) 50%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--color-black-40);
}

.life-card-tag {
  color: var(--color-primary) !important;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.life-card-title {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 14px;
}

.life-card-text {
  color: var(--color-text-muted-light);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========================================================
   5. IS RESIDENTIAL STAY RIGHT FOR YOUR CHILD? (LIGHT SECTION)
   ======================================================== */
.hostel-suitability-section {
  background-color: var(--color-white);
  padding: 90px 0;
}

.suitability-box {
  background: var(--color-light-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 16px 16px 0;
  padding: 38px 34px;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-black) 3%, transparent);
}

.suitability-box-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-dark-heading);
  margin-bottom: 18px;
}

.suitability-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.suitability-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--color-text-body-light);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 500;
}

.suitability-list li:last-child {
  margin-bottom: 0;
}

.suitability-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -1px;
  color: var(--color-primary);
  font-size: var(--fs-2xl);
  line-height: 1;
}

/* ========================================================
   6. FREQUENTLY ASKED QUESTIONS (LIGHT ACCORDION)
   ======================================================== */
.hostel-faq-section {
  background-color: var(--color-light-bg);
  padding: 90px 0;
}

.hostel-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.hostel-faq-item {
  background: var(--color-white);
  border: 1px solid color-mix(in srgb, var(--color-black) 6%, transparent);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-black) 2%, transparent);
  transition: all 0.25s ease;
}

.hostel-faq-item:hover {
  border-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
}

.hostel-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-primary);
  font-size: var(--fs-lg);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.hostel-faq-body {
  padding: 0 24px 22px 24px;
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* ========================================================
   7. BOTTOM CALL TO ACTION BANNER (STADIUM LUXURY DARK WITH BRAND GOLD)
   ======================================================== */
.hostel-cta-banner-section {
  color: var(--color-white);
  padding: 60px 0;
  position: relative;
  background-color: var(--color-dark-base);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.25;
}

.cta-address-line {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.45;
}

.cta-banner-sub {
  color: color-mix(in srgb, var(--color-white) 85%, transparent);
  font-size: var(--fs-base);
  margin-bottom: 0;
  max-width: 650px;
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ======================================================== */
@media (max-width: 991px) {
  .hostel-hero-section {
    min-height: auto;
    padding: 70px 0 50px 0;
  }

  .hostel-hero-title {
    font-size: var(--fs-h2);
  }

  .hostel-strip-border {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--color-dark-base) 15%, transparent);
    padding-bottom: 14px;
  }

  .hostel-strip-col:last-child {
    border-bottom: none;
  }

  .hostel-hero-visual-frame {
    margin-top: 30px;
  }

  .hostel-section-title,
  .hostel-title-dark {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 767px) {
  .hostel-hero-title {
    font-size: var(--fs-3xl);
  }

  .hostel-hero-desc {
    font-size: var(--fs-base);
  }

  .hostel-section-title,
  .hostel-title-dark {
    font-size: var(--fs-3xl);
  }

  .cta-banner-title {
    font-size: var(--fs-2xl);
  }

  .cta-address-line {
    font-size: var(--fs-base);
  }

  .hostel-fac-card,
  .hostel-life-card,
  .suitability-box {
    padding: 24px 20px;
  }

  .hostel-faq-body {
    padding: 0 18px 18px 18px;
  }
}
