/* directory.css — Directory and suburb page styles */

/* ── Directory Hero ── */
.dir-hero {
  background: var(--green);
  color: var(--cream);
  padding: 56px 24px 40px;
  position: relative;
  overflow: hidden;
}

.dir-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 10%, rgba(74,122,42,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 5% 90%, rgba(196,98,45,0.25) 0%, transparent 50%);
  pointer-events: none;
}

.dir-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.dir-hero-content { margin-bottom: 32px; }

.dir-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.dir-hero-title em {
  font-style: italic;
  color: #F0D9B5;
}

.dir-hero-sub {
  font-size: 16px;
  color: rgba(245,239,224,0.75);
  max-width: 480px;
  margin-bottom: 24px;
}

.dir-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(245,239,224,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(245,239,224,0.2);
}

/* ── Filter Bar ── */
.dir-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(245,239,224,0.25);
  background: rgba(245,239,224,0.08);
  color: rgba(245,239,224,0.85);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cream);
  color: var(--green);
  border-color: var(--cream);
}

/* ── Suburb Hero ── */
.suburb-hero {
  background: var(--green);
  color: var(--cream);
  padding: 56px 24px 40px;
  position: relative;
  overflow: hidden;
}

.suburb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 10%, rgba(74,122,42,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.suburb-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245,239,224,0.6);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(245,239,224,0.7);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--cream); }

.suburb-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.suburb-hero-title em {
  font-style: italic;
  color: #F0D9B5;
}

.suburb-hero-sub {
  font-size: 15px;
  color: rgba(245,239,224,0.65);
  margin-bottom: 28px;
}

/* ── Directory Main ── */
.directory-main {
  background: var(--bg);
  padding: 48px 24px;
}

.directory-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Suburb Groups ── */
.suburb-groups { display: flex; flex-direction: column; gap: 56px; }

.suburb-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}

.suburb-group-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--fg);
}

.suburb-group-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.suburb-group-link:hover { text-decoration: underline; }

/* ── Venue Grid ── */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .venue-grid { grid-template-columns: 1fr; }
}

/* ── Venue Card ── */
.venue-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.venue-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.venue-card--unconfirmed {
  opacity: 0.7;
  border-style: dashed;
}

.venue-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.venue-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.venue-suburb {
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.venue-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}

.venue-confirmed-badge,
.venue-unconfirmed-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.venue-confirmed-badge {
  background: var(--green-light);
  color: var(--green);
}

.venue-unconfirmed-badge {
  background: #FFF4E0;
  color: #8B5E1A;
}

.venue-address {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.venue-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.venue-policy {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
}

.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.venue-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.venue-tag--outdoor { background: #FFF4E0; color: #8B5E1A; }
.venue-tag--indoor { background: var(--green-light); color: var(--green); }
.venue-tag--water { background: #E8F4F8; color: #1A6B8B; }
.venue-tag--menu { background: var(--terracotta-light); color: var(--terracotta); }

.venue-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.venue-link:hover { gap: 9px; }

.venue-link--secondary {
  font-size: 12px;
  color: var(--fg-muted);
}

.venue-link--secondary:hover { color: var(--fg); }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state p {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.btn-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.btn-back:hover { text-decoration: underline; }

/* ── 404 ── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: 80px;
  color: var(--green);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.error-page p {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.error-page a {
  display: inline-block;
  padding: 10px 24px;
  background: var(--green);
  color: var(--cream);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.error-page a:hover { opacity: 0.85; }