:root {
  --primary: #1b4b82;
  --primary-dark: #12355b;
  --primary-light: #e4f0ff;
  --accent: #f8b400;
  --accent-dark: #d29500;
  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --text: #1f2933;
  --text-light: #6b7280;
  --border: #e5e7eb;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); }

.section__header { text-align:center; max-width:640px; margin:0 auto 2.75rem; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.section__title { font-size:2rem; margin-bottom:0.5rem; }
.section__subtitle { color:var(--text-light); font-size:0.98rem; }

/* Topbar */
.topbar {
  background:#0f172a;
  color:#e5e7eb;
  font-size:0.8rem;
  padding:0.4rem 0;
}
.topbar__inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.2rem;
}
.topbar__left, .topbar__right {
  display:flex;
  align-items:center;
  gap:1.25rem;
}
.topbar__item {
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
}

/* Header / Nav */
.header {
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(247,248,252,0.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(226,232,240,0.8);
}
.header__inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:4.2rem;
}
.brand {
  display:flex;
  align-items:center;
  gap:0.65rem;
}
.brand__logo {
  width:34px;
  height:34px;
  border-radius:10px;
  overflow:hidden;
  background: radial-gradient(circle at 10% 20%, #f8b400 0, #f97316 40%, #1b4b82 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:800;
  font-size:1rem;
}
.brand__text {
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand__name {
  font-weight:800;
  font-size:1rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
}
.brand__sub {
  font-size:0.7rem;
  color:var(--text-light);
  text-transform:uppercase;
  letter-spacing:0.14em;
}

.nav {
  display:flex;
  align-items:center;
  gap:2.25rem;
}
.nav__link {
  font-size:0.9rem;
  font-weight:500;
  color:#4b5563;
  position:relative;
  padding-bottom:0.15rem;
}
.nav__link::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-0.25rem;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--primary));
  transition:width .2s ease;
}
.nav__link:hover::after,
.nav__link--active::after {
  width:100%;
}

.nav__cta {
  display:flex;
  align-items:center;
  gap:0.6rem;
}

.nav-toggle {
  display:none;
  width:2.5rem;
  height:2.5rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.6);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle span {
  position:relative;
  width:18px;
  height:2px;
  border-radius:999px;
  background:#0f172a;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  border-radius:999px;
  background:#0f172a;
  transition:transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle span::before { top:-6px; }
.nav-toggle span::after { top:6px; }

.nav-toggle--open span { background:transparent; }
.nav-toggle--open span::before { transform:rotate(45deg); top:0; }
.nav-toggle--open span::after { transform:rotate(-45deg); top:0; }

.nav--mobile { display:none; }
.nav--mobile.open {
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  padding-bottom:1rem;
}

/* Hero */
.hero {
  padding:4.5rem 0 4rem;
  position:relative;
}
.hero__inner {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:3.5rem;
  align-items:center;
  position:relative;
  z-index:1;
}

.hero--poster {
  color:#f9fafb;
}
.hero--poster::before {
  content:"";
  position:absolute;
  inset:0;
  background:url("../img/event-poster-2025.png") center/cover no-repeat fixed;
  z-index:0;
}
.hero--poster::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg, rgba(15,23,42,0.96), rgba(15,23,42,0.7), rgba(15,23,42,0.9));
  z-index:0;
}

.hero__title {
  font-size:clamp(2.4rem, 3vw + 1.4rem, 3.2rem);
  line-height:1.1;
  margin-bottom:0.8rem;
}
.hero__title span { color:var(--accent); }
.hero__subtitle { color:#e5e7eb; font-size:0.98rem; margin-bottom:1.7rem; }
.hero__cta { display:flex; flex-wrap:wrap; gap:0.8rem; margin-bottom:1.5rem; }

.hero__meta {
  display:flex;
  flex-wrap:wrap;
  gap:1.25rem;
  align-items:center;
  font-size:0.9rem;
  color:#e5e7eb;
}
.hero__meta-item {
  display:flex;
  align-items:center;
  gap:0.45rem;
}
.hero__meta-dot {
  width:6px;
  height:6px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,0.25);
}

.hero__image-wrapper { display:none; } /* we rely on background poster now */

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.78rem 1.75rem;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  border:none;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow:0 10px 25px rgba(15,23,42,0.18);
  white-space:nowrap;
}
.btn--primary { background:var(--accent); color:#111827; }
.btn--primary:hover { background:var(--accent-dark); transform:translateY(-1px); }
.btn--ghost {
  background:transparent;
  color:#f9fafb;
  box-shadow:0 0 0 1px rgba(209,213,219,0.9);
}
.btn--ghost:hover { background:rgba(15,23,42,0.55); }
.btn--sm { padding:0.55rem 1.25rem; font-size:0.85rem; box-shadow:none; }

/* Cards & grids */
.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.75rem;
}
.card {
  background:#fff;
  border-radius:18px;
  padding:1.5rem 1.6rem;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
  border:1px solid rgba(226,232,240,0.9);
}
.card--soft {
  background:linear-gradient(145deg,#ffffff,#f3f4ff);
}
.card__title { font-size:1.05rem; margin-bottom:0.4rem; }
.card__meta { font-size:0.82rem; color:var(--text-light); margin-top:0.4rem; }

.icon-circle {
  width:44px;
  height:44px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(27,75,130,0.08);
  color:var(--primary-dark);
  font-size:1.2rem;
  margin-bottom:0.7rem;
}

/* Page header */
.page-header { padding:2.8rem 0 2.2rem; }
.page-header__title { font-size:2rem; margin-bottom:0.3rem; }
.page-header__subtitle { color:var(--text-light); font-size:0.95rem; }

/* Forms */
.form {
  background:#fff;
  border-radius:18px;
  padding:1.8rem 1.6rem;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
  border:1px solid rgba(226,232,240,0.95);
}
.form__row { display:flex; gap:1rem; }
.form__field { margin-bottom:1rem; flex:1; }
.form__label {
  display:block;
  font-size:0.82rem;
  font-weight:600;
  color:#4b5563;
  margin-bottom:0.3rem;
}
.form__input, .form__textarea {
  width:100%;
  border-radius:10px;
  border:1px solid rgba(148,163,184,0.7);
  padding:0.65rem 0.75rem;
  font-size:0.9rem;
  outline:none;
  transition:border .2s ease, box-shadow .2s ease, background .2s ease;
  font-family:inherit;
}
.form__textarea { min-height:130px; resize:vertical; }
.form__input:focus, .form__textarea:focus {
  border-color:var(--primary);
  box-shadow:0 0 0 1px rgba(37,99,235,0.4);
  background:#fff;
}
.form__hint { font-size:0.8rem; color:var(--text-light); }
.form__status { display:none; margin-top:0.75rem; font-size:0.86rem; }
.form__status--success { color:#10b981; }
.form__status--error { color:#dc2626; }

/* Info block */
.info-block {
  background:#12355b;
  border-radius:18px;
  padding:1.6rem;
  color:#e5e7eb;
}
.info-block__title { color:#fff; margin-bottom:0.5rem; }

/* Gallery */
.gallery-tabs {
  display:flex;
  gap:0.75rem;
  margin-bottom:1.5rem;
  flex-wrap:wrap;
}
.gallery-tab {
  padding:0.4rem 0.9rem;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:0.85rem;
  cursor:pointer;
  background:#fff;
}
.gallery-tab--active {
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.5rem;
}
.gallery-card {
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(226,232,240,0.9);
  box-shadow:0 10px 24px rgba(15,23,42,0.05);
  overflow:hidden;
  font-size:0.85rem;
}
.gallery-card__media {
  background:#111827;
  max-height:200px;
  overflow:hidden;
}
.gallery-card__body {
  padding:0.9rem 1rem 1.1rem;
}
.gallery-card__title {
  font-weight:600;
  margin-bottom:0.2rem;
}
.gallery-card__meta {
  color:var(--text-light);
  font-size:0.8rem;
}

/* Footer */
.footer {
  background:#0f172a;
  color:#9ca3af;
  padding:3rem 0 1.8rem;
  margin-top:3rem;
}
.footer__top {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));
  gap:2.5rem;
}
.footer__brand-name {
  color:#e5e7eb;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:0.85rem;
}
.footer__title {
  color:#e5e7eb;
  font-size:0.9rem;
  margin-bottom:0.5rem;
  font-weight:600;
}
.footer__list {
  list-style:none;
  padding:0;
  margin:0;
  font-size:0.86rem;
}
.footer__list li { margin-bottom:0.3rem; }
.footer__bottom {
  border-top:1px solid rgba(75,85,99,0.7);
  margin-top:2.2rem;
  padding-top:1.2rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  font-size:0.8rem;
}

/* Responsive */
@media (max-width:960px) {
  .hero__inner {
    grid-template-columns:minmax(0,1fr);
  }
  .grid-3, .gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .footer__top {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px) {
  .topbar__inner {
    flex-direction:column;
    align-items:flex-start;
    gap:0.35rem;
  }
  .nav {
    display:none;
  }
  .nav-toggle {
    display:inline-flex;
  }
  .grid-3, .gallery-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .footer__top {
    grid-template-columns:minmax(0,1fr);
  }
  .form__row {
    flex-direction:column;
  }
}
