/* ===== Gallery Section ===== */
.gallery-section {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.gallery-header hr {
  border: none;
  height: 3px;
  background-color: #3B82F6;
  width: 60px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  height: 280px;
  background-color: #f5f5f5;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-section {
    padding: 20px;
    margin: 30px auto;
  }

  .gallery-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }

  .gallery-overlay h3 {
    font-size: 14px;
  }
}

/* ===== Footer CTA Section ===== */
.cta-footer {
  background-color: black;
  color: white;
  padding: 40px 0;
  margin: 0;
}
.cta-footer .cta-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.cta-footer h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
}
.cta-footer p {
  font-size: 16px;
  color: #bbb;
  margin: 10px auto 20px;
  max-width: 800px;
  line-height: 1.6;
}
.cta-footer .cta-btn {
  display: inline-block;
  background-color: #3B82F6;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-footer .cta-btn:hover {
  background-color: #1e293b;
  color: #3B82F6;
  transform: translateY(-2px);
}
.cta-footer + .footer {
  margin-top: 0;
}
