/* ==========================================================================
   Golf with Chloe — global stylesheet
   ========================================================================== */

:root {
  --green-dark: #1f3d24;
  --green: #3f7d3f;
  --green-mid: #4f8b4a;
  --green-light: #eef4ea;
  --black: #181818;
  --white: #ffffff;
  --cream: #faf9f5;
  --gray: #5a5f56;
  --gray-light: #d8ddd3;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(24, 24, 24, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--gray); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--green);
  margin-bottom: 0.75em;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }
.section--alt { background: var(--green-light); }
.section--dark { background: var(--green-dark); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #d7e3d4; }

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-dark); box-shadow: var(--shadow); }

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

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover { background: var(--green-dark); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 54px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li { position: relative; }

.nav-links a.nav-link {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a.nav-link:hover,
.nav-links a.nav-link.active { background: var(--green-light); color: var(--green-dark); }

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
}
.dropdown a:hover { background: var(--green-light); color: var(--green-dark); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    height: calc(100vh - 78px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a.nav-link { padding: 14px 12px; font-size: 1.05rem; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 12px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 30, 17, 0.82) 0%, rgba(15, 30, 17, 0.55) 45%, rgba(15, 30, 17, 0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.15rem; color: #e7efe3; max-width: 520px; }

.page-hero {
  position: relative;
  padding: 160px 0 72px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 30, 17, 0.88), rgba(15, 30, 17, 0.6));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: #e7efe3; font-size: 1.1rem; max-width: 620px; margin: 0; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link { color: var(--green); font-weight: 700; font-size: 0.9rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-grid img:hover { opacity: 0.92; }
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid img { height: 180px; }
}

/* Pricing */
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--green-dark);
  margin: 10px 0;
}
.price-card .price span { font-size: 1rem; color: var(--gray); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.price-card li { padding: 6px 0 6px 26px; position: relative; color: var(--gray); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Split section (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split.reverse .split-media { order: 0; }
}

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--black);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--green);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7e3d4; max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}
.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h3 { margin-bottom: 4px; }
.contact-item a { color: var(--green); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--black);
  color: #cfd6cb;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .logo-chip {
  display: inline-block;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
}
.footer-brand .logo-chip img { height: 46px; display: block; }
.footer-brand p { color: #9aa596; max-width: 320px; }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd6cb;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-links a:hover { background: var(--green); color: var(--white); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.social-links--light { margin-top: 6px; }
.social-links--light a { background: var(--green-light); color: var(--green-dark); }
.social-links--light a:hover { background: var(--green); color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8a9186;
}

/* Breadcrumb-ish page tag */
.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
