/* ========================================
   UI COMPONENTS - MODALS & INTERACTIVE ELEMENTS
   ======================================== */

/* Project Details Styling */
.project-details {
  background: #181818;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.project-details .project-description {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.project-meta li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.project-meta a {
  color: #40e0d0;
  text-decoration: underline;
}

/* Lightbox Component */
.lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  transition: opacity 0.2s;
}

.lightbox__img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 40px #000a;
}

.lightbox__close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  padding: 0 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox__arrow:hover,
.lightbox__close:hover {
  opacity: 1;
}

.lightbox__arrow--left {
  left: 32px;
}

.lightbox__arrow--right {
  right: 32px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  z-index: 100;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Hide scroll indicator on mobile */
@media (max-width: 800px) {
  .scroll-indicator {
    display: none;
  }
}