/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Dark blue — one continuous field; panels step up slightly */
  --clr-bg: #060d18;
  --clr-surface: #060d18;
  --clr-panel: #0f1e34;
  --clr-text: #e8eef6;
  --clr-text-muted: #8fa4bc;
  --clr-border: #1a3554;
  --clr-accent: #4f9cf9;
  --clr-accent-hover: #3b8fd9;
  --clr-accent-soft: rgba(79, 156, 249, 0.14);
  --clr-link: #7ab8fb;
  --clr-link-hover: #a8d4ff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --transition: 0.2s ease;
  --max-w: 720px;
  --section-pad: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

a {
  color: var(--clr-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-link-hover);
}

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

ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--clr-accent);
  color: #ffffff;
  border-color: var(--clr-accent);
}

.btn-primary:hover {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: rgba(232, 238, 246, 0.28);
}

.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 13, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--clr-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--clr-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 1px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

/* Mountain silhouette on dark blue */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: min(28vh, 200px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%232a4a6e' d='M0 120 L0 85 L120 55 L220 75 L340 35 L460 70 L580 25 L700 60 L820 40 L940 65 L1060 30 L1200 55 L1200 120 Z'/%3E%3Cpath fill='%231f3d5c' d='M0 120 L0 95 L200 70 L380 88 L520 62 L680 78 L840 52 L1000 72 L1200 58 L1200 120 Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  opacity: 0.65;
  pointer-events: none;
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 32rem;
}

.hero-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  max-width: 26rem;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-pad) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid rgba(26, 53, 84, 0.55);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-accent);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  line-height: 1.25;
}

/* ===== ABOUT ===== */
.about-text {
  max-width: 40rem;
}

.about-text p {
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ===== EVENTS ===== */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--clr-border);
}

.event-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--clr-border);
  background: transparent;
  transition: none;
}

.event-card.featured {
  padding-left: 0.75rem;
  border-left: 3px solid var(--clr-accent);
  background: var(--clr-accent-soft);
  border-radius: var(--radius);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 3rem;
  padding-top: 0.15rem;
}

.event-month {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.event-day {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.1;
}

.event-info {
  flex: 1;
  min-width: 0;
}

.event-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.35rem;
}

.event-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
}

.event-info p {
  color: var(--clr-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.event-meta {
  display: flex;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}

.event-meta span {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 180px 180px;
  gap: 8px;
  margin-bottom: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: default;
  background: var(--clr-panel);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius);
  background: rgba(79, 156, 249, 0.06);
}

.gallery-placeholder span {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 400;
}

.gallery-note {
  color: var(--clr-text-muted);
  font-size: 0.8125rem;
  text-align: left;
}

/* ===== SPONSORS ===== */
.sponsors-intro {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sponsor-logo {
  flex: 1 1 140px;
  min-height: 72px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-panel);
  transition: border-color var(--transition);
}

.sponsor-logo:hover {
  border-color: var(--clr-accent);
}

.sponsor-logo span {
  color: var(--clr-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ===== SPONSORS + CONTACT (stacked, same width / alignment) ===== */
.sponsors-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

.sponsors-block,
.contact-block {
  width: 100%;
}

.section-header--contact {
  margin-bottom: 1.25rem;
  text-align: left;
}

.contact-simple {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-panel);
  overflow: hidden;
}

.contact-item {
  padding: 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-item + .contact-item {
  border-top: 1px solid var(--clr-border);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
}

.contact-item a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-link);
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--clr-link-hover);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-text);
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--clr-accent); }

.footer-copy {
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    inset: 0;
    background: var(--clr-panel);
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--clr-border);
  }

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

  .nav-toggle { display: flex; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.wide { grid-column: span 1; }

  :root {
    --section-pad: 3rem;
  }
}
