/* Hip-Hop Posters Project Page Styles */

/* Project Page Layout */
.project-page {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Project Hero Section */
.project-hero {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 40px;
}

.project-title {
    font-family: "bahnschrift", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 48px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Project Overview Section */
.project-overview {
    width: 100%;
    max-width: 1280px;
    max-width: 700px;
    margin: 0 auto;
}

.project-hero-images{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
    width: 1280px;
    max-width: 100%;
}

.project-hero-images img{
    width: 100%;
    display: inline;
}

.project-overview p {
  font-size: 18px;
  line-height: 1.6;
  color: white;
  text-align: left;
}

.caption-description{
    margin-top: -10px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    font-family: "bahnschrift", sans-serif;
    font-weight: 200;
    font-style: normal;
}

/* Flex Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* flex: 0 1 calc(50% - 20px); */
    gap: 15px;
    width: 90%;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.gallery-item figcaption {
		font-family: "bahnschrift", sans-serif;
		font-weight: 600;
		font-style: normal;
  font-size: 20px;
  text-align: center;
  color: white;
  width: 100%;
}

/* Tablet - 2 columns stays the same */
@media screen and (min-width: 48rem) {
  .gallery-item {
    flex: 0 1 calc(50% - 20px);
  }
}

/* Desktop - 3 columns */
@media screen and (min-width: 64rem) {
  .gallery-item {
    flex: 0 1 calc(33.333% - 27px);
  }

  .project-title {
    font-size: 56px;
  }

  .project-overview p {
    font-size: 18px;
  }
}

/* Large Desktop - Maintain good spacing */
@media screen and (min-width: 80rem) {
  .gallery {
    gap: 20px;
  }

  .gallery-item {
    flex: 0 1 calc(33.333% - 33px);
  }
}

/* Lightbox Modal Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  font-family: "bahnschrift", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 40px;
  font-size: 48px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10000;
  padding: 20px;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #ccc;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-item {
  cursor: pointer;
}

.gallery-item img {
  cursor: pointer;
}

@media screen and (max-width: 48rem) {
  .lightbox-caption {
    font-size: 16px;
    padding: 0 20px;
  }

  .lightbox-close {
    font-size: 36px;
    right: 15px;
    top: 15px;
  }
}

/* Brief Button Styles */
.brief-btn {
  display: block;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #a8cc7a;
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: "bahnschrift", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 120px;
  height: 50px;
    font-weight: bold;
    line-height: 1;
    font-family: Bahnschrift;
    transition: transform 500ms cubic-bezier(0.4, 0.0, 0.2, 1), text-shadow 200ms ease, opacity 200ms ease;
    margin-bottom: 12px;
}

.brief-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.brief-btn:active {
  transform: translateY(0);
}

/* Brief Modal Styles */
.brief-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background-color: #111111;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brief-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.brief-close {
  position: fixed;
  top: 20px;
  right: 40px;
  font-size: 48px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10000;
}

.brief-close:hover {
  color: #ccc;
}

.brief-content {
  position: relative;
  max-width: 800px;
  padding: 60px 40px;
  background-color: #111111;
  border-radius: 12px;
  color: white;
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
}

.brief-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: "bahnschrift", sans-serif;
  text-align: center;
}

.brief-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  font-family: "bahnschrift", sans-serif;
  color: #a8cc7a;
}

.brief-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

.brief-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style: disc;
}

.brief-content li {
    font-family: "bahnschrift", sans-serif;
    font-weight: 200;
    font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 10px;
  margin-left: 20px;
}

@media screen and (max-width: 500px) {
    .project-title {
        font-size: 30px;
    }
    .project-overview {
        font-size: 16px;
    }
    .gallery-item figcaption {
    font-size: 16px;
}
}