:root {
  --green: #2bff00;
  --dark: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui;
  color: var(--dark);
  background: #fff;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 82px;
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: #111;
  font-size: 0.9rem;
}

.nav-actions .btn-nav {
  background: var(--green);
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}
/* ================= GLOBAL SECTION HEADINGS ================= */

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.section-title.light {
  color: #ffffff;
}

.section-subtitle {
  font-family: "Inter", system-ui;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-subtitle.light {
  color: rgba(255,255,255,0.85);
}

/* HERO */

/* ================= HERO VIDEO ================= */

.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark cinematic overlay */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.75)
    );
  z-index: 1;
}

/* Content stays above video */
.hero-content,
.owner-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 820px;
  padding: 0 1.5rem;
}

/* ================= MENU THEME (VIDEO MATCH) ================= */

/* Default: transparent on hero */
.site-header {
  background: transparent;
}

/* Scrolled menu */
.site-header.scrolled {
  background: rgba(10, 15, 20, 0.85);
  backdrop-filter: blur(10px);
}

/* Menu text color on video */
.site-header .nav-links a,
.site-header .nav-actions a {
  color: #ffffff;
}

/* Scrolled menu text */
.site-header.scrolled .nav-links a,
.site-header.scrolled .nav-actions a {
  color: #ffffff;
}

/* Active link */
.nav-links a.active {
  color: var(--green);
}

/* CTA button stays visible */
.btn-nav {
  background: var(--green);
  color: #000;
}

.hero {
  height: 100vh;
  background:
    linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.25), rgba(0,0,0,0.75)),
    url("images/hero/top-view-turf.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 820px;
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--green);
}

.hero-content p {
  margin: 1.5rem auto 2rem;
  max-width: 620px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* BUTTONS */
.btn-primary {
  background: var(--green);
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline,
.btn-outline-dark {
  border: 2px solid var(--green);
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline { color: var(--green); }
.btn-outline-dark { color: #000; }

/* SECTIONS */
.section {
  max-width: 1120px;
  margin: auto;
  padding: 5rem 1.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header.light h2,
.section-header.light p {
  color: #fff;
}

/* ================= HOW IT WORKS ================= */

.how-it-works {
  padding: 5rem 2rem 4rem;
  background: #fafafa;
  overflow: hidden;
}

.how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.how-header p {
  color: #6b7280;
  font-size: 1rem;
}

/* Scroll wrapper */
.how-scroll-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Track */
.how-scroll-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: howScroll 28s linear infinite;
}

/* Pause on hover */
.how-scroll-wrapper:hover .how-scroll-track {
  animation-play-state: paused;
}

/* CARD — TWO AT A TIME */
.how-card {
  width: calc((100vw - 6rem) / 2);
  max-width: 520px;
  text-align: center;
  flex-shrink: 0;
}

/* Title */
.how-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

/* Description */
.how-card p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.2rem;
}

/* Image */
.how-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.25);
  transition: transform 0.45s ease;
}

.how-card:hover img {
  transform: scale(1.04);
}

/* Endless animation */
@keyframes howScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 900px) {
  .how-card {
    width: 85vw;
    max-width: none;
  }

  .how-card img {
    height: 240px;
  }
}
/* ================= ACTIVE CARD GLOW ================= */

/* Base state */
.how-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Glow on hover */
.how-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(43, 255, 0, 0.12),
    0 0 40px rgba(43, 255, 0, 0.25);
}

/* Image glow refinement */
.how-card:hover img {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(43, 255, 0, 0.35);
}

/* Optional: subtle glow when card is centered (future-ready) */
.how-card.is-active {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.3),
    0 0 45px rgba(43, 255, 0, 0.35);
}

/* RESPONSIVE */
@media(max-width:900px) {
  .how-slide {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* EXPERIENCE */
.grass-bg {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url("images/hero/grass-texture.jpg");
  background-size: cover;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

.experience-card {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 1.5rem;
  text-align: center;
}

.experience-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

/* CTA */
.cta-strip {
  padding: 4rem 1.5rem;
  text-align: center;
  background: #f9fafb;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media(max-width:900px) {
  .how-grid,
  .experience-grid { grid-template-columns: 1fr; }
}

/* ================= BOOKINGS ================= */

.booking-hero {
  padding: 12rem 1.5rem 3rem;
  text-align: center;
  background: #f9fafb;
}

.booking-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
}

.booking-panel {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1.5rem;
}

.booking-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.booking-filters input,
.booking-filters select {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.turf-results {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.turf-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.turf-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.turf-info {
  padding: 1.5rem;
}

.turf-tags span {
  background: #eaffea;
  color: #0f7a2a;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-right: 0.4rem;
}

.trust-strip {
  text-align: center;
  padding: 2rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.9rem;
}

/* Responsive */
@media(max-width:900px) {
  .booking-filters {
    grid-template-columns: 1fr;
  }

  .turf-results {
    grid-template-columns: 1fr;
  }
}

/* ================= FOR TURF OWNERS ================= */

.owner-hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.75)),
    url("images/hero/turf-owner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.owner-hero-content {
  max-width: 820px;
  text-align: center;
  color: #fff;
}

.owner-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.owner-hero h1 span {
  color: var(--green);
}

.owner-hero p {
  margin: 1.5rem auto 2.2rem;
  max-width: 640px;
  opacity: 0.9;
}

/* WHY GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  background: #fff;
  padding: 2rem;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* IMPACT */
.impact-section {
  background: #f9fafb;
  padding: 5rem 1.5rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.impact-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.impact-card.after {
  border: 2px solid rgba(43,255,0,0.35);
  background: linear-gradient(
    rgba(43,255,0,0.08),
    rgba(43,255,0,0.02)
  );
}

.impact-divider {
  font-weight: 800;
  background: var(--green);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
}

/* CTA */
.owner-cta {
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.owner-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

.owner-cta p {
  margin: 1rem auto 2rem;
  max-width: 520px;
  color: var(--muted);
}

/* RESPONSIVE */
@media(max-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-divider {
    display: none;
  }
}

@media(max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
