/* ===== styles.css ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #fcfcfc;
  color: #1e2b37;
  line-height: 1.5;
}

/* professional colour palette – navy, white, gold accent */
:root {
  --navy: #0a2342;
  --gold: #b8944b;
  --gold-light: #dbbc7e;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-600: #4a5568;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 28px -8px rgba(10, 35, 66, 0.2), 0 8px 16px -6px rgba(0,0,0,0.1);
  --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* === HEADER / NAVIGATION === */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 20, 40, 0.05);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon img {
  height: 70px;
  width: auto;
}

.college-name {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 280px;
}
.college-name span {
  font-weight: 400;
  color: var(--gray-600);
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  border-radius: 40px;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.nav-btn:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(184, 148, 75, 0.25);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background-image: url('/alumnifront.png');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 35, 66, 0.5);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #fff, #f0e9d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* === ALUMNI GALLERY (diagonal / stair layout) === */
.gallery-section {
  max-width: 1280px;
  margin: 5rem auto 6rem;
  padding: 0 2rem;
}

.gallery-title {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-title h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.gallery-title h2 span {
  color: var(--gold);
}
.gallery-title p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.stair-gallery {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.row-1 .image-wrapper {
  flex: 1 1 280px;
  max-width: 380px;
  transform: translateY(0);
}
.row-1 .desc-box {
  flex: 1 1 260px;
}

.row-2 .image-wrapper {
  flex: 1 1 280px;
  max-width: 380px;
  transform: translateY(2rem) translateX(2rem);
}
.row-2 .desc-box {
  flex: 1 1 260px;
  order: -1;
}

.row-3 .image-wrapper {
  flex: 1 1 280px;
  max-width: 380px;
  transform: translateY(4rem) translateX(1rem);
}
.row-3 .desc-box {
  flex: 1 1 260px;
}

.image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
  will-change: transform, filter, brightness;
}

.image-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.01) translateY(-4px);
}

.image-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.desc-box {
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: var(--off-white);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.desc-box h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.desc-box .year {
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.desc-box p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 800px) {
  .row-2 .desc-box {
    order: -1;
  }
  .row-2 .image-wrapper {
    transform: translateY(2.5rem) translateX(-0.5rem);
  }
  .row-3 .image-wrapper {
    transform: translateY(5rem) translateX(-2rem);
  }
}

@media (max-width: 799px) {
  .gallery-row {
    flex-direction: column;
    transform: none !important;
  }
  .row-2 .desc-box {
    order: 0;
  }
  .image-wrapper {
    transform: none !important;
    max-width: 500px;
    width: 100%;
  }
  .desc-box {
    width: 100%;
    max-width: 500px;
    margin-top: -0.5rem;
  }
  .hero {
    height: 50vh;
    min-height: 340px;
  }
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: #d0d9e5;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  border-top: 4px solid var(--gold);
}
.footer a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
}