@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy: #101d3c;
  --red: #f0444e;
  --ink: #192440;
  --muted: #758096;
  --line: #e7eaf1;
  --bg: #f5f6fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand { font-family: 'Outfit', sans-serif; }
h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.07; margin: 0 0 16px; letter-spacing: -1.8px; }
h2 { font-size: 32px; letter-spacing: -.8px; margin: 0; }
h3 { margin: 8px 0; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: auto; }

/* Top strip and navigation */
.topline { background: #ed4852; color: #fff; font-size: 11px; letter-spacing: 1.8px; font-weight: 800; padding: 9px 0; }
.topline span { float: right; font-weight: 500; letter-spacing: .5px; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; max-width: 220px; text-decoration: none; color: var(--navy); font-size: 23px; font-weight: 900; letter-spacing: -1.2px; white-space: nowrap; }
.brand span, .brand b { color: var(--red); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { font-size: 13px; font-weight: 800; }
.nav-actions { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; }

/* Site logo: sized for the header, not for the entire page */
.site-logo, .brand > img, .brand > picture > img, header .logo img {
  display: block !important;
  width: auto !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 55px !important;
  object-fit: contain !important;
}
/* A logo directly in the header but without the expected class */
header img[src*="logo"] { width: auto !important; max-width: 220px !important; height: auto !important; max-height: 55px !important; object-fit: contain !important; }

/* Buttons */
.btn, button { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 800; cursor: pointer; font-family: inherit; }
.btn.dark { background: var(--navy); }
.btn.outline { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* Homepage hero */
.hero { background: linear-gradient(100deg, rgba(13,26,54,.98) 0%, rgba(13,26,54,.87) 48%, rgba(13,26,54,.25) 100%), url('/assets/hero.svg') center/cover; border-radius: 25px; margin: 28px 0 32px; color: #fff; min-height: 410px; padding: 65px; display: flex; align-items: center; overflow: hidden; }
.hero .content { max-width: 650px; }
.eyebrow { color: #ff8188; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.hero p { color: #d3d9e5; font-size: 17px; line-height: 1.7; max-width: 540px; }
.hero .btn { margin-top: 12px; }

/* Search and categories */
.searchbar { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px #101d3c0a; border-radius: 18px; padding: 13px; display: flex; gap: 12px; margin-bottom: 42px; }
.searchbar input, .searchbar select { flex: 1; min-width: 0; border: 0; padding: 12px; font: inherit; outline: none; }
.searchbar button { min-width: 150px; }
.sectionhead { display: flex; justify-content: space-between; align-items: center; margin: 34px 0 18px; }
.sectionhead p { color: var(--muted); margin: 6px 0; }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 24px; font-weight: 900; display: flex; align-items: center; gap: 14px; }
.category .symbol { background: #fff0f1; color: var(--red); border-radius: 12px; padding: 12px; font-size: 23px; }

/* Event cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.eventcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 28px #13234508; }
.eventcard img { width: 100%; height: 190px; object-fit: cover; background: #14264b; }
.eventbody { padding: 21px; }
.eventbody h3 { font-size: 21px; line-height: 1.25; }
.meta { color: var(--muted); font-size: 13px; margin: 10px 0; }
.tag { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: var(--red); text-transform: uppercase; }
.eventfoot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 15px; }
.eventfoot b { font-size: 20px; }

/* Panels, forms, and dashboards */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; margin: 28px 0; }
.panel h2 { margin-bottom: 20px; }
.form { max-width: 580px; margin: 45px auto; }
.form label, .field label { display: block; font-size: 13px; font-weight: 800; margin: 16px 0 8px; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #dce1eb; border-radius: 10px; font: inherit; background: #fff; }
textarea { min-height: 110px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 22px; }
.stat b { display: block; font: 900 29px 'Outfit', sans-serif; }
.stat span { color: var(--muted); font-size: 13px; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); }
.alert { padding: 13px 17px; background: #fff0f1; color: #a71d2a; border-radius: 10px; margin: 15px 0; }
.success { background: #e8f8ee; color: #116936; }
.pill { display: inline-block; padding: 5px 9px; background: #eaf0fb; border-radius: 20px; font-size: 11px; font-weight: 800; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0; }
.tabs a { padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 800; font-size: 13px; }

/* Seating */
.seatmap { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin: 22px 0; }
.seat { padding: 12px 2px; text-align: center; border-radius: 8px; background: #e8edfb; font-size: 11px; cursor: pointer; border: 1px solid #c9d3e9; }
.seat.selected { background: #f0444e; color: #fff; }
.seat.sold { background: #aeb4bf; cursor: not-allowed; }
.stage { background: #17294e; color: #fff; text-align: center; border-radius: 12px; padding: 14px; letter-spacing: 3px; font-weight: 900; }
.muted { color: var(--muted); }

/* Footer */
footer { background: var(--navy); color: #fff; margin-top: 70px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 44px 0; }
.footer p { color: #aeb8ca; font-size: 13px; }

/* Responsive layouts */
@media (max-width: 900px) {
  nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .categories, .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 45px 30px; }
}
@media (max-width: 600px) {
  .nav { flex-wrap: wrap; padding: 15px 0; }
  .brand { max-width: 165px; font-size: 20px; }
  .site-logo, .brand > img, .brand > picture > img, header .logo img, header img[src*="logo"] {
    max-width: 165px !important;
    max-height: 45px !important;
  }
  .hero { min-height: 360px; padding: 32px 22px; }
  .cards, .categories, .stats, .grid2 { grid-template-columns: 1fr; }
  .searchbar { flex-direction: column; }
  .footer { flex-direction: column; }
  .panel { padding: 18px; }
}
