/* Hero Section */
.hero {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(to right, #f5f5f7, #ffffff);
  margin-bottom: 64px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #86868b;
  margin-bottom: 0;
}

/* Filter Controls */
.filter-controls {
  margin-bottom: 48px;
}

.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

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

.filter-btn:hover {
  background-color: #f5f5f7;
}

.filter-btn.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
  padding: 0 24px;
  margin-bottom: 64px;
}

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

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

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.image-overlay h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}

.image-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

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

.load-more-btn {
  padding: 12px 32px;
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: #000;
  color: #fff;
}

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

.section-title {
  font-size: 2rem;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  padding: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial i {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #86868b;
}

.testimonial blockquote {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial cite {
  font-style: normal;
  color: #86868b;
}

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

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.2rem;
  color: #86868b;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta-btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background-color: #000;
  color: #fff;
}

.cta-btn.primary:hover {
  background-color: #333;
}

.cta-btn.secondary {
  border: 1px solid #000;
  color: #000;
}

.cta-btn.secondary:hover {
  background-color: #f5f5f7;
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.modal-body {
  padding: 60px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 80px 24px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .modal-body {
    padding: 40px 24px;
  }
}