/* ── Venues page ── */

.nav-active { color: var(--accent) !important; }

/* ── Page header ── */
.venues-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.venues-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.venues-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.venues-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, #2D2E22 0%, rgba(45,46,34,0) 55%);
}
.venues-hero-content {
  position: relative;
  z-index: 2;
}
.venues-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.venues-hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.venues-hero-sub {
  font-size: 1.125rem;
  color: var(--white);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Filters: sticky left sidebar inside venues section ── */
.venues-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
}
.venues-sidebar {
  position: sticky;
  top: 108px; /* below navbar */
}
.venues-filters {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.vfilter {
  background: none;
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 0.35rem 0.875rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: left;
  width: 100%;
}
.vfilter:hover { border-color: var(--gray-line); color: var(--dark); }
.vfilter.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ── Grid ── */
.venues-section {
  background: var(--cream);
  padding: 4rem 0 6rem;
}
.venues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Collapse to 2 cols within the sidebar layout on medium screens */
@media (max-width: 1100px) {
  .venues-layout { grid-template-columns: 1fr; }
  .venues-sidebar { position: static; }
  .venues-filters { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .venues-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card ── */
.venue-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.venue-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}
.venue-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.venue-card:hover .venue-img img { transform: scale(1.05); }

.venue-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.venue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.venue-city {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.venue-capacity {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.venue-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.venue-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}
.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.venue-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--cream);
  color: var(--dark);
  letter-spacing: 0.03em;
}

/* ── CTA strip ── */
.venues-cta-strip { background: var(--white); }
.venues-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 3.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-line);
}
.venues-cta-inner h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.venues-cta-inner p  { font-size: 0.9375rem; max-width: 480px; }
.venues-cta-inner .btn-dark { white-space: nowrap; flex-shrink: 0; }

/* ── Contact section extra top spacing ── */
.contact-section { padding-top: 80px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .venues-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .venues-hero { padding: 120px 0 64px; }
  .venues-grid { grid-template-columns: 1fr; }
  .venues-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

/* ── Mobile: filter bar sticks to the top on scroll ── */
@media (max-width: 768px) {
  /* Switch to block so sticky spans the full section height, not just one grid row */
  .venues-layout { display: block; }
  .venues-sidebar {
    position: sticky;
    top: 80px;
    z-index: 90;
    background: var(--cream);
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: top 0.3s ease;
  }
  .nav-hidden .venues-sidebar {
    top: 0;
  }
  .venues-filters {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    scrollbar-width: none;
    min-width: 0;
  }
  .venues-filters::-webkit-scrollbar { display: none; }
  .vfilter {
    width: auto;
    flex-shrink: 0;
    padding: 0.5rem 1.1rem;
    background: var(--white);
    border-color: var(--gray-line);
  }
  .vfilter.active { background: var(--dark); border-color: var(--dark); }
}
