/* Yuva Portfolio - Collection/Shuffle Page Styles */

/* Page Background */
.page-collection {
  background-color: var(--color-primary);
  color: var(--color-white);
  min-height: 100vh;
}

/* Shuffle Header */
.shuffle-header {
  padding: 120px 0 40px;
}

.shuffle-header__category {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  margin-bottom: 10px;
}

.shuffle-header__title {
  font-size: 150px;
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  line-height: 0.9;
  margin: 0;
}

/* Project List */
.shuffle-list {
  padding: 20px 0 60px;
}

.shuffle-list .project-list {
  display: flex;
  flex-direction: column;
}

.shuffle-list .project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  cursor: default;
  transition: all var(--transition-fast);
}

.shuffle-list .project-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.shuffle-list .project-item:hover {
  padding-left: 10px;
}

.shuffle-list .project-item__name {
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  transition: opacity 0.3s ease;
}

.shuffle-list .project-item__year {
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  transition: opacity 0.3s ease;
}

.shuffle-list .project-item:hover .project-item__name,
.shuffle-list .project-item:hover .project-item__year {
  opacity: 0.5;
}

/* More Projects Section Override for Collection Page */
.page-collection .more-projects {
  background-color: var(--color-primary);
  padding: 40px 0 60px;
}

.page-collection .more-projects__title {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.page-collection .arrow-btn {
  color: var(--color-white);
  border-color: var(--color-white);
}

.page-collection .arrow-btn:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Carousel navigation arrows - white on blue background */
.page-collection .more-projects__prev,
.page-collection .more-projects__next {
  color: var(--color-white);
  border-color: var(--color-white);
}

.page-collection .more-projects__prev:hover,
.page-collection .more-projects__next:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Footer - Inverted theme (white background, blue icons) */
.page-collection .footer {
  background-color: var(--color-white);
}

.page-collection .footer__social .icon-btn {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.page-collection .footer__social .icon-btn--instagram svg {
  stroke: var(--color-primary);
}

.page-collection .footer__email {
  color: var(--color-primary);
}

.page-collection .more-projects__slider {
  gap: 20px;
}

.page-collection .more-projects__item {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
}

.page-collection .more-projects__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .shuffle-header__title {
    font-size: 100px;
  }
}

@media (max-width: 810px) {
  .shuffle-header {
    padding: 100px 0 30px;
  }

  .shuffle-header__title {
    font-size: 70px;
  }

  .shuffle-header__category {
    font-size: 14px;
  }

  .shuffle-list .project-item__name,
  .shuffle-list .project-item__year {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .shuffle-header {
    padding: 80px 0 25px;
  }

  .shuffle-header__category {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .shuffle-header__title {
    font-size: 48px;
    line-height: 1;
  }

  .shuffle-list {
    padding: 15px 0 40px;
  }

  .shuffle-list .project-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }

  .shuffle-list .project-item:hover {
    padding-left: 8px;
  }

  .shuffle-list .project-item__name {
    font-size: 14px;
  }

  .shuffle-list .project-item__year {
    font-size: 12px;
    opacity: 0.7;
  }

  .page-collection .more-projects {
    padding: 30px 0 40px;
  }

  .page-collection .more-projects__title {
    font-size: 24px;
  }

  /* Collection page carousel - show 1 image at a time on mobile */
  .page-collection .more-projects__slider {
    max-width: 125px;  /* Show exactly 1 image at a time */
    gap: 0px;  /* No gap to prevent showing parts of other images */
    scroll-snap-type: x mandatory;  /* Snap to each image */
  }

  .page-collection .more-projects__item {
    width: 125px;  /* Match slider width */
    scroll-snap-align: start;  /* Snap alignment */
  }
}
