:root {
  --primary: #C8410B;
  --primary-dark: #A33309;
  --primary-light: #F4EDE8;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFCFA;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --border: #EAE6E1;
  --border-hover: #D4CFC9;
  --badge-concert: #7c3aed;
  --badge-theatre: #0369a1;
  --badge-comedy: #b45309;
  --badge-film: #047857;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
  --transition: 0.22s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ── SEARCH SECTION ── */
.search-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 5%;
}

.search-section .search-wrap {
  max-width: 600px;
}

/* ── VENUES ── */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.venue-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

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

.venue-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.venue-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.venue-location {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.venue-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.venue-filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* ── HERO (remove) ── */
.hero { display: none; }


  position: relative;
  padding: 5rem 5% 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #FDF1EB 0%, #FAF8F5 50%, #FDF4EE 100%);
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200,65,11,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(200,65,11,0.05) 0%, transparent 45%);
  pointer-events: none;
}

/* decorative circles */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200,65,11,0.08);
  top: -100px;
  right: 10%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(200,65,11,0.06);
  bottom: -60px;
  right: 20%;
}

.hero-content { position: relative; z-index: 1; max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ── SEARCH ── */
.search-wrap {
  display: flex;
  gap: 0;
  max-width: 480px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,65,11,0.1);
}

.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.search-wrap input::placeholder { color: var(--text-light); }

.search-wrap button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.search-wrap button:hover { background: var(--primary-dark); }

/* ── MAIN ── */
main { padding: 3rem 5%; }

/* ── FILTERS ── */
.filters {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 0.25rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}

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

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.section-count {
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* ── FEATURED GRID ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* ── EVENT CARD ── */
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #F5F0EB;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .card-img-wrap img { transform: scale(1.04); }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #FDF1EB, #FAE8DC);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.badge-concert { background: var(--badge-concert); }
.badge-theatre { background: var(--badge-theatre); }
.badge-comedy { background: var(--badge-comedy); }
.badge-film { background: var(--badge-film); }

.card-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-sold-out { background: rgba(255,255,255,0.9); color: #C8410B; border: 1px solid #C8410B; }
.status-cancelled { background: rgba(255,255,255,0.9); color: #999; border: 1px solid #ccc; }

.card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex: 1;
}

.card-meta-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.card-meta-item svg { display: none; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  transition: background var(--transition);
}

.card-cta:hover { background: var(--primary-dark); }

.card-cta.disabled {
  background: #F0EDE9;
  color: var(--text-light);
  cursor: default;
  pointer-events: none;
}

/* ── ALL EVENTS GRID ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ── NO RESULTS ── */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  grid-column: 1/-1;
}

.no-results .icon { font-size: 3rem; margin-bottom: 1rem; }
.no-results h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }

/* ── EVENT DETAIL PAGE ── */
.detail-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #F5F0EB;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, #FDF1EB, #FAE8DC);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(250,248,245,1) 0%, rgba(250,248,245,0.5) 40%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 5%;
}

.detail-hero-content { max-width: 700px; }

.detail-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  color: #fff;
}

.detail-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-description {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-info-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.detail-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.detail-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ── BOOKING CARD ── */
.booking-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
}

.booking-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.booking-price-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.booking-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200,65,11,0.3);
}

.booking-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,65,11,0.35);
}

.booking-btn.sold-out {
  background: #F0EDE9;
  color: var(--text-light);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.booking-btn.cancelled {
  background: #F5F5F5;
  color: #bbb;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.booking-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.booking-meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.booking-meta-item svg { display: none; }

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 1rem 5%;
  transition: color var(--transition);
}

.back-link:hover { color: var(--primary); }

/* ── FOOTER ── */
footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.footer-logo span { color: var(--primary); }
.footer-copy { font-size: 0.82rem; color: var(--text-light); }

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, #F0EDE9 25%, #F8F5F2 50%, #F0EDE9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-img { aspect-ratio: 16/9; }
.skeleton-body { padding: 1.25rem; }
.skeleton-line { height: 13px; margin-bottom: 10px; }
.skeleton-line.short { width: 55%; }
.skeleton-line.medium { width: 78%; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hero { padding: 3rem 4% 2.5rem; }
  main { padding: 2rem 4%; }
  .detail-body { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .detail-info-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .featured-grid, .events-grid { grid-template-columns: 1fr; }
}
