/* ================================================================
   HERO.CSS — the homepage hero landing section
   ================================================================ */

.hero-landing {
  background-color: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.hero-slider {
  display: grid;
  position: relative;
  width: 100%;
  min-height: 680px;
  contain: layout paint;
}

.hero-slide {
  display:block;grid-area:1 / 1;width:100%;min-width:0;
  opacity:0;visibility:hidden;pointer-events:none;
  z-index:0;
  transition:opacity .65s ease, visibility .65s ease, z-index 0s ease .65s;animation:none;
  will-change:opacity;
}

.hero-slide.active { opacity:1;visibility:visible;pointer-events:auto;z-index:2;transition:opacity .65s ease, visibility .65s ease; }

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

.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  margin: 0;
  padding: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

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

/* ---- Overlay hero: image is the outer container, text sits on top ---- */

.hero-image-wrap {
  position: relative;
  width: 100%;
  min-height: 680px;
  height: 680px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}



.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15, 8, 6, 0.88) 0%,
    rgba(15, 8, 6, 0.72) 32%,
    rgba(15, 8, 6, 0.15) 62%,
    rgba(15, 8, 6, 0) 80%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 48px 40px;
  color: #fff;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-tagline .ht-icon {
  font-size: 1.1rem;
}

.hero-copy h1 {
  font-family: 'Fraunces', 'Noto Serif Devanagari', 'Noto Serif Telugu', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Two-tone headline accent — second half of the title, styled gold */
.hero-headline-accent {
  color: var(--gold);
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 520px;
}

/* ---- Feature icon row (reuses TRUST_ITEMS content, styled per reference) ---- */
.hero-feature-row {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  max-width: 90px;
}

.hf-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.hf-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c23838;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(107, 18, 32, 0.25);
  transition: all 0.2s;
}

.hero-btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107, 18, 32, 0.35);
  color: #fff;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
}

.hero-meta {
  display: flex;
  gap: 24px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-meta .hm-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta .hm-item svg {
  color: rgba(255,255,255,0.75);
  width: 16px;
  height: 16px;
}

.hero-stats-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 2;
}

.hero-stats-pill .hsp-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #c23838;
  color: #c23838;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats-pill .hsp-icon svg {
  width: 14px;
  height: 14px;
}

.hero-stats-pill .hsp-text {
  line-height: 1.2;
}

.hero-stats-pill strong {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero-stats-pill span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-swipe {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

/* ================================================================
   FLOATING BOOKING CARD — currently unused by any live template,
   kept as-is (unchanged from original) in case it's wired up later.
   ================================================================ */
.hero-booking-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(155, 28, 28, 0.12);
  z-index: 10;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hbc-header {
  background: var(--booking-gradient);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hbc-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hbc-price-sec {
  text-align: center;
}

.hbc-price-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.hbc-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--maroon);
}

.hbc-timer-sec {
  text-align: center;
}

.hbc-timer-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.hbc-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.time-unit {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

.hbc-btn {
  background: var(--booking-gradient);
  color: #fff;
  border-radius: 8px;
  padding: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hbc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 93, 4, 0.35);
  color: #fff;
}

.hbc-checklist {
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hbc-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hbc-support {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.hbc-support-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.2s;
}

.hbc-support-btn:hover {
  background: var(--bg-soft);
}

.hbc-support-btn.wa {
  color: var(--green);
  border-color: rgba(37, 211, 102, 0.3);
}

.hbc-support-btn.call {
  color: var(--maroon);
  border-color: rgba(155, 28, 28, 0.2);
}

/* ================================================================
   STATS BAR — used by the section in home.html directly below hero.
   ================================================================ */

.stats-bar {
  background: #fff;
  padding: 28px 0;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  margin: -40px auto 0;
  max-width: 1200px;
  position: relative;
  z-index: 5;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-soft);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-text strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}

.stat-text span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .stats-bar {
    margin-top: -24px;
    border-radius: 16px;
  }
  .stats-container {
    justify-content: center;
    gap: 20px;
  }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 900px) {
  .hero-image-wrap {
    min-height: 420px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 32px 24px;
  }
  .hero-tagline {
    justify-content: center;
  }
  .hero-feature-row {
    justify-content: center;
    gap: 16px;
  }
  .hero-feature {
    max-width: 70px;
  }
  .hf-badge {
    width: 44px;
    height: 44px;
  }
  .hero-buttons {
    justify-content: center;
    margin-bottom: 24px;
  }
  .hero-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-overlay-gradient {
    background: linear-gradient(180deg,
      rgba(15, 8, 6, 0.35) 0%,
      rgba(15, 8, 6, 0.75) 55%,
      rgba(15, 8, 6, 0.92) 100%
    );
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

@media (max-width: 900px) {
  .hero-arrow { display: none; }
}
/* --- NEW MOBILE HERO LAYOUT --- */
@media (max-width: 767px) {
  .hero-landing {
    background-color: #fff;
  }
  .hero-image-wrap {
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: auto;
    box-shadow: none;
    border-radius: 0;
  }
  .hero-img {
    position: relative;
    height: 260px;
    border-radius: 0 0 24px 24px;
    object-fit: cover;
  }
  .hero-overlay-gradient {
    display: none;
  }
  .hero-copy {
    position: relative;
    padding: 24px 16px 16px;
    color: var(--ink);
    z-index: 2;
  }
  .hero-tagline {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
  .hero-copy h1 {
    color: var(--ink);
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .hero-feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  .hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .hf-badge {
    width: 44px;
    height: 44px;
    background: #fdf2f2;
    color: var(--red);
    border-radius: 50%;
    margin-bottom: 8px;
    font-size: 1.2rem;
  }
  .hf-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-btn-primary {
    width: 100%;
    background: #c40b13;
    color: #fff;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    border: none;
  }
  .hero-btn-secondary {
    width: 100%;
    background: #fff;
    border: 1px solid #e85a1c;
    color: #e85a1c;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
  }
  .hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-bottom: 20px;
    color: var(--muted);
  }
  .hero-meta .hm-item {
    color: var(--muted);
    font-size: 0.85rem;
  }
  .hero-meta .hm-item svg {
    color: var(--ink);
  }
  .hero-slider-dots {
    position: relative;
    bottom: 0;
    padding-bottom: 24px;
  }
  .hero-dot {
    background: #ccc;
    border: none;
    width: 8px;
    height: 8px;
  }
  .hero-dot.active {
    background: var(--gold);
    transform: none;
    width: 10px;
    height: 10px;
    border: none;
  }
  .stats-bar {
    margin: -10px 16px 24px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    background: #fff;
  }
  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
  }
  .stat-item {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    background: #fff8e6;
    color: #e85a1c;
    border: none;
    background: #fff0eb;
  }
  .stat-text strong {
    color: #e85a1c;
    font-size: 1.15rem;
  }
}


@media (max-width: 767px) {
  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-tagline {
    justify-content: center;
  }
  .hero-feature-row {
    width: 100%;
  }
  .hero-buttons {
    width: 100%;
  }
  .hero-meta {
    width: 100%;
  }
}




@media (max-width: 767px) {
  .hero-tagline {
    color: var(--gold);
  }
  .hero-headline-accent {
    color: var(--red);
  }
  .hero-btn-primary {
    background: #c40b13; 
    color: #fff;
    border: none;
  }
  .hero-btn-secondary {
    background: #fff;
    border: 1px solid var(--red);
    color: var(--red);
  }
}


@media (max-width: 767px) {
  .hero-dot.active {
    background: var(--red);
  }
}


@media (max-width: 767px) {
  .hero-swipe {
    display: none;
  }
}


@media (max-width: 767px) {
  .hero-tagline .ht-icon {
    display: none;
  }
}


@media(prefers-reduced-motion:reduce){.hero-slide{transition:none!important}}

/* Keep mobile hero text rhythm identical across slides. Longer Telugu titles must not push CTA buttons down. */
@media (max-width: 767px) {
  .hero-slider {
    height: 780px !important;
    min-height: 780px !important;
    max-height: 780px !important;
    overflow: hidden;
  }
  .hero-image-wrap {
    height: 100% !important;
  }
  .hero-slide {
    height: 100% !important;
  }
  .hero-copy h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.25;
    height: auto;
    min-height: 78px;
    max-height: 88px;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .hero-desc {
    height: 68px;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .hero-feature-row {
    height: 78px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .hero-buttons {
    height: 108px;
    margin-bottom: 16px;
    flex: 0 0 108px;
  }
  .hero-buttons > a {
    flex: 0 0 48px;
    box-sizing: border-box;
  }
}

/* Laptop/tablet: allow taller Telugu headlines and trust content without clipping the CTA. */
@media (min-width: 768px) and (max-width: 1280px) {
  .hero-slider,
  .hero-image-wrap {
    min-height: 680px;
    height: 680px;
  }
  .hero-copy {
    max-width: 610px;
    padding: 42px 40px 34px;
  }
  .hero-copy h1 {
    max-width: 560px;
    margin-bottom: 16px;
  }
  .hero-desc {
    max-width: 560px;
    margin-bottom: 20px;
  }
  .hero-feature-row {
    margin-bottom: 24px;
  }
  .hero-buttons {
    margin-bottom: 24px;
  }
}

/* Keep the location/date row visible at the bottom of the desktop hero. */
@media (min-width: 768px) {
  .hero-image-wrap .hero-copy { position: static; }
  .hero-image-wrap .hero-meta {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 24px;
    width: auto;
    margin: 0;
    z-index: 4;
    color: rgba(255,255,255,.9);
  }
  .hero-image-wrap .hero-meta .hm-item { color: rgba(255,255,255,.9); }
  .hero-image-wrap .hero-meta svg { color: currentColor; }
}

/* Restore the desktop hero copy as the overlay layer; keep meta anchored within it. */
@media (min-width: 768px) {
  .hero-image-wrap .hero-copy {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .hero-image-wrap .hero-meta {
    left: 40px;
    right: 40px;
    bottom: 24px;
  }
}

/* Final responsive hero spacing: reserve room for the anchored meta row. */
@media (min-width: 768px) {
  .hero-image-wrap .hero-copy {
    padding-bottom: 92px;
  }
  .hero-image-wrap .hero-meta {
    min-height: 28px;
    align-items: center;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
  }
}
@media (max-width: 767px) {
  .hero-image-wrap .hero-meta {
    position: relative;
    z-index: 4;
  }
}

@media (min-width: 768px) {
  .hero-image-wrap .hero-meta { bottom: 62px; }
}

/* Mobile trust labels need room for three Telugu lines, especially the 48-hour promise. */
@media (max-width: 767px) {
  .hero-feature-row {
    height: 104px;
    min-height: 104px;
    margin-bottom: 18px;
  }
  .hero-feature .hf-label {
    max-height: 52px;
    overflow: visible;
    font-size: .66rem;
    line-height: 1.3;
  }
}
