/* GENERAL PAGE STYLE */

body {
  font-family: Arial, sans-serif;
  background-color: #0f0f0f;
  color: white;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  margin-bottom: 60px;
}

h2 {
  margin-bottom: 20px;
}


/* YEAR SECTIONS */

.year {
  margin-bottom: 80px;
}

html {
  scroll-behavior: smooth;
}


/* PHOTO GALLERY GRID */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}



/* PHOTO STYLE */

.gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


/* LIGHTBOX BACKGROUND */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}


/* EXPANDED IMAGE */

#lightbox-img {
  display: block;
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}


/* CAPTION TEXT */

#lightbox-caption {
  color: white;
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  line-height: 1.4;
}


/* CLOSE BUTTON */

.lightbox-content {
  position: relative;
  display: inline-block;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.7);
}


.video-container {
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.enter-button {
  margin-top: 30px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border: 1px solid white;
  padding: 12px 24px;
}

.enter-button:hover {
  background: white;
  color: black;
}

#lightbox-caption {
  text-transform: capitalize; /* Capitalizes first letter of every word */
  /* or use text-transform: uppercase; to make all letters uppercase */
}


.top-bar {
  width: 100%;
  padding: 12px 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  background: transparent; /* 👈 removes black bar */
}

.top-bar a:visited {
  color: white; /* keeps them white after clicking */
}

.top-bar a:hover {
  opacity: 0.7;
}

.top-bar a {
  color: white;
  font-size: 16px;
}

.top-bar a:hover {
  opacity: 0.6;
}

.subtitle {
  text-align: center;
}



.subtitle {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;       /* remove extra space above */
  margin-bottom: 20px; /* space before the rest of the content */
  color: gray;
}




.container {
  max-width: 1200px;  /* optional, limits width on large screens */
  margin: 0 auto;      /* centers container horizontally */
  padding: 0 20px;     /* 20px padding on left & right */
  box-sizing: border-box; /* ensures padding doesn’t break layout */
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px; /* slightly smaller padding on small screens */
  }
}








/* =================== CLEAN, PROFESSIONAL LANDING PAGE =================== */

.landing-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.landing-page .container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* MAIN HEADING */
.landing-page h1 {
  font-size: clamp(36px, 5vw, 50px);
  margin: 0;
  line-height: 1.15;
}

/* TOP BAR */
.landing-page .top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 1px 0 0 0;   /* closer to name */
  flex-wrap: wrap;
}

.landing-page .top-bar a {
  font-size: clamp(16px, 2vw, 24px);
  color: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-page .top-bar a:hover {
  transform: translateY(-3px) scale(1.1);
  opacity: 0.8;
}

.landing-page .top-bar i {
  font-size: clamp(20px, 2.5vw, 28px);
}

/* MAIN LINKS */
.landing-page .main-links {
  display: flex;
  justify-content: center;
  margin-top: 16px;   /* brings archive higher */
  padding-top: 0;
  position: static;
}

.landing-page .main-links::before {
  content: none;      /* removes line above archive */
}

.landing-page .main-links a {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: bold;
  letter-spacing: clamp(1px, 0.3vw, 2px);
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-page .main-links a:hover {
  background: white;
  color: black;
  text-decoration: none;
  transform: translateY(-2px);
}


/* ENTER BUTTON */
.landing-page .enter-button {
  font-size: clamp(18px, 2.5vw, 28px);
  padding: clamp(12px, 2vw, 28px) clamp(24px, 3vw, 36px);
}

/* VIDEO CONTAINER */
.landing-page .video-container {
  width: clamp(70vw, 80vw, 900px);
  aspect-ratio: 16 / 9;
}

/* LIGHTBOX */
.landing-page #lightbox-caption {
  font-size: clamp(14px, 1.5vw, 20px);
}

.landing-page .lightbox-close {
  font-size: clamp(32px, 4vw, 45px);
  top: clamp(15px, 2.5vw, 25px);
  right: clamp(25px, 4vw, 40px);
}


@media (max-width: 768px) {
  .landing-page h1 {
    font-size: 60px;
  }

  .landing-page .top-bar i {
    font-size: 24px;
  }

  .landing-page .main-links a {
    font-size: 28px;
    padding: 11px 20px;
  }
}

.archive-page {
  padding-top: 42px;
}

.archive-page h1 {
  text-align: center;
  margin: 0 0 14px 0;
}

.archive-page .top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  padding: 0;
  width: 100%;
}

.archive-page .top-bar i {
  font-size: 22px;
}

.archive-page .subtitle {
  text-align: center;
  font-size: 14px;
  color: gray;
  margin: 0 0 8px 0;
  line-height: 1.5;
}
.year-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 24px 0 40px 0;
}

.year-nav-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.year-nav a {
  color: #bfbfbf;
  text-decoration: none;
  font-size: 14px;
  padding: 0 8px;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.year-nav a:hover {
  color: white;
  opacity: 1;
  transform: scale(1.08);
}

.year-nav-row a:not(:last-child)::after {
  content: "/";
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .lightbox {
    padding: 16px;
    box-sizing: border-box;
  }

  .lightbox-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #lightbox-img {
    display: block;
    margin: 0 auto;
    max-width: 92vw;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  #lightbox-caption {
    max-width: 92vw;
    font-size: 15px;
    text-align: center;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}


