/* ═══════════════════════════════════════════════════════════
   KnowYourGujarat — HERO SECTION (Extracted from Reference Design)
   Default Typography (Inter) + Scenic Morning Background
   + Segmented Photographic Gujarat Map Collage
   ═══════════════════════════════════════════════════════════ */

/* ── Hero Tokens ── */
:root {
  --hero-navy-dark:     #0b2545;
  --hero-navy-btn:      #091e3a;
  --hero-navy-text:     #0a2240;
  --hero-orange:        #FF7A00;
  --hero-orange-hover:  #FF6B00;
  --hero-green:         #16A34A;
  --hero-slate:         #1e293b;
  --hero-slate-muted:   #64748b;
  --hero-card-border:   rgba(203, 213, 225, 0.85);
}

/* ─────────────────────────────────────────────────────────── */
/*  HERO WRAPPER                                               */
/* ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background: #FFFFFF !important;
  background-image: none !important;
  padding: 100px 0 30px;
}



/* ── Hero Content Container ── */
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 48px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* ─────────────────────────────────────────────────────────── */
/*  LEFT COLUMN: HERO HEADLINE, SEARCH & CTA BUTTONS           */
/* ─────────────────────────────────────────────────────────── */
.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* ── Main Headline (Yatra One / Devanagari-Latin Display Font) ── */
.hero__headline {
  font-family: 'Yatra One', 'Rozha One', serif;
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--hero-navy-text);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero__headline-row {
  display: block;
}

/* ── Tricolor Accent Bar (Orange & Green) ── */
.hero__tricolor-bar {
  display: flex;
  width: 86px;
  height: 4px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 22px;
}

.hero__tricolor-saffron {
  flex: 1;
  background: var(--hero-orange);
}

.hero__tricolor-green {
  flex: 1;
  background: var(--hero-green);
}

/* ── Subtitle ── */
.hero__sub {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--hero-slate);
  max-width: 520px;
  margin: 0 0 28px;
}

/* ── Search Bar Box ── */
.hero__search-card {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border: 1px solid var(--hero-card-border);
  border-radius: 10px;
  padding: 5px 6px 5px 16px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.07);
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.hero__search-card:focus-within {
  border-color: #0b2545;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.14);
}

.hero__search-icon {
  flex-shrink: 0;
  color: #64748b;
  margin-right: 12px;
}

.hero__search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  color: #0f172a;
  padding: 8px 0;
}

.hero__search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.hero__search-submit {
  flex-shrink: 0;
  background: var(--hero-navy-dark);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero__search-submit:hover {
  background: #06172d;
  transform: translateY(-1px);
}

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

/* ── Dual CTA Buttons ── */
.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hero-navy-dark);
  color: #FFFFFF !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.18);
}

.btn-hero-explore:hover {
  background: #06172d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.28);
}

.btn-hero-upload {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #0A4FCD !important;
  border: 1.5px solid #0A4FCD;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(10, 79, 205, 0.08);
}

.btn-hero-upload:hover {
  background: rgba(10, 79, 205, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 79, 205, 0.18);
}

/* ─────────────────────────────────────────────────────────── */
/*  RIGHT COLUMN: GUJARAT DISTRICTS MAP SHOWCASE & ART BACKDROP */
/* ─────────────────────────────────────────────────────────── */
.hero__map-showcase-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── Full-Section Subtle Pale-Blue Line Art Infrastructure Landscape Backdrop ── */
.hero__infrastructure-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -220px;
  width: 100%;
  height: calc(100% + 220px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  user-select: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero__infrastructure-backdrop picture {
  display: contents;
}

.hero__infra-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  image-rendering: auto;
}

.hero__showcase-map-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__showcase-map-img:hover {
  transform: scale(1.02);
  filter: none !important;
}

/* ─────────────────────────────────────────────────────────── */
/*  BOTTOM SCROLL INDICATOR                                    */
/* ─────────────────────────────────────────────────────────── */
.hero__scroll-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.hero__scroll-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-slate-muted);
  letter-spacing: 0.02em;
}

.hero__scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0b2545;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.12);
  border: 1px solid rgba(203, 213, 225, 0.7);
  cursor: pointer;
  text-decoration: none;
  animation: scrollBounce 2s infinite ease-in-out;
  transition: all 0.2s ease;
}

.hero__scroll-btn:hover {
  background: #f8fafc;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.2);
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ─────────────────────────────────────────────────────────── */
/*  RESPONSIVE BREAKPOINTS                                     */
/* ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 20px 24px 30px;
    text-align: center;
  }
  .hero__left {
    align-items: center;
  }
  .hero__tricolor-bar {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__search-card {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta-group {
    justify-content: center;
  }
  .hero__map-collage-stage {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 80px;
  }
  .hero__inner {
    padding: 10px 16px 20px;
  }
  .hero__headline {
    font-size: 38px;
  }
  .hero__search-card {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .hero__search-input {
    width: 100%;
    text-align: center;
  }
  .hero__search-submit {
    width: 100%;
    padding: 11px;
  }
  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-explore, .btn-hero-upload {
    width: 100%;
    justify-content: center;
  }
}
