/* ==========================================================================
   HERO.CSS — Full-Viewport Hero, Inner Page Hero
   Plaza Hotel
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero — Full Viewport (Homepage)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. Hero Background Image
   -------------------------------------------------------------------------- */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  /* Subtle zoom on load */
  animation: hero-zoom 12s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}

/* Background via CSS (when no <img> is used) */
.hero--bg-css {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   3. Hero Overlay
   -------------------------------------------------------------------------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 14, 12, 0.80) 0%,
    rgba(15, 14, 12, 0.50) 40%,
    rgba(15, 14, 12, 0.20) 75%,
    rgba(15, 14, 12, 0.10) 100%
  );
}

/* Darker overlay variant */
.hero-overlay--darker {
  background: linear-gradient(
    to top,
    rgba(15, 14, 12, 0.90) 0%,
    rgba(15, 14, 12, 0.65) 40%,
    rgba(15, 14, 12, 0.30) 100%
  );
}

/* --------------------------------------------------------------------------
   4. Hero Content
   -------------------------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  /* Fade-up entrance */
  animation: hero-fade-up 0.9s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   5. Hero Eyebrow (small label above title)
   -------------------------------------------------------------------------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-accent-light);
}

/* --------------------------------------------------------------------------
   6. Hero Title
   -------------------------------------------------------------------------- */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.30);
  margin: 0;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-light);
}

/* --------------------------------------------------------------------------
   7. Hero Subtitle
   -------------------------------------------------------------------------- */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--fw-normal);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.80);
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   8. Hero Actions (CTA buttons)
   -------------------------------------------------------------------------- */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   9. Hero Scroll Indicator
   -------------------------------------------------------------------------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.60);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce-fade 2s infinite;
}

.hero-scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.60);
  border-bottom: 2px solid rgba(255, 255, 255, 0.60);
  transform: rotate(45deg);
}

@keyframes bounce-fade {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(5px); }
}

/* --------------------------------------------------------------------------
   10. Hero Stats / Quick Info Bar
   -------------------------------------------------------------------------- */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(15, 14, 12, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  flex: 1;
}

.hero-stat-item:last-child {
  border-right: none;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Inner Hero (non-homepage pages)
   -------------------------------------------------------------------------- */
.hero-inner {
  position: relative;
  height: 40vh;
  min-height: 280px;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner .hero-bg {
  animation: none; /* no zoom on inner pages */
}

.hero-inner .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 14, 12, 0.55) 0%,
    rgba(15, 14, 12, 0.70) 100%
  );
}

.hero-inner .hero-content {
  gap: 0.75rem;
  animation: none;
}

.hero-inner .hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-inner .hero-subtitle {
  font-size: var(--fs-base);
}

/* --------------------------------------------------------------------------
   12. Booking Quick-Form (floating over hero bottom)
   -------------------------------------------------------------------------- */
.hero-booking-bar {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.hero-booking-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-booking-field {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hero-booking-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-booking-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.hero-booking-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
}
