/* ============================================================
   TopStays — Hero Section Stylesheet (Complete Rebuild)
   Full-viewport background image, text bottom-left, button bottom-right
   ============================================================ */

/* ─── Hero Wrapper ─────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* ─── Background Image Layer ───────────────────── */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* ─── Cinematic Ken Burns Engine ────────────────── */
.cinematic-bg {
  position: relative;
}

.cinematic-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1);
  will-change: transform, opacity;
  z-index: 1;
}

.cinematic-layer.active {
  opacity: 1;
  z-index: 2;
  animation: heroKenBurns 6s linear forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

/* ─── Dark Overlay for Text Contrast ───────────── */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

/* ─── Content Container (bottom row) ───────────── */
.hero-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 56px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

/* ─── Text Block (bottom-left) ─────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 620px;
  animation: heroFadeUp 0.9s ease-out both;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-desc-para {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 560px;
}

/* ─── Circular CTA Button (bottom-right) ──────── */
.hero-actions {
  flex-shrink: 0;
  animation: heroFadeUp 0.9s ease-out 0.25s both;
}

.hero-circle-btn {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 18px;
  gap: 6px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.hero-circle-btn:hover {
  background-color: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  transform: scale(1.06);
}

.hero-circle-btn .btn-arrow {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

/* ─── Scroll Indicator ─────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(255, 255, 255, 0.6);
  animation: scrollPin 2s infinite ease-in-out;
}

/* ─── Hero Entrance Animation ──────────────────── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 992px) {
  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero-container {
    padding: 0 32px 48px;
    gap: 32px;
  }

  .hero-circle-btn {
    width: 130px;
    height: 130px;
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 40px;
    gap: 24px;
  }

  .hero-desc-para {
    font-size: 0.9rem;
  }

  .hero-circle-btn {
    width: 120px;
    height: 120px;
    font-size: 0.76rem;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-container {
    padding: 0 18px 32px;
  }

  .hero-circle-btn {
    width: 110px;
    height: 110px;
    font-size: 0.72rem;
  }
}
