/* Gallery Styles */
.gallery-container {
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-header h1.sec-heading {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-grid {
  columns: 4 300px;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: white;
}

.gallery-item-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 2 250px;
  }
  .gallery-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1 300px;
  }
  .gallery-item img {
    height: 350px;
  }
} 