/* ================================================
   BoatLift-Finder.com — Main Styles
   Brand: Signal Loom AI
   Palette: Navy #0D1B2A / Gold #C4961D / Steel Blue #4E83C5
   Fonts: Playfair Display (headings) + Inter (body)
   ================================================ */

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

:root {
  --navy:       #0D1B2A;
  --navy-2:     #162840;
  --navy-3:     #1E3A5F;
  --gold:       #C4961D;
  --gold-light: #F0D080;
  --steel:      #4E83C5;
  --steel-light:#7BA8E0;
  --teal:       #4D8375;
  --white:      #FFFFFF;
  --off-white:  #F5F0E8;
  --text-dim:   #8892A0;
  --border:     #243B53;
  --green:      #00C896;
  --red:        #E05050;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Navigation ── */
nav {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 48px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin-bottom: 16px;
  color: var(--white);
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ── Search Box ── */
.search-wrap {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.search-box {
  width: 100%;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 16px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--gold-light); }

/* Search autocomplete dropdown */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 200;
}
.search-dropdown.active { display: block; }
.search-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: background 0.15s;
}
.search-dropdown a:last-child { border-bottom: none; }
.search-dropdown a:hover { background: var(--navy-3); }
.search-dropdown .lake-name { font-weight: 600; }
.search-dropdown .lake-region { color: var(--text-dim); font-size: 12px; }

/* ── Sections ── */
.section {
  padding: 64px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-dark { background: var(--navy-2); }

.section h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.section .subhead {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 40px;
}

/* ── Lake Grid ── */
.lake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.lake-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.lake-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.lake-card .lake-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.lake-card .lake-state {
  color: var(--text-dim);
  font-size: 13px;
}
.lake-card .dealer-count {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

/* ── Featured Lake Card ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.featured-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s;
  display: block;
}
.featured-card:hover { border-color: var(--gold); }
.featured-card .card-hero {
  height: 120px;
  background: linear-gradient(135deg, var(--navy-3), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.featured-card .card-body { padding: 20px; }
.featured-card .lake-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.featured-card .lake-region { color: var(--text-dim); font-size: 13px; margin-bottom: 12px; }
.featured-card .dealer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.featured-card .dealer-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.featured-card .blue-check {
  color: var(--steel);
  font-size: 16px;
}

/* ── Dealer List ── */
.dealer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dealer-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s;
}
.dealer-card:hover { border-color: var(--steel); }
.dealer-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--navy-2), rgba(196,150,29,0.08));
}
.dealer-card .featured-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.dealer-info { flex: 1; }
.dealer-info .dealer-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dealer-info .dealer-meta { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.dealer-info .dealer-meta span { margin-right: 12px; }
.dealer-info .brands { display: flex; gap: 6px; flex-wrap: wrap; }
.dealer-info .brand-tag {
  background: var(--navy-3);
  color: var(--steel-light);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}
.dealer-contact { text-align: right; }
.dealer-contact .phone { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.dealer-contact a {
  display: block;
  color: var(--steel);
  font-size: 13px;
  text-decoration: none;
}
.dealer-contact a:hover { text-decoration: underline; }

/* ── For Dealers CTA ── */
.dealer-cta-section {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.dealer-cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.dealer-cta-section p { color: var(--text-dim); margin-bottom: 32px; font-size: 15px; }
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }

/* ── Footer ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
footer a { color: var(--steel); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Page Header ── */
.page-header {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.page-header h1 span { color: var(--gold); }
.page-header .lead {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Tabs ── */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  background: var(--navy);
  overflow-x: auto;
}
.tab {
  padding: 14px 20px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab:hover { color: var(--white); }
.tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Lake Page ── */
.lake-hero {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  padding: 64px 24px;
  text-align: center;
}
.lake-hero h1 { font-size: 40px; margin-bottom: 8px; }
.lake-hero .lake-meta { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.lake-hero .lake-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}
.lake-hero .stat { text-align: center; }
.lake-hero .stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.lake-hero .stat .label { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ── FAQ Schema ── */
.faq-section { padding: 48px 24px; max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.faq-item p { color: var(--text-dim); font-size: 14px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 60px 16px 40px; }
  .section { padding: 48px 16px; }
  .lake-hero { padding: 40px 16px; }
  .dealer-cta-section { padding: 32px 20px; }
  .featured-grid { grid-template-columns: 1fr; }
  .lake-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}