/* Gallery Page Styles */

/* Dark Semi-Transparent Header */
.gallery-dark-header {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-dark-header .logo-image {
  max-height: 50px;
}

.gallery-dark-header .main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-dark-header .main-navigation li {
  margin-left: 20px;
}

.gallery-dark-header .main-navigation a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.gallery-dark-header .main-navigation a:hover,
.gallery-dark-header .main-navigation a.active {
  color: var(--primary);
}

.gallery-dark-header .btn.btn-primary {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
}

.gallery-dark-header .btn.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Gallery Container */
.gallery-page-container {
  padding-top: 100px; /* Space for fixed header */
  padding-bottom: 60px;
  background-color: var(--gray-50);
}

.gallery-page-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.gallery-page-description {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.gallery-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-category {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-category:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-category.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.gallery-page-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  height: 15rem;
}

.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

/* Responsive Styles */
@media (min-width: 640px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .gallery-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-page-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Header Adjustments */
@media (max-width: 767px) {
  .gallery-dark-header {
    padding: 10px 0;
  }

  .gallery-header-content {
    flex-direction: column;
    align-items: center;
  }

  .gallery-dark-header .logo {
    margin-bottom: 10px;
  }

  .gallery-dark-header .main-navigation ul {
    justify-content: center;
  }

  .gallery-dark-header .main-navigation li {
    margin: 0 10px;
  }

  .gallery-page-container {
    padding-top: 120px; /* More space for the stacked header */
  }

  .gallery-page-title {
    font-size: 2rem;
  }
}

