/* ==========================================================================
   BILLORA - EDITORIAL LUXURY HERO (RIO PROPERTY INSPIRED)
   True Scroll-Controlled Drone Video Timeline & Typography-First Layout
   ========================================================================== */

/* 1. Hero Viewport Container (100svh) */
.hero-editorial-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  background-color: #080a09;
  z-index: 10;
}

/* 2. Secondary Architectural Drone Video (Natural Colors - No Dark Film) */
.hero-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transform-origin: center center;
}

.hero-video,
.hero-bg-video,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.00);
  transform-origin: center center;
  filter: none;
  opacity: 1;
  will-change: transform;
}

.hero-bg-img {
  z-index: 1;
}

.hero-video,
.hero-bg-video {
  z-index: 2;
  background: transparent;
}

/* Subtle localized gradient only behind top nav & text (0-8% dark wash, keeps lush natural landscape clear) */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at 20% 60%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 65%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.22) 100%);
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.4s ease;
  will-change: opacity;
}

/* 3. Hero Inner Content Wrapper (Full Height Flex) */
.hero-editorial-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vh, 3.5rem) clamp(2rem, 5vw, 5rem);
}

/* 4. Top Minimal Navigation */
.hero-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(245, 243, 237, 0.1);
  will-change: transform, opacity;
}

.hero-nav-brand {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary, #f5f3ed);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-nav-brand:hover {
  opacity: 0.75;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-nav-link {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.75);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.hero-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary, #f5f3ed);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-editorial, cubic-bezier(0.25, 1, 0.5, 1));
}

.hero-nav-link:hover {
  color: var(--text-primary, #f5f3ed);
}

.hero-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.hero-nav-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary, #f5f3ed);
  cursor: pointer;
  padding: 0.5rem;
}

/* 5. Sub-Header (Category Navigation + Short Statement) */
.hero-sub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.5rem;
  will-change: transform, opacity;
}

.hero-category-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.hero-category-link {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.65);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.hero-category-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent-gold, #c5a059);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-editorial, cubic-bezier(0.25, 1, 0.5, 1));
}

.hero-category-link:hover {
  color: var(--accent-gold-light, #e5c483);
}

.hero-category-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.hero-editorial-statement {
  max-width: 440px;
  text-align: right;
}

.hero-editorial-quote {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(245, 243, 237, 0.8);
}

/* 6. Massive Kinetic Typography (BILLORA KNOWS THE MOUNTAINS) */
.hero-main-typography {
  margin: auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5vh 0;
}

.hero-line-mask {
  overflow: hidden;
  line-height: 0.82;
  display: block;
}

.hero-line-mask.line-2 {
  padding-left: clamp(0rem, 7vw, 12rem);
}

.hero-line-text {
  display: block;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(4.2rem, 11.5vw, 12.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--text-primary, #f5f3ed);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

#hero-line-2 {
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary, #f5f3ed);
}

#hero-line-3 {
  font-weight: 400;
  letter-spacing: -0.055em;
}

/* 7. Bottom Bar & Clean Scroll Indicator */
.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 243, 237, 0.1);
  will-change: transform, opacity;
}

.hero-location-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.55);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary, #f5f3ed);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-scroll-btn:hover {
  color: var(--accent-gold-light, #e5c483);
}

.hero-scroll-arrow {
  width: 14px;
  height: 14px;
  animation: bounceScroll 2.2s ease-in-out infinite;
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-nav-links {
    display: none;
  }
  .hero-nav-mobile-btn {
    display: block;
  }
  .hero-editorial-statement {
    display: none;
  }
  .hero-line-mask.line-2 {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .hero-editorial-content {
    padding: 1.5rem;
  }
  .hero-category-links {
    gap: 1.25rem;
  }
  .hero-line-text {
    font-size: clamp(3.2rem, 14vw, 5.5rem);
    letter-spacing: -0.04em;
  }
}
