/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E86A2A;
  --orange-dark: #C85A22;
  --orange-light: #FFF3ED;
  --orange-subtle: #FFF9F5;
  --text: #2D2419;
  --text-light: #6B5E50;
  --text-muted: #9C8E7E;
  --border: #E8DFD5;
  --bg: #FFFCFA;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(45,36,25,0.06);
  --shadow-md: 0 4px 12px rgba(45,36,25,0.08);
  --shadow-lg: 0 8px 24px rgba(45,36,25,0.1);
  --radius: 10px;
  --radius-lg: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dark); }

/* === Header === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}
.header-nav a:hover { color: var(--orange); }

/* === Hero / Search === */
.hero {
  background: linear-gradient(135deg, var(--orange) 0%, #D4561E 100%);
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M20 20l10-10M20 20l-10 10M20 20l10 10M20 20l-10-10' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero * { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.search-box {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  border: none;
  border-radius: 60px;
  font-size: 1.05rem;
  font-family: inherit;
  background: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255,255,255,0.2);
  outline: none;
  transition: box-shadow 0.2s;
}
.search-box input:focus {
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255,255,255,0.4);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
}
.hero-stat {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-family: 'DM Serif Display', serif;
}

/* === Section === */
.section {
  padding: 48px 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--text);
}
.section-header a {
  font-size: 0.9rem;
  font-weight: 500;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb span { margin: 0 6px; }

/* === Grid === */
.grid {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* === State Card === */
.state-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.state-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.state-card-name {
  font-weight: 600;
  color: var(--text);
}
.state-card-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--orange-light);
  padding: 3px 10px;
  border-radius: 20px;
}

/* === City Card === */
.city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.city-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.city-card-name {
  font-weight: 500;
  color: var(--text);
}
.city-card-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Listing Card === */
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}
.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--orange-light);
}
.listing-card-body {
  padding: 16px 18px;
}
.listing-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.listing-card-address {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.listing-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.listing-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* === Single Listing Page === */
.listing-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.listing-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.listing-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.listing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.detail-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text);
}
.hours-table {
  width: 100%;
  font-size: 0.9rem;
}
.hours-table tr {
  border-bottom: 1px solid var(--border);
}
.hours-table tr:last-child { border: none; }
.hours-table td {
  padding: 8px 0;
}
.hours-table td:first-child {
  font-weight: 500;
  color: var(--text);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--text-light);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
}
.contact-item:last-child { border: none; }
.contact-item svg { color: var(--orange); flex-shrink: 0; }

.review-highlight {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}
.review-highlight:last-child { border: none; }
.review-highlight::before {
  content: '"';
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 700;
}

.listing-description h2 {
  margin-bottom: 16px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
}
.listing-description p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 14px;
}
.listing-description p:last-child { margin-bottom: 0; }

.map-embed {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: var(--radius);
}

/* === Page Header (state/city) === */
.page-header {
  background: var(--orange-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  margin-bottom: 6px;
}
.page-header p {
  color: var(--text-light);
  font-size: 1rem;
}
.page-search {
  margin-top: 20px;
  max-width: 400px;
  position: relative;
}
.page-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  outline: none;
}
.page-search input:focus { border-color: var(--orange); }
.page-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 48px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-tagline { font-style: italic; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 1.3rem; }
  .listing-details { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .footer-inner { flex-direction: column; gap: 4px; text-align: center; }
}
