/* ============================================
   HERO SECTIONS
   Cinematic gradient overlays
   ============================================ */

.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--header-height);
  padding: var(--space-4xl) var(--container-padding);
}

/* ---- Background layers ---- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 37, 0, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-primary) 0%, rgba(14, 14, 14, 0.4) 50%, var(--color-bg-primary) 100%);
  z-index: 1;
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

/* ---- Hero with background image ---- */
.hero--image {
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--image::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 37, 0, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.85) 0%, rgba(14, 14, 14, 0.5) 40%, rgba(14, 14, 14, 0.85) 100%);
}

/* ---- Home hero — taller, more dramatic ---- */
.hero--home {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero--home .hero-content {
  max-width: 900px;
}

/* ---- Hero Typography ---- */
.hero__label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  padding: var(--space-2xs) var(--space-lg);
  border: 1px solid var(--color-gold-dim);
  border-radius: var(--radius-full);
  opacity: 0.9;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-wide);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__title--gold {
  color: var(--color-gold);
}

.hero__title span.text-gold {
  color: var(--color-gold);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-inline: auto;
}

/* Page-level hero (smaller for inner pages) */
.hero--page {
  min-height: 40vh;
}

.hero--page .hero__title {
  font-size: var(--text-3xl);
}

/* ---- Hero CTA buttons ---- */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ---- Scroll indicator ---- */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--color-gold-dim), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Decorative elements ---- */
.hero-deco-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
  z-index: 3;
}

/* Gold corner ornaments */
.hero-ornament {
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: var(--color-gold-dim);
  z-index: 3;
  opacity: 0.3;
}

.hero-ornament--tl {
  top: var(--space-2xl);
  left: var(--space-2xl);
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-ornament--tr {
  top: var(--space-2xl);
  right: var(--space-2xl);
  border-top: 1px solid;
  border-right: 1px solid;
}

.hero-ornament--bl {
  bottom: var(--space-2xl);
  left: var(--space-2xl);
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.hero-ornament--br {
  bottom: var(--space-2xl);
  right: var(--space-2xl);
  border-bottom: 1px solid;
  border-right: 1px solid;
}

@media (max-width: 767px) {
  .hero-ornament { display: none; }
}
