/* BREADCRUMB */
.breadcrumb-section {
  padding: 12rem 0 4rem;
  background: linear-gradient(180deg, #0a0008 0%, #050505 100%);
  position: relative;
  overflow: hidden;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.breadcrumb-path {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.breadcrumb-path a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-path a:hover {
  color: #fff;
}

.breadcrumb-path span {
  color: var(--hot-pink);
}

.breadcrumb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

/* GALLERY MASONRY */
#gallery {
  padding: 2rem 0 5rem;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  cursor: none;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  aspect-ratio: 4/5;
}

.gallery-item:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* LIGHTBOX STYLES */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 0, 5, 0.95);
  backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(255, 46, 147, 0.4);
  border: 1px solid rgba(255, 46, 147, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--hot-pink);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 1100px) {
  .lightbox-prev {
    left: 20px;
  }
  .lightbox-next {
    right: 20px;
  }
}

@media (max-width: 900px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox-content img {
    max-height: 60vh;
  }
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
}
