@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-card: #1a2e50;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #9d7d2e;
  --text: #f0ece2;
  --text-muted: #a09070;
  --border: rgba(201, 168, 76, 0.25);
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Backgrounds ── */
.bg-sheet {
  background:
    repeating-linear-gradient(
      transparent 0px, transparent 22px,
      rgba(201,168,76,0.07) 22px, rgba(201,168,76,0.07) 23px
    ),
    radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0a1628 0%, #122040 50%, #0a1628 100%);
}
.bg-alt { background: var(--navy-mid); }
.bg-card { background: var(--navy-card); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.gold { color: var(--gold); }
.muted { color: var(--text-muted); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.ornament {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
  margin: 0.8rem 0 0.5rem;
}

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo .clef { font-size: 2rem; }
.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  color: var(--text); text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.03rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.nav-burger { display: none; background: none; border: none; cursor: pointer; }
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); margin: 5px 0;
  transition: 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.5);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(transparent 0,transparent 22px,rgba(201,168,76,0.06) 22px,rgba(201,168,76,0.06) 23px),
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(30,60,120,0.4) 0%, transparent 50%),
    linear-gradient(160deg, #060f1e 0%, #0e1e36 40%, #060f1e 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-anniversary {
  position: absolute; right: 6%; bottom: 10%;
  font-family: 'Playfair Display', serif;
  text-align: center;
  opacity: 0.15;
}
.hero-anniversary .num {
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  color: var(--gold);
}
.hero-anniversary .label { font-size: 1rem; letter-spacing: 0.3rem; color: var(--gold-light); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-bar-inner {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem;
  max-width: 1140px; margin: 0 auto; padding: 0 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; letter-spacing: 0.06rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ── Photo placeholders ── */
.photo-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: rgba(201,168,76,0.3);
  position: relative; overflow: hidden;
}
.photo-placeholder.p1 { background: linear-gradient(135deg, #1a2a4a 0%, #0d1f3c 100%); }
.photo-placeholder.p2 { background: linear-gradient(135deg, #2a1a3a 0%, #1a0d2c 100%); }
.photo-placeholder.p3 { background: linear-gradient(135deg, #1a3a2a 0%, #0d2c1a 100%); }
.photo-placeholder.p4 { background: linear-gradient(135deg, #3a2a1a 0%, #2c1a0d 100%); }
.photo-placeholder.p5 { background: linear-gradient(135deg, #1a2a3a 0%, #0d1c2c 100%); }
.photo-placeholder.p6 { background: linear-gradient(135deg, #3a1a2a 0%, #2c0d1a 100%); }
.photo-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent 0, transparent 20px,
    rgba(201,168,76,0.03) 20px, rgba(201,168,76,0.03) 21px
  );
}

/* ── Event cards ── */
.event-card {
  display: flex; gap: 1.5rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.25s;
}
.event-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateX(6px);
}
.event-date-box {
  min-width: 70px; text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 1.5rem;
}
.event-day {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: var(--gold);
  line-height: 1;
}
.event-month { font-size: 0.8rem; letter-spacing: 0.1rem; color: var(--text-muted); text-transform: uppercase; }
.event-body { flex: 1; }
.event-tag {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.event-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 0.3rem; }
.event-desc { font-size: 0.9rem; color: var(--text-muted); }

/* ── Faculty cards ── */
.faculty-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.25s;
}
.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.5);
}
.faculty-img {
  height: 200px;
  position: relative; overflow: hidden;
}
.faculty-body { padding: 1.5rem; }
.faculty-body p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.6rem; }

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 4px;
  cursor: pointer;
}
.gallery-item .photo-placeholder { aspect-ratio: 4/3; transition: transform 0.3s; }
.gallery-item:hover .photo-placeholder { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { font-size: 2rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.85rem;
  letter-spacing: 0.05rem; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.1rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.timeline-year {
  font-size: 0.8rem; letter-spacing: 0.1rem;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-text { color: var(--text-muted); font-size: 0.95rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(transparent 0,transparent 22px,rgba(201,168,76,0.05) 22px,rgba(201,168,76,0.05) 23px),
    linear-gradient(180deg, #060f1e 0%, #0e1e36 100%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero-content h1 { margin-bottom: 0.8rem; }
.page-hero-content p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── Footer ── */
.footer {
  background: #060f1e;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo .clef { font-size: 2rem; }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); max-width: 260px; }
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.12rem;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ── Divider ── */
.divider {
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 1rem;
  margin: 1rem 0;
  opacity: 0.4;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy); padding: 1rem; border-bottom: 1px solid var(--border); gap: 0.3rem; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .hero-anniversary { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .event-card { flex-direction: column; }
  .event-date-box { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 1rem; display: flex; gap: 0.5rem; align-items: baseline; }
  .event-day { font-size: 1.8rem; }
}
