body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}

/* HERO */
.gallery-hero {
  height: 70vh;
  background: url("../../images/webp/Gallery/1/23.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.gallery-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 28px;
}

/* INTRO */
.gallery-intro {
  text-align: center;
  padding: 100px 20px;
  background: #ffffff 100%;
}

.gallery-intro h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0A84FF;
  margin-bottom: 16px;
}

.gallery-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-size: 17px;
  line-height: 1.6;
}

/* GALLERY */
.gallery-showcase {
  padding: 0px 30px 50px;
  background: #fff;
}

.gallery-category {
  margin-bottom: 80px;
}

.gallery-category h3 {
  font-size: 28px;
  color: #0A84FF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  filter: blur(10px);
  transform: scale(1.02);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.gallery-grid img.loaded {
    filter: blur(0);
    transform: scale(1);
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* VIDEO */
.video-showcase {
  position: relative;
  background: linear-gradient(135deg, #f7faff 0%, #e9f3ff 50%, #ffffff 100%);
  padding: 140px 20px;
  text-align: center;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(10,132,255,0.1), transparent 70%);
  z-index: 0;
}

.video-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.video-text h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0A84FF;
  margin-bottom: 12px;
}

.video-text p {
  color: #444;
  font-size: 18px;
  margin-bottom: 40px;
}

.video-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.video-thumbnail:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(130deg, #0A84FF, #3AB0FF);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(10,132,255,0.35);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(10,132,255,0.45);
}

.video-embed {
  display: none;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: fadeIn 0.5s ease forwards;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .video-text h2 {
    font-size: 28px;
  }
  .play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}



/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.close:hover {
  color: #0A84FF;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  font-weight: 400;
  cursor: pointer;
  padding: 12px;
  user-select: none;
  transition: 0.3s ease;
  opacity: 0.8;
  z-index: 10000;
}

.arrow:hover {
  color: #0A84FF;
  opacity: 1;
}

.arrow.left {
  left: 40px;
}

.arrow.right {
  right: 40px;
}

@media (max-width: 600px) {
  .arrow {
    font-size: 34px;
    padding: 8px;
  }
  .arrow.left { left: 20px; }
  .arrow.right { right: 20px; }
}


/* CTA */
.cta-box {
  padding: 120px 20px;
  background: linear-gradient(120deg, #0A84FF, #4fc3ff);
  text-align: center;
  color: white;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
}

.cta-inner p {
  margin: 14px 0 30px;
  font-size: 18px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 34px; }
  .gallery-intro h2 { font-size: 30px; }
  .gallery-grid img { height: 220px; }
}
