/* ===== ANUBHUTI – KUTCH EVENTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi&family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gold: #d4a017;
  --gold-light: #e8c050;
  --gold-dim: #a07040;
  --red: #8b1a1a;
  --green: #1a5c2a;
  --orange: #c45c1a;
  --purple: #7b2d8b;
  --bg: #0f0600;
  --bg2: #1a0a00;
  --bg3: #2a1200;
  --border: #3d1f00;
  --text: #f5ede0;
  --text-muted: #a07040;
  --text-dim: #5a3a20;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

/* === MIRROR BAR === */
.mirror-bar {
  height: 5px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0, var(--gold) 8px,
    var(--red) 8px, var(--red) 16px,
    var(--green) 16px, var(--green) 24px,
    var(--orange) 24px, var(--orange) 32px,
    var(--purple) 32px, var(--purple) 40px,
    var(--gold) 40px, var(--gold) 48px
  );
  flex-shrink: 0;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-guj { font-family: 'Tiro Devanagari Hindi', serif; font-size: 24px; color: var(--gold); }
.logo-en { font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-dim); margin-top: 1px; }
.logo-img { height: 38px; width: auto; object-fit: contain; display: block; filter: brightness(1); }

.header-nav { display: flex; gap: 24px; align-items: center; flex: 1; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color 0.15s; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-admin { background: var(--bg3); border: 1px solid var(--border); padding: 5px 12px; border-radius: 6px; }

.header-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.icon-btn { background: none; border: none; color: var(--text-muted); font-size: 22px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.icon-btn:hover { color: var(--gold); background: var(--bg3); }

/* === HERO === */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3d0a4d 0%, #1a0a20 50%, #3d1500 100%);
  transition: background 0.6s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,3,0,0.95) 0%, rgba(10,3,0,0.3) 60%, transparent 100%);
}

.hero-motif {
  position: absolute;
  top: 30px;
  right: 40px;
  opacity: 0.3;
  z-index: 2;
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 40px 48px;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gold-light);
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta i { font-size: 16px; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}
.hero-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(212,160,23,0.3);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: var(--gold); }

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  gap: 8px;
  padding: 16px 40px;
  overflow-x: auto;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* === SHOWS SECTION === */
.shows-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.section-sub {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* === SHOWS GRID === */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.show-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-dim);
}

.show-card-poster {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.show-card-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

.show-card-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,3,0,0.7), transparent);
}

.show-card-genre {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  z-index: 1;
}

.show-card-loc-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(10,3,0,0.75);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 1;
}
.show-card-loc-pill i { font-size: 12px; }

.show-card-body { padding: 16px; }
.show-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.show-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.show-card-meta span { display: flex; align-items: center; gap: 4px; }
.show-card-meta i { font-size: 13px; }

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

.show-card-price {
  font-size: 13px;
  color: var(--text-dim);
}
.show-card-price strong { color: var(--gold); font-size: 16px; }

.show-card-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
}
.show-card-btn:hover { background: var(--gold-light); }

/* Genre colors */
.genre-music .show-card-poster { background: linear-gradient(135deg, #3d0a4d, #1a0a20); }
.genre-music .show-card-genre { background: #3d1550; color: #c47de0; }
.genre-drama .show-card-poster { background: linear-gradient(135deg, #3d1500, #1a0800); }
.genre-drama .show-card-genre { background: #2a1200; color: #e08040; }
.genre-theater .show-card-poster { background: linear-gradient(135deg, #001a0a, #003015); }
.genre-theater .show-card-genre { background: #001508; color: #40c070; }
.genre-outdoor .show-card-poster { background: linear-gradient(135deg, #0a1500, #061000); }
.genre-outdoor .show-card-genre { background: #081000; color: #90c040; }
.genre-folk .show-card-poster { background: linear-gradient(135deg, #2d0000, #1a0505); }
.genre-folk .show-card-genre { background: #1a0505; color: #e05050; }

/* === SEARCH OVERLAY === */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}
.search-overlay.open { display: flex; }

.search-box {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 20px;
}
.search-icon { font-size: 22px; color: var(--gold); }
.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.search-input::placeholder { color: var(--text-dim); }
.search-close { background: none; border: none; color: var(--text-muted); font-size: 22px; }

.search-results { width: 100%; max-width: 600px; margin: 12px 20px 0; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover { border-color: var(--gold-dim); }

/* === FOOTER === */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 24px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 200px; }
.footer-logo-guj { font-family: 'Tiro Devanagari Hindi', serif; font-size: 28px; color: var(--gold); margin-bottom: 2px; }
.footer-logo-en { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 240px; }

.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero { height: 360px; }
  .hero-content { padding: 0 20px 40px; }
  .hero-motif { display: none; }
  .hero-dots { right: 20px; }
  .filter-bar { padding: 12px 16px; }
  .shows-section { padding: 24px 16px 48px; }
  .shows-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { padding: 28px 20px 16px; flex-direction: column; gap: 28px; }
  .footer-bottom { padding: 14px 20px; flex-direction: column; }
}
