/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* PAGE */
body {
  background: #141414;
  color: #fff;
  font-family: system-ui, sans-serif;
}

/* HERO */
.hero {
  text-align: center;
  padding: 64px 16px 48px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* GALLERY */
.gallery {
  width: 100%;
  padding: 0 16px 80px; /* safe margins only */
}

/* ROW */
.gallery-row {
  display: grid;
  gap: 18px;
}

/* DESKTOP */
@media (min-width: 1200px) {
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1199px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .gallery-row {
    grid-template-columns: 1fr;
  }
}

/* SLIDER CARD */
.slider-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1a1a;
}

/* IMAGES */
.slider-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BEFORE CLIP */
.before-img {
  clip-path: inset(0 50% 0 0);
}

/* SLIDER */
.slider-card input {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 5;
  cursor: ew-resize;
}

/* LABELS */
.label {
  position: absolute;
  top: 12px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  opacity: 0.7;
  z-index: 6;
}

.label.before { left: 12px; }
.label.after  { right: 12px; }

/* HOVER (VERY SUBTLE) */
.slider-card:hover {
  box-shadow: 0 0 24px rgba(0,255,180,0.18);
}
