/* ==========================================================================
   SastaTour.com - Coming Soon Landing Page Stylesheet (style.css)
   Clean Sky Headline Zone (Zero Text Overlap on Landmarks at Any Screen Size)
   ========================================================================== */

:root {
  --purple-dark: #3b185f;
  --purple-main: #431f6d;
  --purple-footer: #4f3082;
  --yellow-main: #fcbf1e;
  --yellow-bright: #ffd026;
  --teal-active: #009999;
  --border-light: #e2e8f0;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: var(--purple-dark);
  background-color: #d8f1fd;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
  position: relative;
  z-index: 100;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 14px rgba(59, 24, 95, 0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--purple-dark);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--teal-active);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3.5px;
  background-color: var(--yellow-main);
  border-radius: 4px;
}

/* Hamburger menu button (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--purple-dark);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.open .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-menu-btn.open .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION & PROPORTIONAL BACKGROUND (ZERO TEXT OVERLAP)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  /* Locks proportional height to width on wide screens so landmarks NEVER rise into the headline text */
  height: calc(100vh - 66px);
  min-height: 420px;
  background-image: url('hero-bg.jpg');
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(8px, 1.6vh, 20px);
  overflow: hidden;
}

/* ==========================================================================
   HERO HEADINGS (Strictly in the Top Clean Cloud Zone 0%..36%)
   ========================================================================== */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 920px;
  width: 100%;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.15rem, 1.95vw, 1.85rem);
  font-weight: 500;
  color: var(--purple-main);
  letter-spacing: -0.2px;
  margin-bottom: 0;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.35rem, 4.9vw, 4.45rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 2px 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  flex-wrap: wrap;
}

.hero-title .text-purple {
  color: var(--purple-dark);
}

.hero-title .text-yellow {
  color: var(--yellow-main);
}

.hero-categories {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}

.cat-item {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.28rem);
  font-weight: 700;
  color: var(--purple-dark);
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.cat-item:hover {
  color: var(--teal-active);
  transform: translateY(-1px);
}

.cat-divider {
  color: var(--yellow-main);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  user-select: none;
}

/* Middle spacer reserves open visual room for the landmarks skyline */
.landmarks-spacer {
  flex: 1 1 auto;
  min-height: 12vh;
  width: 100%;
  pointer-events: none;
}

/* ==========================================================================
   SEARCH WIDGET (Folder Tabs + White Input Card)
   ========================================================================== */
.search-section {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 880px;
  padding: 0 20px;
  margin-bottom: -4px;
}

.search-widget {
  width: 100%;
  filter: drop-shadow(0 14px 30px rgba(17, 34, 68, 0.22));
}

/* Folder-Style Tabs Row */
.search-tabs {
  display: inline-flex;
  align-items: stretch;
  background: rgba(243, 246, 251, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px 26px 0 0;
  overflow: hidden;
  position: relative;
  padding-right: 12px;
}

.tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 25px;
  border: none;
  background: transparent;
  color: var(--purple-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:not(:last-child):not(.active)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  height: 52%;
  width: 1.5px;
  background-color: #cbd5e1;
}

.tab-btn .tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tab-btn:hover:not(.active) {
  background-color: rgba(0, 153, 153, 0.08);
  color: var(--teal-active);
}

.tab-btn.active {
  background-color: var(--teal-active);
  color: var(--white);
  border-radius: 15px 15px 0 0;
  box-shadow: 0 4px 12px rgba(0, 153, 153, 0.25);
}

/* Search Inputs Card Body */
.search-body {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-radius: 0 20px 20px 20px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.95fr auto;
  gap: 12px;
  align-items: center;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 0 13px;
  height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--teal-active);
  box-shadow: 0 0 0 3px rgba(0, 153, 153, 0.12);
}

.field-icon {
  width: 18px;
  height: 18px;
  color: var(--purple-dark);
  opacity: 0.78;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--purple-dark);
  cursor: pointer;
}

.search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

/* Search Yellow Pill Button */
.search-submit-btn {
  height: 44px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow-bright) 0%, var(--yellow-main) 100%);
  color: var(--purple-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(245, 180, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.search-submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 8px 20px rgba(245, 180, 0, 0.45);
}

.search-submit-btn:active {
  transform: translateY(0);
}

.search-btn-icon {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   INTERACTIVE POPOVERS (Destinations, Dates, Guests)
   ========================================================================== */
.dropdown-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  display: none;
  z-index: 60;
}

.dropdown-popover.show {
  display: block;
}

.dropdown-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
  padding: 0 6px;
}

.dest-option {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--purple-dark);
  cursor: pointer;
  transition: background 0.15s ease;
}

.dest-option:hover {
  background: #f1f5f9;
  color: var(--teal-active);
}

.date-popover {
  min-width: 270px;
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.date-field span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.date-field input[type="date"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--purple-dark);
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.guest-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-dark);
}

.guest-sub {
  font-size: 11px;
  color: #64748b;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: var(--white);
  color: var(--purple-dark);
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  border-color: var(--teal-active);
  color: var(--teal-active);
}

.popover-apply-btn {
  width: 100%;
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: var(--teal-active);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   BOTTOM CURVED WAVE FOOTER & FOREGROUND PALM LEAVES
   ========================================================================== */
.footer-wave-wrap {
  position: relative;
  z-index: 15;
  width: 100%;
}

.palm-corner {
  position: absolute;
  bottom: 0;
  width: 185px;
  height: 150px;
  pointer-events: none;
  z-index: 25;
  filter: blur(2.2px);
  opacity: 0.92;
}

.palm-left {
  left: -12px;
}

.palm-right {
  right: -12px;
}

.wave-svg {
  display: block;
  width: 100%;
  height: clamp(56px, 8.8vh, 76px);
}

.footer-tagline-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  z-index: 26;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
}

.tagline-line {
  width: 56px;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.72);
}

.footer-tagline-text {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: center;
}

/* ==========================================================================
   COMING SOON MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 12, 52, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  position: relative;
  background: var(--white);
  max-width: 440px;
  width: 100%;
  border-radius: 20px;
  padding: 28px 26px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
}

.modal-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(252, 191, 30, 0.2);
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.modal-card h2 {
  font-size: 21px;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
}

.notify-form {
  display: flex;
  gap: 8px;
}

.notify-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  outline: none;
}

.notify-form input:focus {
  border-color: var(--teal-active);
}

.notify-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: var(--yellow-main);
  color: var(--purple-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.notify-feedback {
  margin-top: 10px;
  color: var(--teal-active) !important;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 860px) {
  .nav-container {
    padding: 12px 22px;
  }

  .brand-logo img {
    height: 48px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 22px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 10px 4px;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link.active::after {
    width: 48px;
    bottom: 4px;
  }

  .hero-section {
    height: auto;
    min-height: calc(100vh - 68px);
    background-color: #0d8cc0;
    background-size: 235% auto;
    background-position: 53% 18%;
    padding-top: 12px;
  }

  .landmarks-spacer {
    min-height: 155px;
  }

  .hero-categories {
    gap: 8px;
  }

  .search-section {
    max-width: 440px;
    padding: 0 14px;
    margin-bottom: 6px;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    border-radius: 16px 16px 0 0;
    padding-right: 0;
  }

  .tab-btn {
    padding: 11px 6px;
    font-size: 12px;
    gap: 5px;
  }

  .tab-btn .tab-icon {
    width: 15px;
    height: 15px;
  }

  .search-body {
    grid-template-columns: 1fr;
    border-radius: 0 0 18px 18px;
    padding: 14px;
    gap: 10px;
  }

  .search-submit-btn {
    width: 100%;
    height: 44px;
  }

  .palm-corner {
    width: 95px;
    height: 80px;
  }

  .wave-svg {
    height: 68px;
  }

  .footer-tagline-bar {
    bottom: 9px;
    gap: 10px;
  }

  .tagline-line {
    width: 28px;
  }

  .footer-tagline-text {
    font-size: 11px;
  }
}
