/* === Local Fonts === */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/PT_Serif/PTSerif-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/PT_Serif/PTSerif-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/PT_Serif/PTSerif-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 700;
  src: url('/fonts/PT_Serif/PTSerif-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/source-sans-pro/SourceSansPro-ExtraLight.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 200;
  src: url('/fonts/source-sans-pro/SourceSansPro-ExtraLightItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/source-sans-pro/SourceSansPro-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 300;
  src: url('/fonts/source-sans-pro/SourceSansPro-LightItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/source-sans-pro/SourceSansPro-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/source-sans-pro/SourceSansPro-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/source-sans-pro/SourceSansPro-Semibold.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 600;
  src: url('/fonts/source-sans-pro/SourceSansPro-SemiboldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/source-sans-pro/SourceSansPro-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 700;
  src: url('/fonts/source-sans-pro/SourceSansPro-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/source-sans-pro/SourceSansPro-Black.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 900;
  src: url('/fonts/source-sans-pro/SourceSansPro-BlackItalic.ttf') format('truetype');
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Rutgers Colors */
  --color-primary: #CC0033;
  --color-neutral: #666666;
  --color-accent: #000000;
  --color-bg: #ffffff;
  --color-bg-card: #f5f5f5;
  --color-bg-card-hover: #eeeeee;
  --color-text: var(--color-accent);
  --color-text-light: var(--color-bg);
  --color-text-muted: var(--color-neutral);
  --color-border: #dddddd;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
  font-weight: 600;
  /* font-family: 'PT Serif', Georgia, serif; */
  background-color: var(--color-bg);
  color: var(--color-text-muted);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 800;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  backdrop-filter: blur(12px);
  /* border-bottom: 1px solid var(--color-border); */
}

.nav__container {
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__link {
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* === Showcase === */
.showcase {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}

.showcase__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.144) 0%,
    rgba(0, 0, 0, 0.801) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.showcase__title {
  font-size: clamp(4rem, 6vw, 8rem);
  font-weight: 900;
  text-align: center;
  color: var(--color-text-light);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
  margin-bottom: 12px;
}

.showcase__subtitle {
  font-size: clamp(1rem, 2vw, 2rem);
  color: var(--color-text-light);
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

/* === About === */
.about {
  padding: 80px 0;
  background: var(--color-bg-card);
  /*border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);*/
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about__text {
  font-size: 1.15rem;
  line-height: 1.8;
}

.about__text p {
  margin-bottom: 16px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__image img {
  width: 100%;
  /*border-radius: var(--radius-lg);
  box-shadow: var(--shadow);*/
  object-fit: cover;
}

/* === Calendar === */
.calendar {
  padding: 80px 0;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.calendar__card {
  display: flex;
  gap: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.calendar__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.calendar__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
}

.calendar__month {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.calendar__day {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text-light);
}

.calendar__info {
  flex: 1;
}

.calendar__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.calendar__time,
.calendar__location {
  font-size: 0.9rem;
  color: var(--color-text);
}

.calendar__time {
  margin-bottom: 4px;
}

.calendar__location {
  margin-bottom: 8px;
}

.calendar__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.calendar__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* === Socials === */
.socials {
  padding: 80px 0;
  background: var(--color-bg-card);
  /* border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); */
}

.socials__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.socials__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  transition: all var(--transition);
}

.socials__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.socials__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.socials__link--discord {
  color: #5865f2;
}

.socials__link--discord:hover {
  border-color: #5865f2;
}

.socials__link--x {
  color: #000000;
}

.socials__link--x:hover {
  border-color: #000000;
}

.socials__link--tiktok {
  color: #fe2c55;
}

.socials__link--tiktok:hover {
  border-color: #fe2c55;
}

.socials__link--instagram {
  color: #e4405f;
}

.socials__link--instagram:hover {
  border-color: #e4405f;
}

.socials__link--youtube {
  color: #FF0000;
}

.socials__link--youtube:hover {
  border-color: #FF0000;
}

.socials__link--linktree {
  color: #39d184;
}

.socials__link--linktree:hover {
  border-color: #39d184;
}

/* === Board === */
.board-section {
  padding: 120px 0 80px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  gap: 32px;
  justify-content: center;
}

.board-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.board-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
}

@keyframes boardCardSweep {
  0% {
    transform: translateY(0);
    border-color: var(--color-border);
  }
  30% {
    transform: translateY(-6px);
    border-color: var(--color-primary);
  }
  70% {
    transform: translateY(-6px);
    border-color: var(--color-primary);
  }
  100% {
    transform: translateY(0);
    border-color: var(--color-border);
  }
}

.board-card--sweep {
  animation: boardCardSweep 0.75s ease forwards;
}

.board-card--sweep .board-card__image--photo {
  animation: sweepPhoto 1s ease forwards;
}

.board-card--sweep .board-card__image--fursona {
  animation: sweepFursona 1s ease forwards;
}

@keyframes sweepPhoto {
  0%, 12% {
    opacity: 1;
    z-index: 2;
  }
  30%, 50% {
    opacity: 0;
    z-index: 1;
  }
  68%, 100% {
    opacity: 1;
    z-index: 2;
  }
}

@keyframes sweepFursona {
  0%, 12% {
    opacity: 0;
    z-index: 1;
  }
  30%, 50% {
    opacity: 1;
    z-index: 3;
  }
  68%, 100% {
    opacity: 0;
    z-index: 1;
  }
}

.board-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.board-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.board-card__image--photo {
  opacity: 1;
  z-index: 2;
}

.board-card__image--fursona {
  opacity: 0;
  z-index: 1;
}

.board-card:hover .board-card__image--photo {
  opacity: 0;
}

.board-card:hover .board-card__image--fursona {
  opacity: 1;
  z-index: 3;
}

.board-card__info {
  padding: 20px;
  text-align: center;
}

.board-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.board-card__role {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* === Mascot Gallery === */
.mascot-gallery {
  padding: 120px 0 80px;
}

.mascot-gallery__grid {
  column-count: 3;
  column-gap: 20px;
}

.mascot-gallery__item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.mascot-gallery__item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.mascot-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.mascot-gallery__item:hover img {
  transform: scale(1.03);
}

/* === Lightbox === */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.10s ease;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 10000;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-primary);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav--prev {
  left: 16px;
}

.lightbox-nav--next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 800;
  z-index: 10000;
}

@media (max-width: 768px) {
  .lightbox-overlay img {
    max-width: 100vw;
    max-height: 85vh;
    width: 100%;
    border-radius: 0;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .lightbox-nav {
    background: rgba(255, 255, 255, 0.05);
  }

  .lightbox-nav--prev {
    left: 8px;
  }

  .lightbox-nav--next {
    right: 8px;
  }

  .lightbox-counter {
    bottom: 16px;
    font-size: 0.8rem;
  }
}

/* === About Image Link ===
.about__image-link {
  cursor: pointer;
  display: block;
  transition: transform var(--transition);
}

 .about__image-link:hover {
  transform: scale(1.02);
}

.about__image-link:hover .about__image img {
  box-shadow: var(--shadow);
} */

/* === Footer === */
.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-light);
  background: var(--color-accent);
  font-size: 0.9rem;
  /* border-top: 1px solid var(--color-border); */
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links.open {
    display: flex;
  }

  .showcase {
    height: 45vh;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calendar__grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 20px;
  }

  .socials__grid {
    gap: 16px;
  }

  .socials__link {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .mascot-gallery__grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .mascot-gallery__grid {
    column-count: 1;
  }
}
