/* Ease My Holiday — lead-focused homepage redesign */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
  --emh-ink: #07131f;
  --emh-deep: #0b1c2c;
  --emh-sea: #0e7490;
  --emh-mint: #2dd4bf;
  --emh-sun: #f4b942;
  --emh-sun-deep: #e09a1b;
  --emh-paper: #f7fafc;
  --emh-fog: #c5d0da;
  --emh-line: rgba(255, 255, 255, 0.16);
  --emh-display: 'Outfit', sans-serif;
  --emh-body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--emh-body) !important;
  background: var(--emh-paper);
  color: #142033;
}

/* Full-bleed hero carousel */
#travelCarousel.travel-carousel {
  min-height: 92svh !important;
  position: relative;
  overflow: hidden;
}

#travelCarousel .travel-slide img {
  transform: scale(1.04);
  animation: emhKen 14s ease-in-out infinite alternate;
}

@keyframes emhKen {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

#travelCarousel .slide-overlay {
  background:
    linear-gradient(105deg, rgba(7, 19, 31, 0.88) 0%, rgba(7, 19, 31, 0.55) 48%, rgba(7, 19, 31, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 19, 31, 0.2) 0%, rgba(7, 19, 31, 0.75) 100%) !important;
}

#travelCarousel .slide-content {
  max-width: 640px !important;
  animation: emhRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

#travelCarousel .slide-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45, 212, 191, 0.14) !important;
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--emh-mint) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  font-weight: 700;
  padding: 0.45rem 0.8rem !important;
  border-radius: 999px;
}

#travelCarousel .slide-content h1,
#travelCarousel .slide-content h1 strong {
  font-family: var(--emh-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.02 !important;
  color: #fff !important;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

#travelCarousel .slide-content p {
  color: var(--emh-fog) !important;
  font-size: 1.05rem !important;
  max-width: 34rem;
}

#travelCarousel .btn-primary,
#travelCarousel .slide-buttons .btn-primary {
  background: var(--emh-sun) !important;
  color: var(--emh-ink) !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 0.65rem !important;
  padding: 0.95rem 1.35rem !important;
  box-shadow: 0 12px 30px rgba(244, 185, 66, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

#travelCarousel .btn-primary:hover {
  background: var(--emh-sun-deep) !important;
  transform: translateY(-2px);
}

#travelCarousel .btn-outline,
#travelCarousel .slide-buttons .btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(6px);
  border-radius: 0.65rem !important;
  font-weight: 650 !important;
  padding: 0.95rem 1.25rem !important;
}

/* Hide clutter bar in first viewport — keep hero clean for conversion */
#travelCarousel .travel-info-bar {
  display: none !important;
}

/* Lead strip — immediate conversion after hero */
.emh-lead-strip {
  position: relative;
  z-index: 5;
  margin-top: -2.5rem;
  padding: 0 1rem 1.5rem;
}

.emh-lead-card {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0b1c2c 0%, #12324a 55%, #0e7490 140%);
  color: #fff;
  box-shadow: 0 22px 50px rgba(7, 19, 31, 0.35);
  animation: emhRise 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emh-lead-card h2 {
  font-family: var(--emh-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.emh-lead-card p {
  margin: 0;
  color: rgba(247, 250, 252, 0.78);
  font-size: 0.95rem;
}

.emh-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.emh-lead-actions a,
.emh-lead-actions button {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--emh-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 0.6rem;
  padding: 0.85rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.emh-lead-actions a:hover,
.emh-lead-actions button:hover {
  transform: translateY(-2px);
}

.emh-btn-quote {
  background: var(--emh-sun);
  color: var(--emh-ink);
}

.emh-btn-wa {
  background: #1fad66;
  color: #fff;
}

.emh-btn-call {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--emh-line) !important;
}

/* Sticky mobile/desktop lead bar */
.emh-sticky-lead {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  width: auto;
  max-width: none;
  transform: none;
  z-index: 9998;
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  animation: emhRise 0.6s 0.4s both;
}

.emh-sticky-lead a,
.emh-sticky-lead button {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-family: var(--emh-body);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.7rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
}

.emh-sticky-lead .emh-sticky-quote {
  background: var(--emh-sun);
  color: var(--emh-ink);
}

.emh-sticky-lead .emh-sticky-wa {
  background: #1fad66;
}

.emh-sticky-lead .emh-sticky-call {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.emh-sticky-lead .emh-sticky-label-short {
  display: none;
}

/* Hide old float to avoid double CTAs */
.home-enquiry-float {
  display: none !important;
}

/* Packages / sections polish */
.popular-packages .section-tag,
.home-section-tag,
.why-choose-section .section-tag {
  color: var(--emh-sea) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
}

.popular-packages h2,
.home-section-copy h2,
.why-choose-section h2,
.customer-reviews h2,
.home-contact h2 {
  font-family: var(--emh-display) !important;
  letter-spacing: -0.02em;
}

.home-contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 212, 191, 0.18), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(244, 185, 66, 0.16), transparent 35%),
    linear-gradient(180deg, #07131f, #0b1c2c) !important;
}

.home-contact-btn.gold,
.home-enquiry-submit {
  background: var(--emh-sun) !important;
  color: var(--emh-ink) !important;
  font-weight: 700 !important;
  border-radius: 0.65rem !important;
}

.home-enquiry-modal .home-enquiry-dialog {
  border-radius: 1rem !important;
  border-top: 4px solid var(--emh-sun);
}

body.has-sticky-lead {
  padding-bottom: 5.5rem;
}

@media (max-width: 820px) {
  .emh-lead-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .emh-lead-actions {
    justify-content: stretch;
  }
  .emh-lead-actions a,
  .emh-lead-actions button {
    flex: 1 1 auto;
    justify-content: center;
  }
  .emh-sticky-lead {
    width: auto;
    left: max(0.5rem, env(safe-area-inset-left));
    right: max(0.5rem, env(safe-area-inset-right));
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    transform: none;
    justify-content: stretch;
    border-radius: 1rem;
    gap: 0.3rem;
    padding: 0.35rem;
  }
  .emh-sticky-lead a,
  .emh-sticky-lead button {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 0.7rem 0.35rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }
  .emh-sticky-lead .emh-sticky-label-full {
    display: none;
  }
  .emh-sticky-lead .emh-sticky-label-short {
    display: inline;
  }
  #travelCarousel.travel-carousel {
    min-height: 88svh !important;
  }
}
