/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ══════════════════
   HERO SLIDER
══════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--topbar-height) - var(--header-height));
  min-height: 560px;
  max-height: 800px;
  overflow: hidden;
  background: var(--color-navy);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 15, 30, 0.82) 0%,
    rgba(5, 15, 30, 0.55) 50%,
    rgba(5, 15, 30, 0.25) 100%
  );
}

/* Slide text content */
.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;
  padding-left: calc((100vw - var(--container-max)) / 2 + var(--space-xl));
  padding-right: var(--space-xl);
  z-index: 5;
}

@media (max-width: 1280px) {
  .hero-slide-content {
    padding-left: var(--space-xl);
  }
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,148,10,0.18);
  border: 1px solid rgba(201,148,10,0.45);
  color: var(--color-gold-bright);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
}

.hero-slide-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-bright);
  flex-shrink: 0;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero-slide-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: var(--space-xl);
  max-width: 380px;
}

/* ── Booking card (fixed bottom-right on desktop) ── */
.hero-booking-card {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  background: var(--color-navy);
  padding: var(--space-xl) var(--space-xl) var(--space-xl);
  z-index: 20;
  box-shadow: -6px 0 40px rgba(0,0,0,0.3);
  border-top-left-radius: var(--radius-lg);
}

.hero-booking-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.hero-booking-sub {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.83rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input::placeholder { color: rgba(255,255,255,0.35); }

.form-input:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

/* ── Slider arrows ── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.hero-arrow-prev { left: var(--space-md); }
.hero-arrow-next { right: calc(380px + var(--space-md)); }

/* ── Dots ── */
.hero-dots {
  position: absolute;
  bottom: var(--space-xl);
  left: calc((100vw - var(--container-max)) / 2 + var(--space-xl) + 4px);
  z-index: 30;
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 1280px) {
  .hero-dots { left: calc(var(--space-xl) + 4px); }
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-dot.active {
  background: var(--color-gold);
  transform: scale(1.35);
}

/* ══════════════════════════════════════
   MOBILE HERO  ≤ 900px
   Layout becomes vertical stack:
   [Image + Text] → [Booking Form]
══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero becomes auto-height to fit stacked content */
  .hero {
    height: auto;
    min-height: unset;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  /* Slider occupies only the image+text portion */
  .hero-slider {
    position: relative;
    width: 100%;
    height: 56vw;
    min-height: 260px;
    max-height: 420px;
    flex-shrink: 0;
  }

  /* Slides fill the slider */
  .hero-slide {
    position: absolute;
    inset: 0;
  }

  /* Text content sits in bottom-left of image area */
  .hero-slide-content {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(to top, rgba(5,15,30,0.92) 0%, transparent 100%);
  }

  .hero-slide-tag {
    margin-bottom: var(--space-sm);
    font-size: 0.68rem;
  }

  .hero-slide-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    margin-bottom: var(--space-sm);
  }

  .hero-slide-sub {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    max-width: 100%;
  }

  /* Booking card becomes a normal block BELOW the image */
  .hero-booking-card {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: var(--space-lg) var(--space-md);
    flex-shrink: 0;
  }

  /* Arrows stay inside slider area */
  .hero-arrow {
    top: 40%;
  }

  .hero-arrow-next {
    right: var(--space-md);
  }

  /* Dots sit between image and booking card */
  .hero-dots {
    position: static;
    justify-content: center;
    padding: var(--space-sm) 0;
    background: var(--color-navy);
    order: 2; /* not actually using flex order here, dots are inside slider */
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 65vw;
    min-height: 240px;
  }

  .hero-slide-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-slide-sub {
    display: none; /* hide subtitle on very small screens for cleanliness */
  }

  .hero-booking-card {
    padding: var(--space-md);
  }
}

/* ══════════════════
   FEATURES GRID
══════════════════ */
.features-section {
  padding: var(--space-3xl) 0;
  background: var(--color-offwhite);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.feature-text {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* ══════════════════
   PASSENGER / SERVICES
══════════════════ */
.passenger-section {
  padding: var(--space-3xl) 0;
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card { text-align: center; }

.service-card-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  aspect-ratio: 4/3;
  background: var(--color-navy-light);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.45) 0%, transparent 60%);
}

.service-card:hover .service-card-img img { transform: scale(1.07); }

.service-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.service-card-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

/* ══════════════════
   STATS / COVID
══════════════════ */
.stats-section {
  background: var(--color-navy);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content:'';
  position:absolute;
  top:-100px; right:-100px;
  width:500px; height:500px;
  background: radial-gradient(circle, rgba(201,148,10,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.stats-info-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.stats-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.stats-info-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.stat-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,148,10,0.4);
}

.stat-icon { font-size:2rem; margin-bottom:8px; color:var(--color-gold); }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

@media (max-width: 768px) { .stats-inner { grid-template-columns: 1fr; } }

/* ══════════════════
   QUOTE SECTION
══════════════════ */
.quote-section {
  padding: var(--space-3xl) 0;
  background: var(--color-offwhite);
}

.quote-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.quote-text {
  font-family: var(--font-italic);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.85;
  border-left: 4px solid var(--color-gold);
  padding-left: var(--space-xl);
  max-width: 760px;
  margin: var(--space-xl) auto 0;
  text-align: left;
}

/* Footer styles are in footer.css */
