/* ==========================================================================
   Golf Within Reach — Continuous Shot Hero Styling
   Interactive scroll-driven golf swing and ball flight hero section.
   ========================================================================== */

:root {
  --sky-dawn: #FBF8F1;
  --sky-midday: #E8F0EA;
  --sky-golden: #F7EFE2;
  --fairway-green: #1F4D36;
  --green-putting: #1B432E;
  --cup-color: #0E1A14;
}

/* Page-Wide Dynamic Atmospheric Background */
body {
  background-color: var(--sky-dawn);
  transition: background-color 0.4s ease;
}

/* Master Container for the Continuous Shot Hero */
.hero-shot-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 76px);
  min-height: 560px;
  max-height: 840px;
  background-color: transparent !important;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Transparent Sections allowing dynamic atmosphere to flow continuously */
.statement-banner {
  background-color: transparent !important;
}

.newsletter-section {
  background-color: transparent !important;
}

/* Twilight Footer Integration at the bottom of the page */
.site-footer {
  background-color: rgba(10, 30, 20, 0.45) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.site-footer .brand-name {
  color: #FFFFFF !important;
}

.site-footer .brand-badge {
  background-color: var(--color-gold) !important;
  color: var(--color-forest) !important;
}

.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.site-footer .footer-nav a:hover {
  color: var(--color-gold) !important;
}

/* Master Unified SVG Canvas */
.hero-shot-container .stage-master-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.hero-shot-container .stage-master-svg * {
  transform-box: view-box;
}

/* Trajectory Arc Lines */
.hero-shot-container .flight-path-line {
  fill: none;
  stroke: rgba(213, 172, 88, 0.55);
  stroke-width: 3.5;
  stroke-dasharray: 8 10;
  stroke-linecap: round;
}

.hero-shot-container .flight-path-glow {
  fill: none;
  stroke: rgba(213, 172, 88, 0.28);
  stroke-width: 14;
  stroke-linecap: round;
  filter: blur(5px);
}

/* Floating Editorial Hero Card Layer */
.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  padding-top: 36px;
}

.opening-hero-content {
  pointer-events: auto;
  max-width: 520px;
  padding: 36px 40px;
  margin-left: auto;
  margin-right: clamp(16px, 3.5vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(16, 53, 37, 0.08);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.opening-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.opening-hero-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 0;
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  .hero-shot-container {
    height: auto;
    min-height: 520px;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-shot-container {
    height: auto;
    min-height: 560px;
  }

  .hero-content-layer {
    position: relative;
    padding: 20px 16px 0;
  }

  .opening-hero-content {
    margin: 0 auto;
    max-width: 100%;
    padding: 22px 20px;
    border-radius: var(--radius-md);
  }

  .opening-hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .opening-hero-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
