:root {
  --kc-ink: #14161a;
  --kc-green: #002011;
  --kc-ink-soft: #3a3d44;
  --kc-gold: #b3894a;
  --kc-gold-soft: #d9b978;
  --kc-cream: #faf7f2;
  --kc-line: #e7e1d6;
}

/* ---------- Public page ---------- */

.public-body {
  background: var(--kc-cream);
  color: var(--kc-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.event-main {
  flex: 1;
  padding: 3rem 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Top navbar (public site) ---------- */

.site-navbar {
  background: var(--kc-ink);
  padding: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-navbar-brand {
  text-decoration: none;
}

.navbar-logo {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.navbar-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  color: #fff;
}

.site-nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: #fff;
  border-bottom-color: var(--kc-gold);
}

/* ---------- Event hero image (standalone, no text overlay) ---------- */

.event-hero {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 380px;
  overflow: hidden;
  background: var(--kc-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 767.98px) {
  .event-hero {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }
}

/* ---------- Event header info (plain text, below the image) ---------- */

.event-header-info {
  padding: 1rem 0 0.5rem;
}

.event-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--kc-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.event-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--kc-ink);
  margin-bottom: 0.5rem;
}

.event-hero-subtitle {
  color: var(--kc-ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.event-hero-meta {
  color: var(--kc-ink-soft);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.event-hero-meta .dot {
  margin: 0 0.5rem;
  color: var(--kc-gold);
}

/* ---------- Event page body (about + ticket sidebar) ---------- */

.event-page-body {
  padding: 1rem 1rem 4rem;
}

.event-about h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--kc-ink);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.event-about p {
  color: var(--kc-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.event-about-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--kc-ink-soft);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.event-about-meta-item i {
  color: var(--kc-gold);
  font-size: 1.1rem;
}

.ticket-card {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 32px rgba(20, 22, 26, 0.07);
  position: sticky;
  top: 1.5rem;
}

.ticket-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--kc-ink);
}

.ticket-card h3 i {
  color: var(--kc-gold);
  margin-right: 0.4rem;
}

.ticket-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--kc-line);
}

.ticket-option-row:last-child {
  border-bottom: none;
}

.ticket-option-title {
  font-weight: 600;
  color: var(--kc-ink);
}

.ticket-option-price {
  color: var(--kc-gold);
  font-weight: 700;
}

.btn-book-entry {
  background: var(--kc-gold);
  border-color: var(--kc-gold);
  color: #14161a;
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-book-entry i {
  margin-right: 0.35rem;
}

.btn-book-entry:hover,
.btn-book-entry:focus {
  background: var(--kc-gold-soft);
  border-color: var(--kc-gold-soft);
  color: #14161a;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(179, 137, 74, 0.35);
}

@media (max-width: 991.98px) {
  .ticket-card {
    position: static;
  }
}

.booking-card {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(20, 22, 26, 0.06);
  padding: 2.25rem 1.75rem;
  max-width: 460px;
  width: 100%;
}

.booking-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--kc-ink);
  margin-bottom: 0.4rem;
}

.booking-subtitle {
  color: var(--kc-ink-soft);
  margin-bottom: 1.5rem;
}

.booking-back-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: var(--kc-ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.booking-back-link:hover {
  color: var(--kc-gold);
}

.otp-input {
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  font-weight: 600;
}

.booking-success-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--kc-gold);
  color: #14161a;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.booking-summary {
  background: var(--kc-cream);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.booking-summary li {
  padding: 0.2rem 0;
  color: var(--kc-ink-soft);
}

.empty-state {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 18px;
  padding: 3.5rem 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(20, 22, 26, 0.06);
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--kc-gold);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.empty-state h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--kc-ink);
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: var(--kc-ink-soft);
  margin: 0;
}

.site-footer {
  padding: 1.5rem 1rem;
  color: var(--kc-ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid var(--kc-line);
}

/* ---------- Admin panel ---------- */

.admin-body {
  background: #f4f5f7;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.admin-navbar {
  background: var(--kc-ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.admin-brand-logo {
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.admin-navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-navbar .nav-link i {
  margin-right: 0.3rem;
}

.admin-navbar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-navbar .nav-link.active {
  color: #14161a;
  background: var(--kc-gold-soft);
  font-weight: 600;
}

.stat-card {
  border: 1px solid var(--kc-line);
  border-radius: 12px;
  transition: box-shadow 0.15s ease;
}

.stat-card:hover {
  box-shadow: 0 8px 24px rgba(20, 22, 26, 0.06);
}

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-icon--ink {
  background: rgba(20, 22, 26, 0.08);
  color: var(--kc-ink);
}

.stat-icon--success {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.stat-icon--muted {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.stat-icon--gold {
  background: rgba(179, 137, 74, 0.12);
  color: var(--kc-gold);
}

.table-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.no-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #999;
  border-radius: 10px;
  height: 140px;
  font-size: 0.9rem;
}

.login-body {
  background: linear-gradient(160deg, var(--kc-ink) 0%, #23262d 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-card {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
}

.login-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(179, 137, 74, 0.12);
  color: var(--kc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.login-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
