/* HERO SECTION */
.hero {
  background: url("../web-img/contact/banner.webp") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--black);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--black);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--black);
  max-width: 600px;
  margin: 0 auto;
}

/* Projects Grid Styles */
.projects-ctn {
  padding: 60px 0 100px 0;
  background: var(--bg-light);
}

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

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.project-item {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.project-item .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .thumb-img {
  transform: scale(1.05);
}

.overlay-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.stack-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--white);
  font-size: 1.2rem;
}

.type-icon {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: var(--white);
  font-size: 1.2rem;
}

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

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.3s ease;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
  display: none;
  z-index: 10000;
  transition: background 0.3s ease;
}
.lightbox-close:hover {
  color: var(--primary);
}
.lightbox-nav:hover {
  color: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}
