/* ============================================================
   GoGolf MT — Shared Stylesheet
   Track: Clean & Professional
   Fonts: Outfit (headings) + Inter (body)
   Signature: Green underline accent on key headline word
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* === CUSTOM PROPERTIES === */
:root {
  --color-primary:       #000000;
  --color-primary-dark:  #222222;
  --color-primary-light: #F0F0F0;
  --color-accent:        #3CAB3C;
  --color-accent-dark:   #2E8E2E;
  --color-accent-light:  #EBF7EB;

  --color-text:              #1A202C;
  --color-text-muted:        #4A5568;
  --color-bg:                #FFFFFF;
  --color-surface:           #F7FAFC;
  --color-border:            #E2E8F0;
  --color-footer-bg:         #000000;
  --color-footer-text:       #E2E8F0;
  --color-footer-text-muted: #718096;

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);

  --transition:      0.2s ease;
  --transition-slow: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* === VISUALLY HIDDEN === */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === CONTAINERS === */
.container        { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 100%; max-width: 760px;  margin: 0 auto; padding: 0 1.5rem; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { max-width: 68ch; }

/* Signature detail: green underline on key word */
.accent-u {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.section-eyebrow, .hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; }

.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-white { background: #fff; color: var(--color-text); border-color: #fff; }
.btn-white:hover { background: #f0f0f0; border-color: #f0f0f0; transform: translateY(-1px); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline-dark { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline-dark:hover { border-color: var(--color-text); background: var(--color-surface); }

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--color-accent); }
.nav-cta { margin-left: 1.25rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000;
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 0.875rem; align-self: flex-start; }

/* === HERO === */
.hero {
  background: #000;
  color: #fff;
  padding: var(--space-8) 0 var(--space-7);
  margin-top: 68px;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-split h1 { color: #fff; margin-bottom: var(--space-3); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-4);
  max-width: 46ch;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; align-items: center; }
.hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Inner page hero */
.page-hero {
  background: #000;
  color: #fff;
  padding: var(--space-7) 0 var(--space-6);
  margin-top: 68px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-2); }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin: 0 auto;
  max-width: 52ch;
  line-height: 1.7;
}

/* === TRUST BAR === */
.trust-bar { background: var(--color-accent); padding: 0.875rem 0; }
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-item i { font-size: 0.8rem; }
.trust-divider { color: rgba(255,255,255,0.35); font-size: 0.7rem; }

/* === SECTIONS === */
.section    { padding: var(--space-7) 0; }
.section-sm { padding: var(--space-5) 0; }
.section-surface { background: var(--color-surface); }
.section-dark    { background: #000; color: #fff; }

.section-header { margin-bottom: var(--space-5); }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0.75rem auto 0; }
.section-header p       { margin-top: 0.75rem; color: var(--color-text-muted); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }
.section-dark h2 { color: #fff; }

/* === CARDS: EVENT TYPES === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  color: var(--color-accent);
  font-size: 1.2rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card p  { color: var(--color-text-muted); font-size: 0.93rem; margin: 0; }

/* === STEPS: HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  position: relative;
  z-index: 2;
}
.step h4 { font-size: 1rem; margin-bottom: 0.4rem; font-family: var(--font-heading); font-weight: 700; }
.step p  { color: var(--color-text-muted); font-size: 0.9rem; max-width: 22ch; margin: 0 auto; text-align: center; }

/* Steps: expanded version (How It Works page) */
.steps-list { display: flex; flex-direction: column; gap: var(--space-5); max-width: 720px; margin: 0 auto; }
.step-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-4);
  align-items: flex-start;
}
.step-row-num {
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-row-content h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.step-row-content p  { color: var(--color-text-muted); margin: 0; font-size: 1rem; line-height: 1.7; }

/* === ABOUT SPLIT === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.about-split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 440px;
}
.about-split-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: var(--space-3); }
.about-text p:last-of-type { margin-bottom: var(--space-4); }

/* === PRICING === */
.pricing-wrap { max-width: 540px; margin: 0 auto; }
.pricing-card {
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
}
.pricing-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-label { color: var(--color-text-muted); font-size: 0.97rem; }
.pricing-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}
.pricing-value.green { color: var(--color-accent); font-size: 1.15rem; }
.pricing-note {
  text-align: center;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials-placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  text-align: center;
}
.testimonials-placeholder i { font-size: 2rem; color: var(--color-border); margin-bottom: var(--space-2); display: block; }
.testimonials-placeholder p { color: var(--color-text-muted); font-style: italic; margin: 0 auto; font-size: 0.97rem; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
details { border-bottom: 1px solid var(--color-border); }
details:first-child { border-top: 1px solid var(--color-border); }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  transition: color var(--transition);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
}
details[open] > summary::after { transform: rotate(45deg); }
details[open] > summary { color: var(--color-accent); }
.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: none;
}

/* === CTA BAND === */
.cta-band {
  background: var(--color-accent);
  padding: var(--space-6) 0;
  text-align: center;
  color: #fff;
}
.cta-band h2         { color: #fff; margin-bottom: var(--space-2); }
.cta-band p          { color: rgba(255,255,255,0.85); margin: 0 auto var(--space-4); max-width: 52ch; font-size: 1.05rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); }
.cta-band .cta-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

.cta-band-dark {
  background: #000;
  padding: var(--space-6) 0;
  text-align: center;
  color: #fff;
}
.cta-band-dark h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band-dark p  { color: rgba(255,255,255,0.65); margin: 0 auto var(--space-4); max-width: 52ch; }
.cta-band-dark .cta-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* === CONTACT FORM === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-6);
  align-items: start;
}
.form-group { margin-bottom: var(--space-3); }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.97rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(60,171,60,0.12);
}
textarea { resize: vertical; min-height: 110px; }

.contact-info-panel { padding-top: 0.25rem; }
.contact-info-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}
.contact-info-item i {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
}
.contact-info-item strong { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-item p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* === FOOTER === */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--space-6) 0 var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img    { height: 28px; margin-bottom: var(--space-3); }
.footer-brand p      { color: var(--color-footer-text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 36ch; margin: 0; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-2);
}
.footer-col ul li          { margin-bottom: 0.55rem; }
.footer-col ul li a        { color: var(--color-footer-text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover  { color: #fff; }
.footer-col p              { color: var(--color-footer-text-muted); font-size: 0.88rem; line-height: 1.8; margin: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p   { color: rgba(255,255,255,0.25); font-size: 0.8rem; margin: 0; }
.footer-bottom a   { color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-img   { order: -1; max-height: 300px; aspect-ratio: 16/9; }
  .about-split { grid-template-columns: 1fr; }
  .about-split-img { height: 280px; }
  .steps-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .cards-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .trust-bar-inner { gap: 0.625rem; }
  .trust-divider   { display: none; }
  .cta-band .cta-actions { flex-direction: column; align-items: center; }
}
