/* === Full-width canvas fix === */
.cls-canvas {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  padding: 0 !important;
  overflow: hidden;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

/* === Background Image === */
.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: background-image 1s ease-in-out;
}

/* === Graffiti === */
.graffiti {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  max-width: 850px;
  opacity: 0.45;
  z-index: 2;
  transition: all 0.5s ease-in-out;
}

/* === Title === */
.title {
  color: #fff !important;
  font-size: 4rem;
  font-weight: 500;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 6;
}

/* === Person Image === */
.person {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 115vh;
  width: auto;
  z-index: 3;
  opacity: 0.95;
  object-fit: cover;
  pointer-events: none;
  transition: all 0.6s ease-in-out;
}

/* === Overlay === */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  z-index: 4;
}

/* === Content === */
.content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* === Thumbnails === */
.thumbs {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.thumbs img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  background: #111;
  border: 2px solid transparent;
}

.thumbs img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.thumbs img.active {
  border-color: #fff;
  opacity: 1;
}

/* === Laptop & Tablet === */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }

  .title {
    font-size: 2.6rem;
  }

  .graffiti {
    width: 75%;
    max-width: 700px;
    top: 52%;
  }

  .person {
    top: 45%;
    height: 95vh;
  }

  .thumbs img {
    width: 75px;
    height: 75px;
  }
}

/* === Mobile (Portrait & Landscape) === */
@media (max-width: 768px) {
  .hero {
    height: 65vh;
  }

  .title {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

  .graffiti {
    width: 80%;
    max-width: 500px;
    top: 80%;
    opacity: 0.4;
  }

  .person {
    top: 48%;
    height: 80vh;
  }

  .thumbs {
    margin-top: 25px;
    max-width: 280px;
    gap: 10px;
  }

  .thumbs img {
    width: 65px;
    height: 65px;
    flex: 0 0 calc(33.33% - 10px);
  }
}

/* === Small Mobile (Under 480px) === */
@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }

  .title {
    font-size: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
  }

  .graffiti {
    width: 85%;
    max-width: 400px;
    top: 52%;
  }

  .person {
    top: 50%;
    height: 75vh;
  }

  .thumbs {
    max-width: 240px;
    gap: 8px;
  }

  .thumbs img {
    width: 60px;
    height: 60px;
  }
}
