/* HERO */
.apc-hero {
  color: #fff;
  text-align: center;
  height: 450px;
  background: url('../assets/images/Gallery.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.apc-hero .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.apc-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.apc-hero p {
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}

/* CONTAINER */
.apc-container {
  max-width: 1200px;
  margin: auto;
}

/* GALLERY SECTION */
.apc-gallery {
  padding: 80px 20px;
}

/* HEAD */
.apc-head {
  text-align: center;
}

.apc-head h2 {
  color: #C62828;
  font-size: 28px;
}

.apc-head p {
  color: #555;
  margin-top: 8px;
}

/* TABS */
.apc-tabs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.apc-tab {
  padding: 6px 16px;
  border-radius: 20px;
  background: #f2f2f2;
  cursor: pointer;
  transition: 0.3s;
}

.apc-tab.active {
  background: #C62828;
  color: #fff;
}

/* GRID */
.apc-grid {
  display: none;
  margin-top: 30px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.apc-grid.active {
  display: grid;
}

/* IMAGE & VIDEO */
.apc-grid img,
.apc-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.4s;
}

/* HOVER */
.apc-grid img:hover,
.apc-grid video:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* LIGHTBOX */
.apc-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.apc-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.apc-lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width:992px) {
  .apc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apc-hero h1 {
    font-size: 30px;
  }
}

@media(max-width:600px) {
  .apc-grid {
    grid-template-columns: 1fr;
  }

  .apc-hero {
    padding: 90px 15px;
  }

  .apc-hero h1 {
    font-size: 18px;
  }
  .apc-hero {
  color: #fff;
  text-align: center;
  height: 250px;
  background: url('../assets/images/Gallery.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.apc-hero p {
    max-width: 600px;
    margin: auto;
    opacity: 0.9;
    font-size: 13px;
}
.apc-gallery {
    padding: 20px 20px;
}
.apc-head p {
    color: #555;
    margin-top: 8px;
    font-size: 12px;
}
.apc-head h2 {
    color: #C62828;
    font-size: 21px;
}
}


/* LIGHTBOX */
.apc-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* IMAGE */
.apc-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

/* CLOSE BUTTON */
.apc-lightbox .close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* ANIMATION */
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}


.apc-grid img {
  cursor: pointer;
  transition: 0.3s;
}

.apc-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}