/* 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;
}

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

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

.hero .subhead {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Gallery Filter */
.gallery-filter {
  padding: 40px 0;
  text-align: center;
}

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

.filter-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: transparent;
  border-radius: 30px;
  font-size: 0.9rem;
  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 20px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.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;
  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: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.item-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

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

/* Testimonials */
.testimonials {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: #555;
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  flex: 1;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 600;
  color: #333;
}

/* CTA Section */
.cta {
  padding: 100px 20px;
  text-align: center;
}

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

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

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

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

.btn-primary {
  background: #000;
  color: white;
  border: 1px solid #000;
}

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

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

.btn-link:hover {
  background: #f8f8f8;
}

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

.modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.modal-content img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.modal-info {
  padding: 30px;
}

.modal-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-category {
  color: #666;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subhead {
    font-size: 1.2rem;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .filter-btn {
    width: 80%;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .testimonial-cards {
    flex-direction: column;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 80%;
    margin-bottom: 10px;
  }
}