/* 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: #daa520; background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; 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: #0f2b4c;
  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: #daa520; border-color: #daa520; 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: transform 0.5s ease;
}
.aw-gallery__slide:hover img { transform: scale(1.04); }
.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; }
}
