/* Gallery — Acreways Living */

.aw-gallery {
  background-color: #f0f3f7;
  box-sizing: border-box;
  width: 100%;
}
.aw-gallery__inner {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}
.aw-gallery__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.aw-gallery__label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #1e4a4a;
  background: linear-gradient(90deg, #1e4a4a, #3f797a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
}
.aw-gallery__heading {
  font-family: 'Manrope', sans-serif;
  font-size: 28px; font-weight: 700;
  line-height: 1.3; color: #004d4a;
  margin: 0;
}
.aw-gallery__nav-btns { display: flex; gap: 1rem; flex-shrink: 0; }
.aw-gallery__nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #6b7280;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #6b7280;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 0;
}
.aw-gallery__nav-btn:hover { background: #3f797a; border-color: #3f797a; color: #ffffff; }
.aw-gallery__viewport { overflow: hidden; width: 100%; }
.aw-gallery__track {
  display: flex; gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.aw-gallery__slide {
  flex-shrink: 0;
  height: 200px;
  border-radius: 0.75rem; overflow: hidden;
  position: relative; cursor: pointer;
}
@media (min-width: 640px) { .aw-gallery__slide { height: 240px; } }
@media (min-width: 1024px) { .aw-gallery__slide { height: 280px; } }
.aw-gallery__slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transition: none;
}
.aw-gallery__slide:hover img { transform: none; }

/* ── Sweep shimmer ── */
.aw-gallery__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.7s ease-in-out;
  pointer-events: none;
  z-index: 1;
}
.aw-gallery__slide:hover::after {
  transform: translateX(100%) skewX(-20deg);
}
.aw-gallery__overlay {
  position: absolute; inset: 0;
  background: rgba(15,43,76,0.45);
  opacity: 0;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
}
.aw-gallery__slide:hover .aw-gallery__overlay { opacity: 1; }
.aw-gallery__overlay span {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 14px; color: #ffffff;
}

@media (min-width: 640px) {
  .aw-gallery__header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (min-width: 768px) {
  .aw-gallery__heading { font-size: 34px; }
}
