/* Hero Section */
.hero {
  padding: 120px 0 80px;
  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: 60px;
}

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

.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;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Gallery Filter */
.gallery-filter {
  margin-bottom: 48px;
  text-align: center;
}

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

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

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

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

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

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

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

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

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

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

.item-overlay h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.item-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 48px;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.logo-item {
  font-size: 2.5rem;
  color: #333;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.client-title {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* CTA Section */
.cta-section {
  padding: 80px 40px;
  text-align: center;
  background-color: #000;
  color: white;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

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

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

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

.cta-btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.cta-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.modal-content {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

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

.modal-image {
  width: 60%;
  object-fit: cover;
}

.modal-details {
  width: 40%;
  padding: 40px;
}

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

.modal-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-grid {
    padding: 0 20px;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .modal-content {
    flex-direction: column;
    margin: 20px;
  }
  
  .modal-image, .modal-details {
    width: 100%;
  }
}