/* Kurt M Golf – static rebuild (Shapely-inspired, accent #00783d) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #00783d; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: #005a2e; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: #222; margin: 0 0 .6em; }
h1 { font-size: 2.25rem; font-weight: 300; }
h2 { font-size: 1.75rem; font-weight: 300; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header / nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  gap: 1rem;
}
.site-logo img { max-height: 120px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: .45rem .7rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: #333;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1.25rem;
  align-items: center;
}
.main-nav a {
  color: #333;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem 0;
  display: inline-block;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #00783d; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .7em 1.6em;
  min-width: 150px;
  text-align: center;
  border: 2px solid #00783d;
  border-radius: 0;
  background: transparent;
  color: #00783d;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover { background: #00783d; color: #fff; }
.btn-filled { background: #00783d; color: #fff; border-color: #00783d; }
.btn-filled:hover { background: #005a2e; border-color: #005a2e; color: #fff; }
.btn-white { color: #fff; border-color: #fff; background: transparent; }
.btn-white:hover { background: #fff; color: #00783d; }
.btn-lg { min-width: 180px; padding: .85em 1.8em; }

/* Hero / parallax-style sections */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #1a3a28;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.hero-inner { position: relative; z-index: 1; padding: 4rem 1rem; max-width: 800px; }
.hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 300; margin-bottom: .5em; }
.hero p { color: #f5f5f5; font-size: 1.1rem; margin-bottom: 1.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.page-hero {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.page-hero h1 { position: relative; z-index: 1; color: #fff; font-weight: 300; padding: 2rem 1rem; }

/* Content sections */
.section { padding: 4rem 0; }
.section-alt { background: #f7f7f7; }
.section-title { text-align: center; margin-bottom: 2rem; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
.split-media img { width: 100%; object-fit: cover; max-height: 420px; }
.content-block { max-width: 720px; margin: 0 auto; }
.lede { font-size: 1.1rem; color: #555; }

/* Feature cards / packages */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .5em; font-size: 1.1rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

/* Trackman metrics */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}
.metric {
  background: #f7f7f7;
  padding: 1rem .75rem;
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.metric img { margin: 0 auto .6rem; max-height: 64px; width: auto; }
.metric-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee;
}
.metric-detail img { max-width: 80px; margin: 0 auto; }
.metric-detail h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: #00783d; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.gallery a { display: block; overflow: hidden; background: #eee; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }

/* Blog listing */
.post-list { display: flex; flex-direction: column; gap: 2rem; }
.post-teaser {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}
.post-teaser img { width: 100%; height: 140px; object-fit: cover; }
.post-meta { color: #888; font-size: .85rem; margin-bottom: .4em; }
.post-teaser h2 { font-size: 1.35rem; margin-bottom: .4em; }
.post-teaser h2 a { color: #222; }
.post-teaser h2 a:hover { color: #00783d; }

.article { max-width: 760px; margin: 0 auto; padding: 3rem 0 4rem; }
.article .post-meta { margin-bottom: 1.5rem; }
.article h1 { margin-bottom: .35em; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose img { margin: 1.25em 0; }
.prose a { text-decoration: underline; }

/* Contact */
.contact-panel {
  color: #fff;
  background: #1a3a28 center/cover no-repeat;
  position: relative;
  padding: 4rem 0;
}
.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,40,20,.72);
}
.contact-panel .container { position: relative; z-index: 1; }
.contact-panel h2 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info p { margin-bottom: .75em; color: #f0f0f0; }
.contact-info a { color: #fff; text-decoration: underline; }
.contact-form label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; margin-bottom: .35em; color: #eee; }
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1%;
  margin-bottom: .85rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: .85rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: #ddd; margin-top: .5rem; }

/* Partners */
.partners { text-align: center; padding: 3rem 0; }
.partners h2 { margin-bottom: 1.5rem; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}
.partner-logos img { max-height: 100px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(10%); }

/* CTA bar */
.cta-bar {
  background: #00783d;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
}
.cta-bar h2 { color: #fff; margin-bottom: 1rem; font-weight: 400; }
.cta-bar .btn-white { border-color: #fff; color: #fff; }
.cta-bar .btn-white:hover { background: #fff; color: #00783d; }

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 1.75rem 0;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.social { display: flex; gap: .85rem; align-items: center; }
.social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
  border-radius: 50%;
  color: #ddd;
}
.social a:hover { border-color: #00783d; color: #00783d; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-text, .split.reverse .split-media { order: unset; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-teaser { grid-template-columns: 1fr; }
  .post-teaser img { height: 200px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 8px 16px rgba(0,0,0,.06);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .nav-bar { flex-wrap: wrap; position: relative; }
  .site-logo img { max-height: 88px; }
  .hero { min-height: 360px; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .metric-detail { grid-template-columns: 70px 1fr; }
}
