/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 17 2026 | 11:54:09 */
/* ============================================
   BENTO GRID GALLERY — CSS
   ============================================ */

:root {
  /* ---- Your brand palette ---- */
  --ds-color-primary: #D2551E;   /* Dune ember */
  --ds-color-cta: #E36B2E;       /* Sunset clay */
  --ds-color-accent: #D9A24C;    /* Dubai gold */
  --ds-color-secondary: #D9B98D; /* Sand dune */
  --ds-color-light: #F8F0E3;     /* Desert mist */
  --ds-color-dark: #3B2417;      /* Espresso dusk */

  --ds-radius: 16px;
  --ds-gap: 10px;
  --ds-overlay-bg: rgba(59, 36, 23, 0.55); /* Espresso dusk, translucent */
  --ds-transition: 0.25s ease;
}

.ds-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------- BENTO GRID (Desktop) -------- */
.bento-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: var(--ds-gap);
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.bento-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ds-radius);
  cursor: pointer;
  contain: content;
  background: var(--ds-color-light);
}

.bento-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ds-transition);
}

.bento-item:hover img,
.bento-item:focus-visible img {
  transform: scale(1.05);
}

/* Focus ring — brand color, forced */
.ds-gallery .bento-item:focus-visible {
  outline: 3px solid var(--ds-color-cta) !important;
  outline-offset: 2px;
}

/* Hero: left, 2 cols x 2 rows */
.bento-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* Secondary items 2-5: right 2x2 */
.bento-item:not(.bento-hero) {
  grid-column: span 1;
  grid-row: span 1;
}

/* "View All" overlay on 5th visible slot */
.bento-viewall {
  position: relative;
}

.viewall-overlay {
  position: absolute;
  inset: 0;
  background: var(--ds-overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background var(--ds-transition);
}

/* View All button — brand colors, forced over Elementor's kit styles */
.ds-gallery .viewall-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--ds-color-secondary) !important;
  border-radius: 999px;
  background: var(--ds-color-primary) !important;
  color: var(--ds-color-light) !important;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ds-transition), transform var(--ds-transition);
  box-shadow: none !important;
}

.ds-gallery .viewall-btn:hover,
.ds-gallery .viewall-btn:focus-visible {
  background: var(--ds-color-cta) !important;
  border-color: var(--ds-color-accent) !important;
  color: var(--ds-color-light) !important;
  transform: scale(1.04);
}

.viewall-icon {
  font-size: 1rem;
}

/* -------- Tablet -------- */
@media (max-width: 1023px) and (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px repeat(2, 160px);
    aspect-ratio: auto;
    max-height: none;
  }
  .bento-hero {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

/* -------- Mobile -------- */
@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px repeat(2, 130px);
    gap: 8px;
    aspect-ratio: auto;
    max-height: none;
  }
  .bento-hero {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .bento-item:not(.bento-hero) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .ds-gallery .viewall-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
  :root {
    --ds-radius: 12px;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */

.ds-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(59, 36, 23, 0.92); /* Espresso dusk backdrop */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ds-transition);
  touch-action: pan-y;
}

.ds-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox-stage img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-stage img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox-caption {
  color: var(--ds-color-light);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80ch;
  margin: 0;
  padding: 0 12px;
}

/* Close/Nav buttons — brand colors, forced over Elementor's kit styles */
.ds-lightbox .lightbox-close,
.ds-lightbox .lightbox-nav {
  position: absolute;
  background: rgba(248, 240, 227, 0.1) !important;  /* Desert mist, translucent */
  border: 1px solid var(--ds-color-secondary) !important;
  color: var(--ds-color-light) !important;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ds-transition), border-color var(--ds-transition);
  box-shadow: none !important;
}

.ds-lightbox .lightbox-close:hover,
.ds-lightbox .lightbox-close:focus-visible,
.ds-lightbox .lightbox-nav:hover,
.ds-lightbox .lightbox-nav:focus-visible {
  background: var(--ds-color-cta) !important;
  border-color: var(--ds-color-cta) !important;
  color: var(--ds-color-light) !important;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: var(--ds-color-dark);
  font-size: 0.85rem;
  background: var(--ds-color-accent);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 767px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
  .lightbox-counter {
    bottom: 12px;
    right: 12px;
  }
}

body.ds-lightbox-open {
  overflow: hidden;
}
.lightbox-close,
.lightbox-nav {
  z-index: 2;
}

.lightbox-stage {
  z-index: 1;
}


/* Remove tap highlight on mobile devices globally */
* {
  -webkit-tap-highlight-color: transparent;
}