/* 12th St Driving Range - shared stylesheet (tokens + chrome). Owned by orchestrator. */

:root {
  --green: #2e7d32;
  --green-dark: #256428;
  --green-darker: #1e5121;
  --green-accent: #3e8e41;
  --band-light: #dce7d6;
  --band-lighter: #e6efe1;
  --footer-green: #2f7d33;
  --footer-bottom: #d9e6d3;
  --ink: #1a1a1a;
  --near-black: #212121;
  --body-text: #4a4a4a;
  --muted: #6a6a6a;
  --white: #ffffff;
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.2) blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.05;
  color: var(--ink);
}
.brand span { display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 42px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--near-black);
  font-size: 1.02rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--green);
  border-bottom-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 125, 50, 0.28); }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: #f2f2f2; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn .arrow { font-weight: 700; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-accent);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--green-accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); margin: 0 0 0.5em; }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
}
.section-title .accent { color: var(--green-accent); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  color: #eaf3e8;
  background: var(--footer-green);
  overflow: hidden;
}
.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.88), rgba(30, 81, 33, 0.94));
  z-index: 1;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 48px;
  padding: 64px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-inner h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.footer-inner p { color: #e0ece0; font-size: 0.95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: #e0ece0; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact .fc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.footer-contact .fc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-contact .fc-label { color: #fff; font-weight: 700; display: block; }
.footer-contact .fc-row a,
.footer-contact .fc-row span { color: #e0ece0; }
.footer-hours { font-size: 0.92rem; color: #e0ece0; }
.footer-hours strong { color: #fff; display: block; margin-bottom: 8px; }
.footer-hours p { margin: 0 0 10px; }
.footer-hours em { font-style: italic; }

.footer-bottom {
  position: relative;
  z-index: 2;
  background: var(--footer-bottom);
  color: #3a4a3a;
  text-align: center;
  padding: 18px 24px;
  font-size: 0.9rem;
}

/* ---------- Shared entrance animation (always ends visible) ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 24px 20px;
    box-shadow: var(--card-shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; order: 3; }
  .header-inner { flex-wrap: wrap; }
  .nav-cta { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* page:index */
.hero {
  position: relative;
  min-height: min(805px, 90vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 40px 24px;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}
.hero p {
  color: var(--near-black);
  font-size: 1.08rem;
  margin: 0 0 26px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

section { padding: 84px 0; }
.band-light { background: var(--band-light); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-left img { border-radius: var(--radius); box-shadow: var(--card-shadow); width: 100%; height: auto; }
.about-left .section-title { margin-bottom: 24px; }
.about-right img { border-radius: var(--radius); box-shadow: var(--card-shadow); width: 100%; height: auto; margin-bottom: 24px; }
.about-right h5 { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.about-right p { margin-bottom: 24px; }

/* Services */
.services-head { text-align: center; margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.service-card .sc-photo { width: 100%; height: 210px; object-fit: cover; }
.service-card .sc-body { padding: 22px 18px 26px; text-align: center; }
.service-card .sc-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -50px auto 16px;
  background: #fff;
  position: relative;
}
.service-card .sc-icon img { width: 30px; height: 30px; }
.service-card h6 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0; }

/* Why choose us */
.why-head { text-align: center; margin-bottom: 48px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: linear-gradient(180deg, #4a9d4e 0%, var(--green) 55%, var(--green-dark) 100%);
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  text-align: center;
  color: #eaf3e8;
  box-shadow: var(--card-shadow);
}
.why-card .why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.why-card .why-icon img { width: 32px; height: 32px; }
.why-card h6 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: #e2efe2; font-size: 0.92rem; margin: 0; }

/* Gallery */
.gallery-head { text-align: center; margin-bottom: 44px; }
.gallery-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.gallery-row img {
  height: 300px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  scroll-snap-align: start;
  box-shadow: var(--card-shadow);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form .form-intro { color: var(--green-accent); font-weight: 600; margin-bottom: 24px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-family: var(--font-head); }
.contact-form .field { margin-bottom: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdccb;
  background: #eef4ec;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); background: #fff; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .submit-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form .submit-btn:hover { background: var(--green-dark); }
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }

.contact-info h2 { margin-bottom: 18px; }
.contact-info .ci-lead { margin-bottom: 28px; }
.contact-info .ci-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .ci-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info .ci-label { font-weight: 700; color: var(--ink); display: block; }
.contact-info .ci-row a { color: var(--body-text); }
.contact-info .ci-row a:hover { color: var(--green); }

/* Events strip */
.events-strip { background: var(--band-light); padding: 60px 0; }
.events-strip h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 18px; }
.events-strip h2 .accent { color: var(--green-accent); font-style: italic; }
.events-strip ul { margin: 0; padding-left: 20px; }
.events-strip li { color: var(--body-text); margin-bottom: 8px; }
.events-strip a.events-more { color: var(--green-accent); font-weight: 600; }

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: min(620px, 80vh); }
}
@media (max-width: 560px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .hero { min-height: min(480px, 78vh); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

/* page:events */
.events-empty {
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
}
.events-empty h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
