/* Full-viewport hero (Home page) */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-turf-dark);
}

/* SVG turf grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(45,138,82,0.06) 6px,
    rgba(45,138,82,0.06) 7px
  );
  pointer-events: none;
  z-index: 1;
}

/* Right photo panel */
.hero__photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background-color: #163b21;
  background-image: url('../images/hero-range.jpg');
  background-size: cover;
  background-position: center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-turf-dark) 0%, transparent 40%);
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: var(--space-16) 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-hero);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-mist);
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hours badge */
.hero__badge {
  position: absolute;
  bottom: var(--space-8);
  left: var(--container-padding);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-flag-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* Page-strip hero (Lessons, Contact pages) */
.hero-strip {
  background-color: var(--color-turf-dark);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(45,138,82,0.06) 6px,
    rgba(45,138,82,0.06) 7px
  );
  pointer-events: none;
}

.hero-strip__content {
  position: relative;
  z-index: 1;
}

.hero-strip__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--color-gold);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.hero-strip__sub {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
}

/* Mobile hero adjustments */
@media (max-width: 899px) {
  .hero__photo {
    display: none;
  }

  .hero {
    min-height: 75vh;
  }

  .hero::before {
    background-image: repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(45,138,82,0.09) 6px,
      rgba(45,138,82,0.09) 7px
    );
  }
}

@media (max-width: 639px) {
  .hero__ctas {
    flex-direction: column;
  }

  .hero__badge {
    font-size: 0.75rem;
  }
}
