/* Lynn Blake Golf — Premium Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #1a1a1a;
  --charcoal: #2d2d2d;
  --dark: #3a3a3a;
  --gray: #888;
  --gray-light: #c8c8c8;
  --cream: #f5f3ef;
  --white: #fff;
  --gold: #c09a05;
  --gold-light: #dab006;
  --green-accent: #4a7c15;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.4s ease;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease;
}
.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 40px;
  width: auto;
  transition: height 0.4s ease, opacity 0.3s;
}
.site-logo:hover img { opacity: 0.85; }

/* Expanded header on homepage (before scroll) */
body.home .site-header:not(.scrolled) .header-inner {
  padding: 1.8rem 2rem;
}
body.home .site-header:not(.scrolled) .site-logo img {
  height: 64px;
}
body.home .site-header:not(.scrolled) {
  background: rgba(26,26,26,0.7);
}
/* Compact header (after scroll, or on sub-pages) */
.site-header.scrolled .header-inner {
  padding: 0.8rem 2rem;
}
.site-header.scrolled .site-logo img {
  height: 36px;
}

.site-nav { display: flex; gap: 2.2rem; align-items: center; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--white); }

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-hq.jpg') center/cover;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}
.hero .tagline {
  font-size: 1.1rem;
  color: var(--gray-light);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== CREDENTIALS BAR ===== */
.credentials {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 2rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}
.credentials span {
  margin: 0 1.5rem;
  color: var(--gold);
  opacity: 0.5;
}

/* ===== SECTIONS ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-dark { background: var(--black); color: var(--white); }
.section-cream { background: var(--cream); }
.section-dark .section { padding: 6rem 2rem; }
.section-cream .section { padding: 6rem 2rem; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3.5rem;
  font-weight: 300;
  font-size: 1.05rem;
}
.section-dark .section-subtitle { color: var(--gray-light); }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--cream);
  transition: all 0.3s;
}
.card:hover { border-color: var(--gold); }
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.card .btn { font-size: 0.7rem; padding: 0.7rem 1.8rem; }

/* ===== FEATURED VIDEO ===== */
.featured-video {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--black);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.video-text p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.video-text a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ===== HIGHLIGHTS ===== */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.highlight {
  padding: 2rem 2.5rem;
  border-left: 2px solid var(--gold);
}
.section-dark .highlight { border-left-color: var(--gold); }
.highlight h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.section-dark .highlight h4 { color: var(--white); }
.highlight p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}
.section-dark .highlight p { color: var(--gray-light); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.testimonial {
  text-align: center;
  padding: 2.5rem 2rem;
}
.testimonial .quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.testimonial .attribution {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--gray);
  padding: 5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-cta {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cta h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.footer-cta p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.footer-contact {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 300;
}
.footer-contact a { color: var(--gold); }
.footer-nav { margin-bottom: 2rem; }
.footer-nav a {
  color: var(--gray);
  margin: 0 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ===== DIVIDER ===== */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* ===== PAGE LAYOUT (inner pages) ===== */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 8rem 2rem 4rem;
  text-align: center;
}
.page-header .section-eyebrow { margin-bottom: 1rem; }
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.page-content p { margin-bottom: 1.3rem; font-weight: 300; }
.page-content ul, .page-content ol { margin: 1rem 0 1.3rem 1.5rem; }
.page-content li { margin-bottom: 0.5rem; font-weight: 300; }
.page-content em { color: var(--dark); }
.page-content strong { font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .featured-video { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.6rem; }
  .hero { min-height: 80vh; }
  .section { padding: 4rem 1.5rem; }
  .section-title { font-size: 2rem; }
  .credentials span { display: none; }
  .credentials { padding: 0.8rem 1rem; font-size: 0.65rem; letter-spacing: 2px; }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }
  .site-nav.active { display: flex; }
  .nav-toggle { display: block; }

  /* Tone down the expanded header on mobile */
  body.home .site-header:not(.scrolled) .site-logo img {
    height: 48px;
  }
  body.home .site-header:not(.scrolled) .header-inner {
    padding: 1.4rem 1.5rem;
  }
}
