/* ==========================================================================
   CALIMARIUS — Hero Section & Photography Styles
   Minimalist Architectural Header & Authentic California Landscape
   ========================================================================== */

/* Hero Section Layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background-color: var(--c-bg-main);
}

/* Authentic California Desert Photo Layer */
.hero-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/death-valley-sunset-mark-nemenzo.jpg');
  background-size: cover;
  background-position: center 46%;
  opacity: 0.82;
  filter: saturate(0.95) contrast(1.06);
  z-index: 1;
  transform: scale(1.015);
  transition: opacity 0.8s ease;
}

/* Minimalist Vignette Overlay */
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, transparent 15%, rgba(6, 17, 13, 0.18) 70%, rgba(6, 17, 13, 0.48) 100%),
    linear-gradient(to bottom, rgba(3, 14, 10, 0.18) 0%, rgba(3, 14, 10, 0.12) 42%, rgba(3, 14, 10, 0.45) 76%, var(--c-bg-main) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-overline {
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.25vw, 1.05rem);
  font-weight: 500;
  letter-spacing: clamp(0.28rem, 0.75vw, 0.7rem);
  line-height: 1.5;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-display-title {
  max-width: 100%;
  margin-right: -0.035em;
  color: var(--c-sign-white);
  font-size: clamp(3.75rem, 10.8vw, 10rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 0.86;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.36);
}

.hero-char-mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  vertical-align: bottom;
}

.hero-title-char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.hero-bg-photo,
.hero-content-wrapper,
.hero-vignette {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-photo,
  .hero-content-wrapper,
  .hero-vignette,
  .hero-title-char {
    will-change: auto;
  }
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero-title .title-accent {
  color: var(--c-highway-green-bright);
}

.hero-description {
  max-width: 850px;
  margin-top: clamp(2.5rem, 7vh, 5rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-outline-cta {
  min-width: 260px;
  min-height: 52px;
  padding: 0.75rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-full);
  background: rgba(4, 25, 18, 0.16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.hero-outline-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-highway-green-dark);
  transform: translateY(-2px);
}

/* Minimal HUD Statistics */
.hero-hud-stats {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-sign-border);
  flex-wrap: wrap;
}

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

.hud-stat-num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-sign-white);
  line-height: 1;
}

.hud-stat-num span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-muted);
}

.hud-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: 2.5rem;
  }

  .hero-bg-photo {
    background-position: 62% center;
    opacity: 0.7;
  }

  .hero-vignette {
    background:
      linear-gradient(to bottom, rgba(3, 18, 13, 0.18), rgba(3, 18, 13, 0.3) 58%, var(--c-bg-main) 100%);
  }

  .hero-overline {
    max-width: 290px;
    letter-spacing: 0.26rem;
  }

  .hero-display-title {
    font-size: clamp(2.2rem, 10.8vw, 5.2rem);
    letter-spacing: 0.008em;
    margin-right: -0.008em;
  }

  .hero-description {
    margin-top: 3.25rem;
  }

  .hero-outline-cta {
    min-width: min(260px, 100%);
  }

  .hero-hud-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }

  .hero-content-wrapper {
    width: 100%;
  }

  .hero-overline {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.18rem;
  }

  .hero-display-title {
    font-size: 10.8vw;
  }

  .hero-description {
    max-width: 33rem;
    margin-top: 2.4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .hero-cta-group,
  .hero-outline-cta {
    width: 100%;
  }

  .hero-outline-cta {
    min-height: 48px;
  }
}
