/* Gallery Section */
.gallery-section {
  padding: 20px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}


.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-tab {
  padding: 10px 20px;
  border-radius: 50px;
  background: white;
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: #FF652F;
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(255, 101, 47, 0.3);
}

/* Modified Gallery Grid for Larger Previews */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Modal Styles for Larger Preview */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 2% auto;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: #FF652F;
  transform: rotate(90deg);
}

#expandedImage {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .gallery-grid {
    gap: 15px;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .gallery-tab {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  #expandedImage {
    max-height: 70vh;
  }
}

/* Gallery Heading Styles */
.gallery-heading {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-heading h6 {
  color: #FF652F;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.gallery-heading h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #272727;
  margin-bottom: 20px;
  line-height: 1.3;
}

.gallery-heading p {
  color: #747474;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-heading h1 {
    font-size: 2rem;
  }
  
  .gallery-heading p {
    font-size: 1rem;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .gallery-heading h1 {
    font-size: 1.8rem;
  }
  
  .gallery-heading h6 {
    font-size: 0.9rem;
  }
}

