/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.section-padding {
  padding: var(--section-padding) 0;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 15, 26, 0.7), var(--bg-dark));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   GALLERY FILTER
   ============================================ */
.gallery-filter {
  background: var(--primary);
  padding: 30px 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.filter-categories {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-light);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-section {
  background: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent);
}

.gallery-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

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

.zoom-btn {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.gallery-item:hover .zoom-btn {
  transform: scale(1);
}

.zoom-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.5);
}

.gallery-info {
  padding: 20px;
}

.gallery-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.gallery-info h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   FEATURED COLLECTION
   ============================================ */
.featured-collection {
  background: var(--primary);
}

.collection-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.collection-text {
  max-width: 500px;
}

.collection-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.collection-text h2 {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.collection-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.collection-features {
  list-style: none;
  margin-bottom: 35px;
}

.collection-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1rem;
}

.collection-features li i {
  width: 35px;
  height: 35px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
}

.collection-images {
  position: relative;
  height: 500px;
}

.collection-image {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image {
  width: 70%;
  height: 80%;
  top: 0;
  right: 0;
  z-index: 2;
}

.sub-image-1 {
  width: 45%;
  height: 45%;
  bottom: 0;
  left: 0;
  z-index: 3;
  border: 4px solid var(--primary);
}

.sub-image-2 {
  width: 35%;
  height: 35%;
  bottom: 15%;
  left: 35%;
  z-index: 1;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--primary);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-info {
  margin-top: 25px;
}

.lightbox-info h3 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.lightbox-info p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  transform: translateX(150%);
  transition: transform var(--transition-medium);
  z-index: 9999;
}

.notification.show {
  transform: translateX(0);
}

.notification i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .collection-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .collection-text {
    max-width: 100%;
    text-align: center;
  }
  
  .collection-features li {
    justify-content: center;
  }
  
  .collection-images {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .filter-categories {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .filter-btn span {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  .collection-images {
    height: 350px;
  }
  
  .collection-text h2 {
    font-size: 2rem;
  }
  
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .lightbox-nav.prev {
    left: 15px;
  }
  
  .lightbox-nav.next {
    right: 15px;
  }
  
  .lightbox-info h3 {
    font-size: 1.3rem;
  }
}
