/* ============================================
   TRAVVANA — Home Page Styles (Premium Redesign)
   Luxury dark navy gradient, Netflix-style browsing
   ============================================ */

/* ── Section Title System ── */
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.section-title-row__left {
  flex: 1;
}

.section-title-row h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  margin: 0;
  line-height: var(--lh-tight);
}

.section-title-row .section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  margin-top: 4px;
}

.section-title-row__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  padding: 0 var(--sp-4);
  border-radius: var(--radius-full);
  background: var(--clr-accent);
  color: white;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}

.section-title-row__more:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-1px);
}


/* ── Featured Banner ── */
.featured-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #0D1526 0%, #132038 50%, #0F2847 100%);
  border: 1px solid var(--clr-border);
}

.featured-banner__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-6);
  width: 100%;
}

.featured-banner__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
}

.featured-banner__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--sp-2);
}

.featured-banner__text {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-4);
  max-width: 420px;
}

.featured-banner__decoration {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--clr-accent);
  opacity: 0.06;
  filter: blur(80px);
}


/* ── Quick Stats ── */
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-6) 0;
}

.home-stat {
  text-align: center;
  padding: var(--sp-5);
  border-radius: var(--radius-xl);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: all 0.3s var(--ease-out);
}

.home-stat:hover {
  border-color: var(--clr-border-active);
  transform: translateY(-2px);
}

.home-stat__value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  background: var(--clr-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-stat__label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: var(--sp-1);
}


/* ── Staggered Fade-In Animation ── */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards-grid .card {
  opacity: 0;
  animation: cardFadeIn 0.5s var(--ease-out) forwards;
}

.cards-grid .card:nth-child(1) { animation-delay: 0.05s; }
.cards-grid .card:nth-child(2) { animation-delay: 0.10s; }
.cards-grid .card:nth-child(3) { animation-delay: 0.15s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.20s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.25s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.30s; }
.cards-grid .card:nth-child(7) { animation-delay: 0.35s; }
.cards-grid .card:nth-child(8) { animation-delay: 0.40s; }
.cards-grid .card:nth-child(9) { animation-delay: 0.45s; }
.cards-grid .card:nth-child(10) { animation-delay: 0.50s; }


/* ── Ambient glow behind hero logo ── */
.hero--banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 138, 30, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Result count badge ── */
.result-count {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
}

.result-count strong {
  color: var(--clr-accent);
  font-weight: var(--fw-bold);
}

/* ── Responsive Mobile Adjustments ── */
@media (max-width: 767px) {
  .home-stats {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
    padding: var(--sp-4) 0;
  }
  .section-title-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--sp-2);
  }
  .section-title-row__more {
    margin-left: auto;
  }
  .section-title-row h2 {
    font-size: var(--fs-xl);
  }
  .featured-banner__title {
    font-size: var(--fs-xl);
  }
  .featured-banner__content {
    padding: var(--sp-4);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
  }
}

/* ── Bookings Coming Soon Banner ── */
.booking-banner-wrapper { padding-top: 10px; }
.booking-banner {
  background-color: #021226;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.booking-banner__bg-text {
  position: absolute;
  top: 20px;
  left: 50%;
  color: rgba(255,255,255,0.05);
  font-size: 30px;
  letter-spacing: 6px;
  line-height: 12px;
  font-family: monospace;
}
.booking-banner__bg-svg {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.05;
}
.booking-banner__left {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  z-index: 5;
}
.booking-banner__subtitle {
  font-family: 'Brush Script MT', 'Dancing Script', cursive, sans-serif;
  color: #fca311;
  font-size: 2.2rem;
  margin-bottom: -10px;
}
.booking-banner__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 20px 0;
}
.booking-banner__title span {
  color: #fca311;
}
.booking-banner__divider {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.5);
  width: 100%;
  max-width: 450px;
}
.booking-banner__divider-line {
  flex: 1;
  border-top: 1px dashed rgba(255,255,255,0.3);
}
.booking-banner__divider-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  fill: white;
  transform: rotate(45deg);
}
.booking-banner__desc {
  color: #d1d5db;
  font-size: 1.05rem;
  margin-bottom: 35px;
  max-width: 450px;
  line-height: 1.6;
}
.booking-banner__features {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.booking-banner__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking-banner__feature-icon {
  background: rgba(255,255,255,0.08);
  padding: 8px;
  border-radius: 8px;
  display: flex;
}
.booking-banner__feature-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}
.booking-banner__feature-text {
  font-size: 0.9rem;
  color: #e5e7eb;
}
.booking-banner__btn {
  background: linear-gradient(90deg, #fca311, #f97316);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
  transition: transform 0.2s;
}
.booking-banner__btn:hover {
  transform: translateY(-2px);
}
.booking-banner__btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}
.booking-banner__right {
  flex: 1;
  min-width: 300px;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.booking-banner__flight-path {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.booking-banner__img-main {
  position: absolute;
  left: 10%;
  top: 15%;
  width: 220px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(-12deg);
  border: 5px solid #021226;
  box-shadow: 0 15px 25px rgba(0,0,0,0.4);
  z-index: 3;
}
.booking-banner__img-main img,
.booking-banner__img-secondary img,
.booking-banner__img-tertiary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking-banner__img-secondary {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 200px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(6deg);
  border: 5px solid #021226;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 2;
}
.booking-banner__img-tertiary {
  position: absolute;
  right: 15%;
  bottom: 5%;
  width: 190px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(8deg);
  border: 5px solid #021226;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 4;
}
.booking-banner__map-pin {
  position: absolute;
  bottom: 10%;
  left: 40%;
  background: white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: -2px 5px 10px rgba(0,0,0,0.3);
}
.booking-banner__map-pin div {
  width: 12px;
  height: 12px;
  background: #021226;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .booking-banner {
    padding: 24px 16px;
  }
  .booking-banner__left {
    min-width: 100%;
    padding-right: 0;
    text-align: center;
  }
  .booking-banner__subtitle {
    font-size: 1.5rem;
  }
  .booking-banner__title {
    font-size: 2.2rem;
    margin: 5px 0 15px 0;
  }
  .booking-banner__desc {
    font-size: 0.95rem;
    margin: 0 auto 20px auto;
  }
  .booking-banner__divider {
    display: none;
  }
  .booking-banner__features {
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
  }
  .booking-banner__feature-text {
    display: none;
  }
  .booking-banner__btn {
    width: 100%;
    justify-content: center;
  }
  .booking-banner__right {
    min-width: 100%;
    min-height: 200px;
    margin-top: 20px;
  }
  .booking-banner__img-main {
    width: 140px;
    height: 180px;
    left: 5%;
    top: 10%;
  }
  .booking-banner__img-secondary {
    width: 120px;
    height: 100px;
    right: 5%;
    top: 5%;
  }
  .booking-banner__img-tertiary {
    width: 100px;
    height: 80px;
    right: 15%;
    bottom: 5%;
  }
  .booking-banner__map-pin {
    bottom: 0%;
    left: 45%;
    transform: rotate(-45deg) scale(0.7);
  }
}
