/* =============================================
   WHS Alumni Scholarship Fund — Shared Styles
   ============================================= */

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

:root {
  --navy:      #0a1628;
  --navy-mid:  #112240;
  --gold:      #c8943a;
  --gold-light:#e8b96a;
  --cream:     #faf6ef;
  --white:     #ffffff;
  --gray:      #6b7280;
  --light-gray:#f3f0ea;
  --text:      #374151;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  border-bottom: 1px solid rgba(200,148,58,0.25);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 20px;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 14px;
  color: var(--white); line-height: 1.2;
}
.nav-logo-text span {
  display: block; font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 400;
  color: var(--gold-light); letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px; border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed; inset: 70px 0 0 0;
  background: var(--navy); z-index: 199;
  flex-direction: column; padding: 32px 5%;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 18px; font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--gold-light); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 130px 5% 70px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 40%, rgba(200,148,58,0.1) 0%, transparent 70%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(200,148,58,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,148,58,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  display: block;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 18px;
}
.page-hero p {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.65); line-height: 1.75;
  max-width: 560px;
}

/* ---- SECTION COMMONS ---- */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 46px); font-weight: 900;
  line-height: 1.12; color: var(--navy); margin-bottom: 20px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.section { padding: 90px 5%; }
.section-center { text-align: center; }
.section-center h2, .section-center p { max-width: 640px; margin-left: auto; margin-right: auto; }
.lead {
  font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 16px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 14px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,148,58,0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 13px 28px; border-radius: 6px;
  border: 2px solid var(--navy);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---- CARDS ---- */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.cards-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; max-width: 900px; margin: 0 auto;
}
.card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(10,22,40,0.08);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(10,22,40,0.12);
}
.card-body { padding: 28px; }
.card-body p { font-size: 15px; line-height: 1.65; color: var(--gray); margin-bottom: 20px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ---- GOLD DIVIDER ---- */
.gold-bar {
  background: var(--gold); padding: 20px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.gold-bar p {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: var(--navy);
}
.gold-bar-divider { width: 1px; height: 22px; background: rgba(10,22,40,0.25); }

/* ---- FOOTER ---- */
footer {
  background: #060d1a;
  padding: 60px 5% 28px;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 0 auto 48px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--white);
  display: block; margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 12px; color: var(--gold-light); letter-spacing: 0.04em;
  display: block; margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08); border-radius: 8px;
  color: var(--white); text-decoration: none; font-size: 15px;
  font-weight: 700; transition: background 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-contact-item .ico { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.3);
  max-width: 1200px; margin: 0 auto;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ---- PHOTO UTILS ---- */
.photo-cover {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.rounded { border-radius: 16px; overflow: hidden; }
.shadow { box-shadow: 0 20px 60px rgba(10,22,40,0.18); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gold-bar { text-align: center; }
  .gold-bar-divider { display: none; }
}
