:root {
  --bg: #0f172a;
  --bg-alt: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --gold: #f59e0b;
  --white: #ffffff;
}

:root.light {
  --bg: #f7fafc;
  --bg-alt: #edf2f7;
  --card: #ffffff;
  --text: #1a202c;
  --muted: #4a5568;
  --accent: #2563eb;
  --gold: #d97706;
  --white: #0f172a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
:root.light .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.logo {
  font-weight: 800;
}
nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 0.6rem;
  font-weight: 500;
}
nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.btn.small {
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url("https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15,23,42,0.35), rgba(15,23,42,0.8));
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  margin-bottom: 1rem;
}
.hero p {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  color: #e2e8f0;
  font-size: 1.05rem;
}

.section {
  padding: 4.5rem 0;
}
.section.alt {
  background: var(--bg-alt);
}
h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}
.lead {
  color: var(--muted);
  max-width: 760px;
}

.stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.stat-card {
  background: var(--card);
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
:root.light .stat-card,
:root.light .card,
:root.light .timeline-item {
  border-color: rgba(0,0,0,0.08);
}
.stat-card h3 {
  margin: 0;
  color: var(--gold);
  font-size: 1.9rem;
}
.stat-card p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.timeline {
  margin-top: 1.2rem;
  border-left: 2px dashed rgba(255,255,255,0.25);
  padding-left: 1rem;
  display: grid;
  gap: 1rem;
}
:root.light .timeline {
  border-left-color: rgba(0,0,0,0.3);
}
.timeline-item {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.year {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #111827;
  background: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.cards {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
}
.card p {
  color: var(--muted);
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

.footer {
  padding: 2rem 0 3rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.muted {
  color: var(--muted);
}

/* scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  nav { display: none; }
}