/* LOZDock.com — Lake of the Ozarks Dock Repair Directory */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f4f8;
  color: #1a2e44;
}

/* Header */
header {
  background: linear-gradient(135deg, #0d2b4e 0%, #1565a0 100%);
  color: white;
  padding: 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.logo-text h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 0.85rem;
  opacity: 0.75;
  font-weight: 400;
}

.header-tagline {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* Search bar */
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-bar input, .search-bar select {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  flex: 1;
  min-width: 180px;
}

.search-bar button {
  background: #f4a020;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}

.search-bar button:hover { background: #e09010; }

/* Stats bar */
.stats-bar {
  background: white;
  border-bottom: 1px solid #dde3ec;
  padding: 12px 20px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.88rem;
  color: #555;
}

.stats-inner strong { color: #1a2e44; }

/* Main layout */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Filter chips */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #c5d0e0;
  background: white;
  font-size: 0.83rem;
  cursor: pointer;
  color: #445;
  transition: all 0.15s;
}

.chip.active, .chip:hover {
  background: #1565a0;
  border-color: #1565a0;
  color: white;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

/* Card */
.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid #e4eaf2;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2e44;
  line-height: 1.3;
}

.badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  background: #e8f0fb;
  color: #1565a0;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 8px;
}

.card-category {
  font-size: 0.8rem;
  color: #778;
  margin-bottom: 10px;
}

.stars {
  color: #f4a020;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.stars span { color: #556; margin-left: 4px; }

.card-address {
  font-size: 0.83rem;
  color: #556;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-address svg { vertical-align: middle; margin-right: 4px; }

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #1565a0;
  color: white;
}

.btn-primary:hover { background: #0d4f87; }

.btn-outline {
  background: white;
  color: #1565a0;
  border: 1.5px solid #1565a0;
}

.btn-outline:hover { background: #e8f0fb; }

.btn-map {
  background: #f0f4f8;
  color: #445;
  border: 1.5px solid #dde3ec;
}

/* No results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #778;
  grid-column: 1/-1;
}

/* Submit CTA */
.cta-bar {
  background: linear-gradient(135deg, #0d2b4e, #1565a0);
  color: white;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-bar h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cta-bar p { opacity: 0.8; font-size: 0.88rem; }

.btn-cta {
  background: #f4a020;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 20px;
  color: #889;
  font-size: 0.82rem;
  margin-top: 20px;
  border-top: 1px solid #dde3ec;
}

footer a { color: #1565a0; text-decoration: none; }

@media (max-width: 600px) {
  .logo-text h1 { font-size: 1.4rem; }
  .cta-bar { flex-direction: column; }
  .stats-inner { flex-wrap: wrap; gap: 12px; }
}
