/* ================================ */
/* HERO                              */
/* ================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* ── Video Background ── */
.hero-media {
  position: absolute;
  inset: 0;
  background-color: var(--color-dark); /* Fallback to hide everything while video loads */
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15); /* Zoom to crop out black bars if they are part of the video file */
  opacity: 0; /* Starts hidden and fades in via JS */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.35) 0%,
    rgba(26, 26, 26, 0.25) 30%,
    rgba(26, 26, 26, 0.45) 55%,
    rgba(26, 26, 26, 0.7) 100%
  );
}

/* Cinematic film grain overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

/* ── Hero Content (Bottom Aligned) ── */
.hero-content {
  position: absolute;
  bottom: 180px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  padding: 0 var(--container-pad);
  animation: heroFadeIn 1.2s var(--ease-out) 0.5s both;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 700;
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 8px 48px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-xs);
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.hero-line {
  height: 1px;
  width: 40px;
  background: var(--color-gold);
  opacity: 0.6;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  font-weight: 400;
  color: #ebdcb2; /* light gold/beige */
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ── Hero Menu Button ── */
.hero-menu-btn {
  margin-top: var(--space-lg);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  font-size: var(--fs-xs);
  padding: 0.75em 2.5em;
  letter-spacing: 0.2em;
}

.hero-menu-btn:hover {
  border-color: var(--color-white);
}

/* ── Scroll Indicator (Elegant Side) ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 80px; 
  right: 40px; /* Side alignment */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
  text-decoration: none;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.5s forwards;
  transition: opacity var(--duration-normal);
}

@media (max-width: 768px) {
  .hero-scroll-indicator {
    right: 20px;
  }
}

.hero-scroll-indicator:hover {
  opacity: 0.7 !important;
}

.scroll-text {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ebdcb2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(235, 220, 178, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ebdcb2;
  animation: scrollLine 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ── Wavy SVG Divider ── */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 50px;
  display: block;
}

.hero-wave svg path {
  fill: var(--color-beige-lighter);
}
