:root {
  --navy: #0f172a;
  --gold: #f59e0b;
  --red: #ef4444;
  --white: #ffffff;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--navy);
  background: var(--bg);
}

h1,
h2,
h3,
.logo {
  font-family: Montserrat, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

code {
  background: #e2e8f0;
  border-radius: 6px;
  padding: 2px 6px;
}

.container {
  width: min(1140px, 92%);
  margin: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, .96);
  backdrop-filter: blur(10px);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-with-img {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

.logo-with-img span {
  color: var(--gold);
}

.logo-with-img img {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  background: #111827;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  font-size: .95rem;
}

.instagram-link {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 999px;
  padding: 10px 16px;
}

.admin-nav-btn {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: 720px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, .84), rgba(15, 23, 42, .58)), url('hero-bg.jpg') center/cover;
}

.hero-content {
  color: var(--white);
  padding: 70px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 12px 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 1;
}

.hero-text,
.hero-shayari {
  max-width: 760px;
  line-height: 1.7;
}

.hero-text {
  color: #e2e8f0;
  font-size: 1.1rem;
}

.hero-shayari {
  margin-top: 14px;
  color: #fde68a;
  font-size: 1.18rem;
  font-weight: 600;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}

.primary {
  background: var(--gold);
  color: #111827;
}

.primary:hover,
.primary:focus-visible {
  background: #fbbf24;
  transform: translateY(-2px);
}

.secondary {
  background: var(--white);
  color: var(--navy);
}

.secondary:hover,
.secondary:focus-visible {
  transform: translateY(-2px);
}

.search-panel {
  display: flex;
  max-width: 760px;
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel input {
  flex: 1;
  border: 0;
}

.search-panel button {
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 90px 0;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.category-grid,
.artist-grid,
.event-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

.category-grid,
.artist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-grid,
.testimonial-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid div,
.event-grid article,
.artist-card,
.features div,
blockquote,
.card-form {
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.category-grid div {
  padding: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.artists-section {
  background: var(--white);
}

.join-artist {
  background: #fff7ed;
}

.upcoming-events {
  background: #f8fafc;
}

.artist-card {
  overflow: hidden;
}

.artist-img {
  height: 220px;
  overflow: hidden;
  background: #eef2ff;
}

.artist-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: var(--white);
  font-size: 3.5rem;
}

.artist-body {
  padding: 22px;
}

.artist-body h3 {
  margin: 0 0 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: .8rem;
  font-weight: 700;
}

.meta {
  color: var(--muted);
  font-size: .92rem;
}

.artist-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.artist-actions a,
.artist-actions button {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.artist-actions button {
  background: var(--navy);
  color: var(--white);
}

.custom-artist-enquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff7ed;
}

.custom-artist-enquiry h3 {
  margin: 0 0 6px;
}

.custom-artist-enquiry p {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-size: .92rem;
  font-weight: 700;
}

label small {
  color: var(--muted);
  font: inherit;
  font-weight: 500;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input[type="file"] {
  background: #fffbeb;
  border-style: dashed;
  cursor: pointer;
}

.form-note {
  margin: -6px 0 4px;
  color: var(--muted);
  font-size: .88rem;
}

.conditional-field {
  display: grid;
  gap: 16px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(245, 158, 11, .45);
  outline-offset: 3px;
}

.event-grid article {
  padding: 24px;
}

.upcoming-card {
  overflow: hidden;
}

.upcoming-card img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.upcoming-card-body {
  padding: 24px;
}

.event-date {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 999px;
  padding: 6px 12px;
  background: #dcfce7;
  color: #166534;
  font-size: .82rem;
  font-weight: 800;
}

.status-pill.completed {
  background: #e2e8f0;
  color: #475569;
}

.ticket-btn {
  width: max-content;
  margin-top: 18px;
}

.why {
  background: var(--navy);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.why p {
  color: #cbd5e1;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.features div {
  padding: 24px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.features span {
  display: block;
  margin-top: 8px;
  color: #cbd5e1;
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-tile {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111827;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
}

.gallery-tile img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.gallery-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .84));
  color: var(--white);
  font-weight: 700;
}

.text-link {
  color: var(--red);
  font-weight: 700;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.card-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-actions {
  margin: 8px 0 0;
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 28px 30px;
  font-size: 1.02rem;
}

.testimonial-grid blockquote span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.contact-info {
  margin-top: 24px;
  color: var(--muted);
}

.contact-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 60px 0 20px;
  background: #020617;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer a {
  display: block;
  margin: 10px 0;
  color: #cbd5e1;
}

.footer-logo img {
  width: 58px;
  height: 58px;
}

.copyright {
  margin-top: 40px;
  color: #94a3b8;
  text-align: center;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  border-radius: 999px;
  padding: 14px 18px;
  background: #22c55e;
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 99;
  max-width: min(520px, 92vw);
  transform: translateX(-50%);
  border-radius: 16px;
  padding: 16px 22px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .72);
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 18px;
  padding: 30px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
}

.large-modal {
  width: min(720px, 100%);
}

.modal-card h2 {
  margin: 0 0 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 30px;
  cursor: pointer;
}

.compact-form,
.admin-form {
  display: grid;
  gap: 14px;
}

.checkbox-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-group legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 700;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.admin-panel {
  background: #eef2ff;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-card {
  border-radius: 18px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-card h3 {
  margin-top: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tertiary {
  background: #e2e8f0;
  color: var(--navy);
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.admin-item strong {
  display: block;
}

.admin-item span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.edit-btn {
  background: #fde68a;
  color: #92400e;
}

.delete-btn {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 960px) {
  .category-grid,
  .artist-grid,
  .event-grid,
  .testimonial-grid,
  .gallery-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 24px;
    background: var(--navy);
  }

  .nav-links.open {
    display: flex;
  }

  .split {
    align-items: start;
    flex-direction: column;
  }

  .search-panel {
    flex-direction: column;
  }

  .search-panel button {
    padding: 14px;
  }

  .custom-artist-enquiry {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: 640px;
  }
}

@media (max-width: 560px) {
  .category-grid,
  .artist-grid,
  .event-grid,
  .testimonial-grid,
  .gallery-grid,
  .features,
  .footer-grid,
  .admin-grid,
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .logo-with-img span {
    font-size: .9rem;
  }

  .logo-with-img img {
    width: 42px;
    height: 42px;
  }

  .artist-actions,
  .form-actions {
    flex-direction: column;
  }

  .btn,
  .form-actions button {
    width: 100%;
  }
}
