/* ======================================
   HOMEPAGE STYLES - Marketing landing page
   ====================================== */

/* Homepage mobile header adjustments */
@media screen and (max-width: 768px) {
  .hp-deals {
    padding: 48px 16px;
  }

  .hp-deals__title {
    font-size: 24px;
  }

  .hp-deal-row {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px 14px;
  }

  .hp-deal-row__logo {
    width: 40px;
    height: 24px;
    margin-right: 8px;
  }

  .hp-deal-row__route {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .hp-deal-row__dates {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 12px;
  }

  .hp-deal-row__price {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .hp-premium {
    padding: 48px 16px;
  }

  .hp-premium__title {
    font-size: 24px;
  }

  .hp-premium-card {
    padding: 22px 18px;
  }
}

/* Shared section title */
.hp-section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hp-hero {
  position: relative;
  min-height: clamp(480px, 70vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: visible;
  z-index: 10;
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21, 57, 93, 0.55),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
  pointer-events: none;
}

.hp-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 1000px;
  width: 100%;
}

.hp-hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hp-hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Hero Search Form */
.hp-hero__search {
  margin-top: 24px;
  width: 100%;
  text-align: left;
  color: #000;
}

.hp-hero__search .search-container {
  position: relative;
}

.hp-hero__search .form-box {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #000;
}

.hp-hero__search .flight-form {
  gap: 10px;
}

.hp-hero__search .form-row {
  gap: 10px;
}

.hp-hero__search .search-fields-row {
  gap: 8px;
}

.hp-hero__search .input-group {
  padding: 5px 10px;
}

.hp-hero__search .input-group label {
  font-size: 11px;
  margin-bottom: 1px;
}

.hp-hero__search .input-group input {
  font-size: 14px;
  padding: 2px 0;
}

.hp-hero__search .dropdown-btn {
  padding: 5px 10px;
  font-size: 13px;
}

.hp-hero__search .dropdown-menu {
  z-index: 100;
}

.hp-hero__search .dropdown-list {
  z-index: 100;
}

.hp-hero__search .easepick-wrapper {
  z-index: 100 !important;
}

.hp-hero__search .search-button {
  font-size: 15px;
  padding: 0 20px;
  min-height: 42px;
}

.hp-hero__search .loader {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  min-height: 150px;
}

.hp-hero__search .search-flight-error {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
}

/* ======================================
   TRUST BADGES
   ====================================== */

.hp-trust {
  padding: 24px 24px;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.hp-trust__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.hp-trust__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
}

.hp-trust__badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ======================================
   FEATURED OFFERINGS
   ====================================== */

.hp-offerings {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.hp-offerings .hp-section-title {
  padding: 0 24px;
}

.hp-offerings__grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 12px;
  scrollbar-width: none;
  scroll-padding-left: 24px;
}

.hp-offerings__grid::before,
.hp-offerings__grid::after {
  content: '';
  flex: 0 0 8px;
}

.hp-offerings__grid::-webkit-scrollbar {
  display: none;
}

.hp-card {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  flex: 0 0 220px;
  scroll-snap-align: start;
  height: 200px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.hp-card__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.hp-card:hover .hp-card__img img {
  transform: scale(1.08);
}

.hp-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.hp-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hp-card__link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ======================================
   TOP DESTINATIONS
   ====================================== */

.hp-destinations {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hp-destinations__header {
  margin-bottom: 32px;
}

.hp-destinations__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hp-destinations__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.hp-destinations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hp-dest-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  height: 200px;
}

.hp-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
  min-height: 200px;
}

.hp-dest-card:hover img {
  transform: scale(1.05);
}

.hp-dest-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
}

.hp-dest-card__overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hp-dest-card__overlay span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
}

/* ======================================
   WHY CHOOSE TRIPZELO
   ====================================== */

.hp-why {
  padding: 80px 24px;
  background: var(--color-bg-light);
}

.hp-why__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: center;
}

.hp-why__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-why__icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.hp-why__item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.hp-why__item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 320px;
  margin: 0 auto;
}

/* ======================================
   BUSINESS CLASS & PREMIUM CABIN DEALS
   ====================================== */

.hp-premium {
  padding: 80px 24px;
  background: #f8f9fb;
}

.hp-premium__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-premium__header {
  margin-bottom: 36px;
}

.hp-premium__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hp-premium__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hp-premium__subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  max-width: 620px;
}

.hp-premium__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hp-premium-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.hp-premium-card__route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hp-premium-card__route span {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.hp-premium-card__route svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta);
}

.hp-premium-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 16px;
  flex: 1;
}

.hp-premium-card__price {
  font-size: 15px;
  color: #1e293b;
  margin-bottom: 20px;
}

.hp-premium-card__price strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

.hp-premium-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hp-premium-card__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hp-premium-card__cta:hover {
  background: #0e2d4a;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ======================================
   CTA BANNER
   ====================================== */

.hp-premium .cta-banner {
  max-width: 100%;
  padding: 0;
  margin: 36px 0 0;
}

.hp-cta-banner {
  margin-top: 36px;
}

.hp-cta-banner__inner {
  background: var(--color-cta);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hp-cta-banner__inner h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.hp-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hp-cta-banner__btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hp-cta-banner__btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ======================================
   TESTIMONIALS
   ====================================== */

.hp-reviews {
  padding: 80px 24px;
}

.hp-reviews__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-reviews__header {
  margin-bottom: 56px;
  padding: 0 24px;
}

.reviews-section .reviews-grid {
  padding: 36px 24px 20px;
  scroll-padding-left: 24px;
}

.hp-reviews__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hp-reviews__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.hp-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hp-review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.hp-review-card__stars {
  font-size: 18px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hp-review-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 20px;
  flex: 1;
}

.hp-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-review-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.hp-review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #16a34a;
}

.hp-review-card__badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ======================================
   FLIGHT TICKET DEALS
   ====================================== */

.hp-deals {
  padding: 80px 24px;
  background: #fff;
}

.hp-deals__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-deals__header {
  margin-bottom: 32px;
}

.hp-deals__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hp-deals__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.hp-deals__tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hp-deals__table-header {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.hp-deals__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-deal-row {
  display: flex;
  align-items: center;
  background: #f8f9fb;
  border: 1px solid #e9edf2;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s;
}

.hp-deal-row:hover {
  background: #f0f4f8;
  border-color: #b3d1f5;
}

.hp-deal-row__logo {
  width: 50px;
  height: 28px;
  object-fit: contain;
  margin-right: 16px;
  flex-shrink: 0;
}

.hp-deal-row__route {
  flex: 0 0 25%;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

.hp-deal-row__dates {
  flex: 1;
  font-size: 13px;
  color: var(--color-text-light);
}

.hp-deal-row__price {
  font-size: 15px;
  font-weight: 700;
  color: #00B77B;
  text-align: right;
  flex-shrink: 0;
}

.hp-deals__note {
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.hp-deals__note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ======================================
   RESPONSIVE - TABLET (768px+)
   ====================================== */

@media screen and (min-width: 768px) {
  .hp-hero__title {
    font-size: 44px;
  }

  .hp-hero__subtitle {
    font-size: 18px;
  }

  .hp-offerings__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    flex-wrap: wrap;
    padding: 0;
    scroll-padding-left: 0;
  }

  .hp-offerings__grid::before,
  .hp-offerings__grid::after {
    display: none;
  }

  .hp-offerings {
    padding: 80px 24px;
  }

  .hp-card {
    flex: auto;
    height: 220px;
  }

  .hp-destinations__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .hp-dest-card {
    height: 220px;
  }

  .hp-dest-card--small {
    grid-column: span 2;
  }

  .hp-dest-card--large {
    grid-column: span 4;
    height: 220px;
  }

  .hp-dest-card:not(.hp-dest-card--small):not(.hp-dest-card--large) {
    grid-column: span 2;
  }

  .hp-destinations__title {
    font-size: 32px;
  }

  .hp-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-section-title {
    font-size: 32px;
  }

  .hp-premium__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-reviews__header {
    padding: 0 24px;
  }

  .reviews-section .reviews-grid {
    padding: 36px 24px 20px;
    scroll-padding-left: 24px;
  }

  .hp-reviews__title {
    font-size: 32px;
  }

  .hp-premium__title {
    font-size: 32px;
  }

  .hp-cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 28px 40px;
    gap: 28px;
  }

  .hp-cta-banner__inner h2 {
    font-size: 22px;
    text-align: left;
    white-space: nowrap;
  }

  .hp-deals__tables {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-deals__title {
    font-size: 32px;
  }
}

/* ======================================
   RESPONSIVE - DESKTOP (1200px+)
   ====================================== */

@media screen and (min-width: 1200px) {
  .hp-hero {
    min-height: clamp(550px, 70vh, 850px);
  }

  .hp-hero__title {
    font-size: 52px;
  }

  .hp-hero__subtitle {
    font-size: 20px;
  }

  .hp-hero__search .form-box {
    padding: 18px 24px;
  }

  .hp-section-title {
    font-size: 36px;
  }

  .hp-offerings {
    padding: 80px 24px;
  }

  .hp-offerings__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hp-destinations {
    padding: 80px 24px;
  }

  .hp-dest-card__overlay h3 {
    font-size: 24px;
  }

  .hp-destinations__title {
    font-size: 36px;
  }

  .hp-why {
    padding: 80px 24px;
  }

  .hp-premium {
    padding: 80px 24px;
  }

  .hp-premium__title {
    font-size: 36px;
  }

  .hp-cta-banner__inner h2 {
    font-size: 24px;
  }

  .hp-reviews__header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .reviews-section .reviews-grid {
    padding: 36px 24px 20px;
    scroll-padding-left: 24px;
  }

  .hp-reviews__title {
    font-size: 36px;
  }

  .hp-deals {
    padding: 80px 24px;
  }

  .hp-deals__title {
    font-size: 36px;
  }
}

