/* ZoomLocalSearch - Clean Search-Focused, Blue/Green, Large Search Bar, Minimal Card Design */

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

:root {
  --color-primary: #1d4ed8;
  --color-accent: #059669;
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-300: #93c5fd;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-blue-800: #1e40af;
  --color-blue-900: #1e3a8a;
  --color-green-50: #ecfdf5;
  --color-green-100: #d1fae5;
  --color-green-500: #10b981;
  --color-green-600: #059669;
  --color-green-700: #047857;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(29, 78, 216, 0.08);
  --shadow-lg: 0 8px 24px rgba(29, 78, 216, 0.1);
  --shadow-search: 0 4px 24px rgba(29, 78, 216, 0.12);
  --container: 1200px;
}

html {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-blue-800);
  border-color: var(--color-blue-800);
}

.btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

/* Header - Clean minimal */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.site-logo::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 6px;
  position: relative;
}

.site-logo::after {
  content: '';
  position: absolute;
  left: 30px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero - Search Focused */
.hero {
  background: linear-gradient(180deg, var(--color-blue-50) 0%, var(--color-bg) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero__search {
  max-width: 720px;
  margin: 0 auto;
}

.hero__search-row {
  display: flex;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-search);
  border: 2px solid var(--color-blue-200);
  transition: border-color 0.2s;
}

.hero__search-row:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-search), 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.hero__search-input {
  flex: 2;
  padding: 1.125rem 1.25rem;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--color-text);
  border-right: 1px solid var(--color-border);
}

.hero__search-location {
  flex: 1;
  padding: 1.125rem 1.25rem;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--color-text);
}

.hero__search-row .btn {
  border-radius: 0;
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

.hero__popular {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__popular span {
  font-weight: 600;
  color: var(--color-text);
}

.hero__popular a {
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--color-blue-200);
  border-radius: 20px;
  font-size: 0.8125rem;
  transition: all 0.2s;
}

.hero__popular a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Section Titles */
.section-title {
  font-size: 1.625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Categories */
.categories {
  padding: 4rem 0;
  background: var(--color-bg);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.category-card:hover {
  border-color: var(--color-blue-300);
  box-shadow: var(--shadow-md);
  background: var(--color-blue-50);
}

.category-card__name {
  font-weight: 600;
  font-size: 1rem;
}

.category-card__count {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* Featured */
.featured {
  padding: 4rem 0;
  background: var(--color-bg-alt);
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.listing-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.listing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-200);
}

.listing-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.listing-card__body {
  padding: 1.125rem;
}

.listing-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.listing-card__category {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
}

.listing-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.listing-card__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.listing-card__rating .stars {
  color: #f59e0b;
}

/* Stats */
.stats {
  padding: 3.5rem 0;
  background: var(--color-primary);
  color: #fff;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-blue-200);
}

.stat__label {
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* How It Works */
.how-it-works {
  padding: 4rem 0;
  background: var(--color-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-blue-50);
  color: var(--color-primary);
  font-size: 1.375rem;
  font-weight: 700;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 2px solid var(--color-blue-200);
}

.step h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* CTA */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Listing Detail */
.listing-detail {
  padding: 2rem 0 4rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.listing-detail__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.listing-detail__hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.listing-detail__main h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.listing-detail__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.listing-detail__rating .stars {
  color: #f59e0b;
  font-size: 1.25rem;
}

.listing-detail__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.listing-detail__section {
  margin-bottom: 2rem;
}

.listing-detail__section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.contact-card,
.claim-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.contact-card h3,
.claim-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contact-card__item {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.contact-card__item a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-card__item a:hover {
  text-decoration: underline;
}

.claim-card {
  background: var(--color-green-50);
  border-color: var(--color-green-100);
}

.claim-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.site-footer__brand strong {
  font-size: 1.25rem;
  color: var(--color-blue-300);
}

.site-footer__brand p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  opacity: 0.7;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.site-footer__links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--color-blue-300);
}

.site-footer__copy {
  font-size: 0.8125rem;
  opacity: 0.5;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero__search-row {
    flex-direction: column;
  }

  .hero__search-input {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .hero__search-row .btn {
    border-radius: 0;
  }

  .listing-detail__grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__popular {
    flex-direction: column;
    gap: 0.5rem;
  }
}
