/* ====== GALLERY PAGE STYLES ====== */

.ct-gallery {
  background: #fff;
}

.ct-filter-btns {
  gap: 10px;
}

.ct-filter-btns .btn {
  background-color: #f2f5f4;
  color: #212529;
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.ct-filter-btns .btn.active,
.ct-filter-btns .btn:hover {
  background-color: #0e7b63;
  color: #fff;
}

.ct-gallery-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ct-gallery-container img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 767px) {
  .ct-filter-btns {
    flex-direction: column;
    align-items: center;
  }

  .ct-filter-btns .btn {
    width: 90%;
  }

  .ct-gallery-container .col-6 {
    width: 100%;
  }
}

/* ====== FIXED CARD SIZE ====== */

.ct-media-box {
  width: 100%;
  aspect-ratio: 4 / 3; /* maintain consistent shape */
  overflow: hidden;
  border-radius: 16px;
  background: #f8f9fa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-media-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover Effect */
.ct-media-box:hover .ct-media-content {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Video Style */
.ct-media-box video.ct-media-content {
  background: #000;
  object-fit: cover;
}

/* Responsive Tuning */
@media (max-width: 767px) {
  .ct-media-box {
    aspect-ratio: 1 / 1; /* square shape on mobile */
  }
}

/* === Hero Section === */
.gallery-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/gallery.webp') center center / cover no-repeat;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.gallery-hero-section h1 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 600;
    margin: 10rem 0rem 1rem 0rem;
}

.gallery-hero-section p {
  font-size: 1.2rem;
  /* max-width: 600px; */
  margin: 0 auto;
}

/* === CTA Section === */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  color: white;
}


.cta-btn {
  background-color: white;
  color: #145C52;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid #145C52;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #145C52;;
  color: white;
  transform: translateY(-3px);
}
