@font-face {
    font-family: SingleGhost;
    src: url(assets/fonts/SingleGhost.ttf);
}
@font-face {
    font-family: Spectral;
    src: url(assets/fonts/Spectral.ttf);
}

body {
    background-color: rgb(22, 22, 22);
    color: white;
    font-family: Spectral;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.page {
    display: none;
}

.page.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(22, 22, 22);
    padding-bottom: 0.7rem;
    padding-top: 0.7rem;
    z-index: 100;
}

#siteTitle {
    font-family: SingleGhost;
    font-size: 4rem;
    letter-spacing: 0.03rem;
    margin: 0;
    align-self: center;
    text-align: center;
}

 #navList {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: center;
    list-style: none;
    padding: 0;
}

.navItem {
    font-size: 1.5rem;
    cursor: pointer;
}

.navItem.current {
    border-bottom: 3px solid rgb(68, 0, 23);
}

#hero {
  width: 100%;
  height: 45vh;
  overflow: hidden;
  display: flex;
}

.heroSlot {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.heroSlot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.87) 10%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.heroTitle {
  font-size: 1.2rem;
  color: white;
  margin: 0;
}

.heroDate {
  font-size: 0.8rem;
  color: rgb(180, 180, 180);
  margin: 0;
  margin-top: 0.2rem;
}

#gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#galleryGrid {
    columns: 4;
    column-gap: 0rem;
    width: 100%;
}

.photo {
    width: 100%;
    display: block;
}

#lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.907);
}

#lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightboxContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
}

#lightboxImg {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    width: auto;
    height: auto;
}

#lightboxInfo {
    display: flex;
    flex-direction: column;
}

#lightboxTitle {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 2rem;
    margin: 0;
}

#lightboxDate {
    text-align: center;
    font-size: 1rem;
    color: rgb(108, 108, 108);
    margin: 0;
}

#lightboxTags {
  text-align: center;
  font-size: 0.6rem;
  color: rgb(108, 108, 108);
  margin: 0;
  margin-top: 0.3rem;
}

#about.page.active  {
  justify-content: center;
  min-height: 80vh;
  width: 100%;
}

.aboutLine {
  width: 40%;
  text-align: center;
  font-size: 1.2rem;
  color: rgb(168, 168, 168);
  margin: 0;
  padding-top: 1rem;
}

#contact.page.active {
  justify-content: center;
  min-height: 80vh;
  gap: 1rem;
}

#contactHeading {
  font-size: 1.2rem;
  color: rgb(150, 150, 150);
  margin-bottom: 0.5rem;
}

.contactLink {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

#adminLink {
    position: absolute;
    bottom: 1rem;
    color: rgb(24, 24, 24);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    nav {
        width: 100%;
        justify-content: space-between;
    }

    #siteTitle {
        font-size: 2.3rem;
        padding-left: 1rem;
    }
    
    #navList {
        gap: 1rem;
        padding-right: 1rem;
    }

    .navItem {
        font-size: 1rem;
    }

    .heroSlot {
        width: 100%;
    }

    #heroSlot2 {
        display: none;
    }

    #filterList {
        gap: 0.9rem;
    }

    .filterItem {
        font-size: 0.9rem;
    }

    #galleryGrid {
        columns: 2;
        width: 100%;
    }

    #lightboxContent {
        width: 100%;
    }

    #lightboxImg {
        max-width: 100%;
        max-height: 60vh;
    }

    .aboutLine {
    width: 80%;
    font-size: 1rem;
    }
}