/* styles.css — clean, white, professional */

/* Avenir-ish stack (Avenir is native on Apple; others fall back cleanly) */
:root{
  --font-body: "Avenir", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Colours */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e5e7eb;

  /* Brand accent (golf green) */
  --accent: #A53833;          /* RGB(165,56,51) */
  --accent-dark: #7F2B27;     /* darker hover */
  --accent-soft: #FBE8E7;     /* light tint background */

  /* Layout + effects */
  --container: 1120px;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);

  /* Type scale */
  --h1: clamp(36px, 4vw, 54px);
  --h2: clamp(24px, 2.4vw, 32px);
  --h3: 16px;
  --body: 16px;
  --lead: 18px;
  --small: 13px;

  /* Spacing */
  --s1: 6px;
  --s2: 10px;
  --s3: 14px;
  --s4: 18px;
  --s5: 24px;
  --s6: 34px;
  --s7: 52px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--s5);
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}

.logo-slot{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.logo-slot img{
  max-width: 78%;
  max-height: 78%;
}

.brand-name{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
}

.brand-tag{
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 8px;
}

.nav a{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
}

.nav a:hover{
  background: #f2f4f7;
  text-decoration:none;
  color: var(--text);
}

/* Buttons */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 18px rgba(14,122,75,.16);
}

.button:hover{
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration:none;
}

.button.secondary{
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.button.secondary:hover{
  background: var(--accent-soft);
  text-decoration:none;
}

.button.small{
  padding: 10px 14px;
  font-size: 13px;
}

/* Hero */
.hero{
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(14,122,75,.10), transparent 65%),
    radial-gradient(700px 320px at 75% 10%, rgba(14,122,75,.07), transparent 65%);
}

.hero-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: var(--s7) 0 calc(var(--s7) - 10px);
  align-items: start;
}

.opener{
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(165,56,51,.10), transparent 65%),
    radial-gradient(700px 320px at 75% 10%, rgba(165,56,51,.07), transparent 65%);
  border-bottom: 1px solid var(--border);
}

.opener-inner{
  text-align: center;
  padding: 64px 0 48px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.opener-logo{
  width: 240px;
  height: 240px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 6px;
}

.opener-logo img{
  max-width: 80%;
  max-height: 80%;
}

.opener-title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
}

.opener-sub{
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 70ch;
}

.opener-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.scroll-cue{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  text-decoration: none;
  color: var(--muted);
}

.scroll-cue:hover{
  background: #fff;
  text-decoration: none;
}

.scroll-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(165,56,51,.12);
}

.scroll-text{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Optional: make hero feel “below the fold” and calmer now */
.hero-inner{
  padding: 40px 0 36px;
}

.eyebrow{
  margin: 0 0 var(--s2);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
}

h1{
  margin: 0 0 var(--s3);
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: var(--h1);
  line-height: 1.05;
}

.lead{
  margin: 0 0 var(--s4);
  font-size: var(--lead);
  color: var(--muted);
  max-width: 62ch;
}

.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: var(--s4) 0 var(--s4);
}

.hero-points{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}

.point{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.dot{
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.point-title{
  font-family: var(--font-head);
  font-weight: 900;
  margin-bottom: 2px;
}

.point-sub{
  color: var(--muted-2);
  font-size: 14px;
}

.hero-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef2f7;
}

.card-row span{ color: var(--muted-2); font-size: 14px; }
.card-row strong{ font-family: var(--font-head); font-weight: 900; }

.divider{
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.small{
  margin: 0;
  font-size: var(--small);
  color: var(--muted-2);
}

/* Sections */
.section{
  padding: 56px 0;
}

.section.alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: var(--s5);
  margin-bottom: var(--s4);
}

h2{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: var(--h2);
}

.section-sub{
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
  max-width: 70ch;
}

/* Layout grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

/* Cards */
.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  padding: 18px;
}

h3{
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--h3);
}

.card p{
  margin: 0;
  color: var(--muted);
}

.callout{
  margin-top: 16px;
  padding: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(14,122,75,.22);
  border-radius: var(--radius);
}

.callout-title{
  font-family: var(--font-head);
  font-weight: 950;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.callout-text{
  margin: 0;
  color: var(--text);
}

/* Reviews list */
.reviews-list{
  display:grid;
  gap: 12px;
  margin-top: 12px;
}

.review{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #fff;
}

.review-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.review-name{
  font-family: var(--font-head);
  font-weight: 900;
}

.review-meta{
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 1px;
}

.stars{
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 900;
}

.review-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Star rating input */
.rating{
  display:inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  user-select:none;
  margin-top: 6px;
}

.rating input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.rating label{
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  color:#cbd5e1;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label{
  color: var(--accent);
}

/* Courses */
.courses{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.course{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
}

.note{
  margin-top: 12px;
  color: var(--muted-2);
  font-size: var(--small);
}

/* Forms */
.form label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

input, textarea{
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

input:focus, textarea:focus{
  border-color: rgba(14,122,75,.55);
  box-shadow: 0 0 0 4px rgba(14,122,75,.10);
}

.form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Contact lines */
.contact-line{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef2f7;
}

.contact-line .label{
  color: var(--muted-2);
  font-size: 13px;
}

.contact-line .value{
  font-family: var(--font-head);
  font-weight: 900;
  text-decoration:none;
}

.contact-line .value:hover{ text-decoration: underline; }

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 22px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:center;
}

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; padding: 44px 0 40px; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .courses{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .opener-inner{ padding: 54px 0 40px; }
  .opener-logo{ width: 104px; height: 104px; border-radius: 22px; }
}

@media (max-width: 720px){
  .nav{ display:none; } /* keep it simple on mobile for now */
}