.gallery-page {
  padding-top: 80px;
  padding-bottom: 4rem;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-tab {
  padding: 0.5rem 2rem;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.gallery-tab.active {
  background: #007bff;
  color: white;
}

.gallery-section {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.gallery-section.active {
  display: block;
}

.gallery-grid.full {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

.video-item {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-content {
  margin-bottom: 4rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .gallery-grid.full,
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
