/* Hero Section */
.hero {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
              url('images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  margin-bottom: 80px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.subhead {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Filter Section */
.filter-section {
  margin-bottom: 64px;
}

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

.filter-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid #d2d2d7;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: #000;
  color: white;
  border-color: #000;
}

/* Gallery Grid */
.gallery-grid {
  padding: 0 24px;
  margin-bottom: 80px;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  transition: transform 0.3s ease;
}

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

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
  transform: translateY(0);
}

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

/* Testimonials */
.testimonials {
  text-align: center;
  padding: 80px 24px;
  background: #f5f5f7;
  margin-bottom: 80px;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  font-size: 2.5rem;
  color: #86868b;
}

.testimonial-cards {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.author {
  font-weight: 600;
  color: #1d1d1f;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 0 24px 120px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.25rem;
  color: #86868b;
  margin-bottom: 32px;
}

.cta-btn {
  padding: 12px 22px;
  background: #000;
  color: white;
  border-radius: 30px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cta-btn:hover {
  opacity: 0.8;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin: 60px 0;
}

.load-more-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #d2d2d7;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.load-more-btn:hover {
  background: #f5f5f7;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 40px;
  max-width: 900px;
  border-radius: 12px;
  display: flex;
  gap: 40px;
}

.close-modal {
  position: absolute;
  right: 32px;
  top: 32px;
  font-size: 2rem;
  cursor: pointer;
}

.modal-text {
  flex: 1;
}

.modal img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.modal-details {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.modal-details li {
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .subhead {
    font-size: 1.2rem;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    flex-direction: column;
    padding: 20px;
  }
  
  .modal img {
    width: 100%;
    height: auto;
  }
}