/* ===== NMU official colors (NMU Institutional Brand Standards, p. 2) ===== */
:root {
  --deca-dark-blue:#1569b3;
  --deca-light-blue: #1687ea;
  --nmu-green: #115740 ;     /* NMU Green - Pantone 343C */
  --nmu-green-dark: #0b3d2c; /* darker shade for gradients/footer */
  --nmu-gold: #FFC425;       /* NMU Gold - Pantone 123C */
  --text: #1f2421;
  --muted: #5b625e;
  --bg: #ffffff;
  --bg-alt: #f3f6f4;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, var(--nmu-green) 0%, var(--deca-light-blue) 100%);
  border-bottom: 4px solid var(--nmu-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* White badge behind the emblem so the green "N" doesn't vanish on the green header */
.brand-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 50%;
  padding: 5px;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { color: var(--white); font-weight: 700; font-size: 1.2rem; }
.brand-sub { color: var(--nmu-gold); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }

.site-nav { display: flex; gap: 24px; }
.site-nav a {
  color: var(--nmu-gold);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--nmu-gold); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nmu-gold);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== Cover Photo ===== */
.hero {

  background: url("Cover_Photo.png") center/cover ,linear-gradient(135deg, var(--nmu-green) 0%, var(--nmu-green-dark) 10%) ;
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.hero p { max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; opacity: 0.92; }

.btn {
  display: inline-block;
  background: var(--nmu-gold);
  color: var(--nmu-green-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 {
  color: var(--nmu-green);
  font-size: 2rem;
  margin-bottom: 16px;
}
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--nmu-gold);
  margin-top: 8px;
}
.section > .container > p { color: var(--muted); margin-bottom: 20px; max-width: 720px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e2e8e4;
  border-top: 4px solid var(--nmu-green);
  border-radius: 8px;
  padding: 24px;
}
.card h3 { color: var(--nmu-green); margin-bottom: 8px; }
.card p { color: var(--muted); }
/* Officer_Cards_Design*/
.officer{ 
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
 }
/* The circle frame: crops whatever is inside it */
.photo-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--nmu-green);
  margin: 0 auto 12px;
}
/* Per-photo controls (set in the img's style attribute):
   --x    left/right   negative = move photo left, positive = right (e.g. -10%)
   --y    up/down      0% = top of photo, 100% = bottom
   --zoom zoom level   1 = no zoom; raise it (1.2, 1.4) to make room to move left/right */
.officer-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% var(--y, 20%);
  transform: translateX(var(--x, 0%)) scale(var(--zoom, 1));
}

.event-list { list-style: none; margin-top: 20px; }
.event-list li {
  background: #fff;
  border-left: 4px solid var(--nmu-gold);
  padding: 14px 18px;
  margin-bottom: 10px;
  border-radius: 4px;
}
.event-date { font-weight: 700; color: var(--nmu-green); margin-right: 12px; }

a { color: var(--nmu-green); }

/* Officer hover details */
.officer-details {
  position: absolute;
  inset: 0;
  background: var(--nmu-green);
  color: #fff;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0%;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.officer-details h4 { margin-bottom: 8px; font-size: 1.1rem; }
.officer-details p  { color: #fff; margin: 4px 0; }
.officer-details ul { margin: 4px 0 0 18px; }

/* Linked button inside the hover panel */
.officer-link {
  align-self: center;
  margin-top: 14px;
  padding: 8px 22px;
  font-size: 0.95rem;
}
.officer-link:hover { background: var(--white); }

.officer:hover .officer-details,
.officer:focus-within .officer-details,
.officer.show-details .officer-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}









/* ===== Footer ===== */
.site-footer {
   background: linear-gradient(135deg, var(--nmu-green) 0%, var(--deca-light-blue) 100%);
  color: #cfd8d3;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  grid
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nmu-green);
    border-bottom: 4px solid var(--nmu-gold);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .brand-sub { font-size: 0.7rem; }
}

/* ===== Photo Carousel ===== */
.carousel {
  position: relative;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;           /* hide scrollbar (Firefox) */
}
.carousel-track::-webkit-scrollbar { display: none; } /* hide scrollbar (Chrome/Safari) */

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
  background: var(--nmu-green-dark);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 36px;
  color: var(--white);
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(var(--nmu-green), 0.8);  /* NMU green */
  color: var(--nmu-gold);
  font-size: 1.2rem;
  cursor: pointer;
}
.carousel-btn:hover { background: var(--nmu-green); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: var(--nmu-gold); }

@media (max-width: 760px) {
  .carousel-slide { aspect-ratio: 4 / 3; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
}