/* 
  Pondok Semayar Indah
  Mobile-first, cinematic, earthy-luxury UI
*/

/* Root Tokens --------------------------------------------------- */
:root {
  --color-bg: #f6f1e7; /* warm off-white / cream */
  --color-bg-elevated: #f0e7d7;
  --color-bg-deep: #2e3a34; /* deep forest green */
  --color-accent-soft: #b8c7b1; /* soft sage */
  --color-accent: #5e7a68; /* sage green */
  --color-accent-strong: #2c4a3a; /* forest highlight */
  --color-wood: #8b5a38;
  --color-text: #555b5a; /* soft stone grey */
  --color-text-strong: #313533;
  --color-border-subtle: rgba(49, 53, 51, 0.14);

  --font-serif: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", serif;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --radius-soft: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(24, 32, 27, 0.25);
  --shadow-subtle: 0 10px 30px rgba(24, 32, 27, 0.14);

  --container-max: 1120px;
  --nav-height: 72px;

  --transition-fast: 180ms ease-out;
  --transition-med: 280ms ease-out;
}

/* Reset & Base -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

section {
  position: relative;
}

/* Layout Utilities ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-grid {
  display: grid;
  gap: 2.5rem;
}

.section-grid-reverse {
  direction: rtl;
}
.section-grid-reverse > * {
  direction: ltr;
}

.section-header {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-top: 0.5rem;
}

.section-intro {
  margin-top: 0.75rem;
}

.section-copy h2 {
  margin-top: 0.4rem;
}

/* Eyebrow ------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-accent-strong);
}

/* Typography ---------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--color-text-strong);
  font-weight: 500;
  letter-spacing: 0.03em;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.15;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}

p {
  margin: 0 0 0.9rem;
}

/* Header / Navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(246, 241, 231, 0.94),
    rgba(246, 241, 231, 0.88),
    rgba(246, 241, 231, 0.84),
    transparent
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
}

.logo-image {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f8f1e4, #5f7868);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 8px 20px rgba(36, 48, 41, 0.28);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text-strong);
  margin-left: 0.4rem;
}

/* Nav */
.nav {
  position: fixed;
  inset: var(--nav-height) 1.25rem auto 1.25rem;
  background-color: rgba(240, 231, 215, 0.98);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform-origin: top;
  transform: scaleY(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: scaleY(1);
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nav-link {
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-strong);
  padding-block: 0.12rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.nav-cta {
  align-self: flex-start;
}

/* Nav toggle */
.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(46, 58, 52, 0.24);
  background: rgba(245, 238, 226, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--color-text-strong);
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    width var(--transition-fast);
}

.nav-toggle.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
  width: 18px;
}
.nav-toggle.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
  width: 18px;
}

.nav-toggle:hover {
  background: rgba(245, 238, 226, 0.95);
  box-shadow: 0 12px 30px rgba(30, 40, 34, 0.18);
  transform: translateY(-1px);
}

.nav-toggle:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-med), color var(--transition-med),
    box-shadow var(--transition-med), transform var(--transition-fast),
    border-color var(--transition-med);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #445b4a, #2c4a3a);
  color: #f6f1e7;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(23, 30, 26, 0.6);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(23, 30, 26, 0.4);
}

.btn-ghost {
  background: rgba(246, 241, 231, 0.16);
  color: #f7f2e8;
  border-color: rgba(242, 236, 226, 0.46);
}

.btn-ghost:hover {
  background: rgba(246, 241, 231, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(44, 74, 58, 0.5);
  color: var(--color-accent-strong);
}

.btn-outline:hover {
  background: rgba(46, 58, 52, 0.04);
  box-shadow: var(--shadow-subtle);
}

.btn-block {
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-soft);
  outline-offset: 3px;
}

/* Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9f4ea;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02) brightness(0.98);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(17, 26, 20, 0.5),
      transparent
    ),
    linear-gradient(
      to bottom,
      rgba(11, 18, 14, 0.8),
      rgba(11, 18, 14, 0.3),
      rgba(11, 18, 14, 0.95)
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.8rem 5.5rem;
  max-width: 540px;
  animation: heroFadeIn 1100ms ease-out forwards;
  opacity: 0;
  transform: translateY(18px);
}

.hero .eyebrow {
  color: rgba(245, 238, 226, 0.8);
}

.hero-title {
  color: #f7f2e8;
  margin: 0.7rem 0 0.35rem;
  letter-spacing: 0.18em;
  font-size: 1.9rem;
  text-transform: uppercase;
}

.hero-subtitle {
  color: rgba(247, 242, 233, 0.86);
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.hero-audio-control {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.hero-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 238, 226, 0.65);
  background: radial-gradient(
      circle at 0 0,
      rgba(250, 245, 235, 0.32),
      transparent
    ),
    rgba(18, 26, 21, 0.78);
  color: rgba(247, 242, 233, 0.96);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    opacity var(--transition-fast);
}

.hero-audio-control:hover .hero-audio-toggle,
.hero-audio-control:focus-within .hero-audio-toggle {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.hero-audio-toggle:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.hero-audio-toggle:focus-visible {
  outline: 2px solid #f5eede;
  outline-offset: 3px;
}

.hero-audio-icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}

.hero-audio-icon::before,
.hero-audio-icon::after {
  content: "";
  position: absolute;
}

/* Speaker base */
.hero-audio-icon::before {
  left: 1px;
  top: 3px;
  width: 7px;
  height: 10px;
  border-radius: 3px;
  background: rgba(247, 242, 233, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 22, 18, 0.6);
}

/* Sound waves / slash – default muted (slash) */
.hero-audio-icon--muted::after {
  right: 1px;
  top: 3px;
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: rgba(245, 211, 200, 0.9);
  box-shadow: 0 0 0 1px rgba(26, 10, 6, 0.5);
  transform: rotate(32deg);
  transform-origin: center;
}

/* Unmuted: concentric arcs */
.hero-audio-icon--unmuted::after {
  left: 9px;
  top: 2px;
  width: 6px;
  height: 12px;
  border-radius: 50%;
  border-right: 2px solid rgba(247, 242, 233, 0.96);
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  box-shadow: 2px 0 0 rgba(247, 242, 233, 0.7);
}

.hero-audio-label {
  font-size: 0.68rem;
}

.hero-volume-slider {
  width: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(243, 235, 222, 0.45);
  outline: none;
  transition: width 180ms ease-out, opacity 160ms ease-out;
}

.hero-audio-control:hover .hero-volume-slider,
.hero-audio-control:focus-within .hero-volume-slider {
  width: 80px;
  opacity: 1;
  pointer-events: auto;
}

.hero-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5eede;
  border: 1px solid rgba(18, 26, 21, 0.7);
  box-shadow: 0 0 0 2px rgba(18, 26, 21, 0.6);
  cursor: pointer;
}

.hero-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5eede;
  border: 1px solid rgba(18, 26, 21, 0.7);
  box-shadow: 0 0 0 2px rgba(18, 26, 21, 0.6);
  cursor: pointer;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media blocks -------------------------------------------------- */
.media-stack {
  display: grid;
  gap: 1.3rem;
}

.media-card,
.media-full {
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background: #e2d6c4;
}

.media-card img,
.media-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s ease-out;
}

.media-card-offset {
  transform: translateX(12%);
}

.section-media:hover img {
  transform: scale(1.06);
}

/* Gallery ------------------------------------------------------- */
.section-gallery {
  background: radial-gradient(circle at 0% 0%, #f8f2e8, #f1e6d7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1; /* Forces a perfect square */
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: #e1d6c8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image to fit the square without stretching */
  transition: transform 900ms ease-out, filter 900ms ease-out;
  transform: scale(1.02);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 20, 15, 0.05),
    rgba(13, 20, 15, 0.18)
  );
  opacity: 0;
  transition: opacity 250ms ease-out;
}

/* Desktop hover effect, tuned in media query for hover devices */

/* Scroll Fade Sections ----------------------------------------- */
.fade-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms ease-out, transform 900ms ease-out;
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Section --------------------------------------------------- */
.section-cta {
  background: linear-gradient(
      140deg,
      rgba(46, 58, 52, 0.97),
      rgba(70, 92, 78, 0.94)
    ),
    url("media/cta-texture.jpg") center/cover no-repeat;
  color: #f6f1e7;
}

.section-cta-inner {
  display: grid;
  gap: 2rem;
}

.section-cta .section-copy h2,
.section-cta .section-copy p,
.section-cta .section-copy .eyebrow {
  color: #f6f1e7;
}

.section-cta .section-copy p {
  opacity: 0.9;
}

/* Forms --------------------------------------------------------- */
.booking-form,
.contact-form {
  background: rgba(246, 241, 231, 0.94);
  border-radius: 22px;
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-subtle);
}

.section-cta .booking-form {
  background: rgba(245, 238, 226, 0.96);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 14px;
  border: 1px solid rgba(49, 53, 51, 0.22);
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
  background: rgba(249, 244, 234, 0.96);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(94, 122, 104, 0.3);
  background-color: #fbf6ed;
}

/* Contact Section ----------------------------------------------- */
.section-contact {
  background: linear-gradient(
    to bottom,
    #f5ede0,
    #f2ebde
  );
}

/* Lightbox ------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease-out;
  z-index: 60;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
}

.lightbox-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(4, 6, 5, 0.9);
  margin-bottom: 0.75rem;
}

.lightbox-caption {
  color: rgba(245, 240, 230, 0.9);
  font-size: 0.9rem;
  text-align: left;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(241, 235, 226, 0.6);
  background: transparent;
  color: #f6f1e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(246, 241, 231, 0.1);
  box-shadow: 0 0 0 1px rgba(241, 235, 226, 0.44);
  transform: translateY(-1px);
}

/* Footer -------------------------------------------------------- */
.site-footer {
  padding: 2.5rem 0 2.1rem;
  background: #f2e9dc;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(25, 33, 29, 0.04),
    rgba(25, 33, 29, 0.24),
    rgba(25, 33, 29, 0.04)
  );
  margin-bottom: 1.7rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-strong);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.4rem;
}

.footer-link {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(37, 46, 41, 0.86);
  position: relative;
}

.footer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-link-icon svg {
  width: 100%;
  height: 100%;
  fill: rgba(37, 46, 41, 0.9);
}

.footer-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 1px;
  background: rgba(37, 46, 41, 0.5);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 200ms ease-out;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-meta {
  font-size: 0.78rem;
  color: rgba(61, 70, 66, 0.9);
}

/* Media Queries ------------------------------------------------- */
@media (min-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-actions .btn {
    min-width: 170px;
  }

  .section {
    padding: 5rem 0;
  }

  .section-grid,
  .section-cta-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .section-media {
    justify-self: stretch;
  }

  .media-stack {
    gap: 1.6rem;
  }

  .media-card-offset {
    transform: translate(12%, 8%);
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.2rem;
  }

  .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .nav-link:hover {
    border-color: rgba(49, 53, 51, 0.55);
  }

  .nav-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .gallery-grid {
    column-count: 2;
    column-gap: 1rem;
  }

  .site-footer {
    padding-top: 3rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.4rem;
    letter-spacing: 0.2em;
  }

  .hero-content {
    max-width: 640px;
  }

  .section {
    padding: 5.8rem 0;
  }

  .section-grid {
    gap: 3.5rem;
  }

  .gallery-grid {
    column-count: 3;
    column-gap: 1.1rem;
  }
}

@media (min-width: 1280px) {
  .gallery-grid {
    column-count: 4;
  }
}

/* Hover-capable devices only ------------------------------------ */
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.02) contrast(1.04);
  }

  .gallery-item:hover::after {
    opacity: 1;
  }
}


