
/* =========================================================
   HEADING
========================================================= */

#aarvvex-site .aarvvex-gallery-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

#aarvvex-site .aarvvex-gallery-heading-row .aarvvex-section-head {
  margin-bottom: 0;
}

#aarvvex-site .aarvvex-gallery-counter {
  display: flex;
  min-width: 145px;
  align-items: center;
  gap: 11px;
  border-left: 3px solid var(--aarvvex-gold);
  padding: 7px 0 7px 17px;
}

#aarvvex-site .aarvvex-gallery-counter strong {
  color: var(--aarvvex-gold-dark);
  font-family: sans-serif;
  font-size: 38px;
  line-height: 1;
}

#aarvvex-site .aarvvex-gallery-counter span {
  max-width: 65px;
  color: var(--aarvvex-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

/* =========================================================
   FILTERS
========================================================= */

#aarvvex-site .aarvvex-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 29px 0 25px;
}

#aarvvex-site .aarvvex-gallery-filter {
  min-height: 42px;
  border: 1px solid var(--aarvvex-border);
  border-radius: 999px;
  padding: 9px 17px;
  color: var(--aarvvex-charcoal);
  background: var(--aarvvex-white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

#aarvvex-site .aarvvex-gallery-filter:hover,
#aarvvex-site .aarvvex-gallery-filter.is-active {
  border-color: var(--aarvvex-gold);
  color: var(--aarvvex-black);
  background: var(--aarvvex-gold);
  transform: translateY(-2px);
}

/* =========================================================
   GALLERY GRID
========================================================= */

#aarvvex-site .aarvvex-gallery-grid {
  padding-top: 30px;
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

#aarvvex-site .aarvvex-gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
  background: var(--aarvvex-black);
  box-shadow: var(--aarvvex-shadow);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* #aarvvex-site .aarvvex-gallery-item-wide {
  grid-column: span 2;
} */

#aarvvex-site .aarvvex-gallery-item.is-hidden {
  display: none;
}

#aarvvex-site .aarvvex-gallery-lightbox {
  position: relative;
  display: block;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}


/* #aarvvex-site .aarvvex-gallery-item-wide
  .aarvvex-gallery-lightbox {
  min-height: 390px;
}

#aarvvex-site .aarvvex-gallery-item-tall
  .aarvvex-gallery-lightbox {
  min-height: 430px;
} */

#aarvvex-site .aarvvex-gallery-lightbox::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(12, 12, 12, 0);
  content: "";
  transition: background 0.35s ease;
}

#aarvvex-site .aarvvex-gallery-item:hover
  .aarvvex-gallery-lightbox::before {
  background: rgba(12, 12, 12, 0.34);
}

#aarvvex-site .aarvvex-gallery-lightbox > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition:
    filter 0.65s ease,
    transform 0.65s ease;
}

#aarvvex-site .aarvvex-gallery-image-left {
  object-position: left center;
}

#aarvvex-site .aarvvex-gallery-image-right {
  object-position: right center;
}

#aarvvex-site .aarvvex-gallery-image-top {
  object-position: center top;
}

#aarvvex-site .aarvvex-gallery-image-center {
  object-position: center;
}

#aarvvex-site .aarvvex-gallery-item:hover
  .aarvvex-gallery-lightbox > img {
  filter: brightness(0.85);
  transform: scale(1.065);
}

/* No text inside gallery boxes */

#aarvvex-site .aarvvex-gallery-overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
}

#aarvvex-site .aarvvex-gallery-view-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--aarvvex-black);
  background: var(--aarvvex-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#aarvvex-site .aarvvex-gallery-view-icon svg {
  width: 23px;
  height: 23px;
}

#aarvvex-site .aarvvex-gallery-item:hover
  .aarvvex-gallery-view-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* =========================================================
   CTA
========================================================= */

#aarvvex-site .aarvvex-gallery-cta {
  position: relative;
  overflow: hidden;
  padding: 55px 0;
  color: var(--aarvvex-white);
  background-image:
    linear-gradient(
      90deg,
      rgba(12, 12, 12, 0.96),
      rgba(12, 12, 12, 0.82)
    ),
    url("https://img.freepik.com/free-photo/man-with-tank-reservoir-his-back-spraying-disinfectant-stop-corona-virus_342744-928.jpg?w=1600&q=90");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#aarvvex-site .aarvvex-gallery-cta::before {
  position: absolute;
  top: -130px;
  right: -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(198, 165, 90, 0.42);
  border-radius: 50%;
  content: "";
}

#aarvvex-site .aarvvex-gallery-cta::after {
  position: absolute;
  right: 90px;
  bottom: -180px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(198, 165, 90, 0.2);
  border-radius: 50%;
  content: "";
}

#aarvvex-site .aarvvex-gallery-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

#aarvvex-site .aarvvex-gallery-cta-content > div:first-child {
  max-width: 720px;
}

#aarvvex-site .aarvvex-gallery-cta .aarvvex-eyebrow {
  color: var(--aarvvex-gold);
}

#aarvvex-site .aarvvex-gallery-cta h2 {
  margin: 0;
  color: var(--aarvvex-white);
  font-family: sans-serif;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.18;
}

#aarvvex-site .aarvvex-gallery-cta p {
  margin: 11px 0 0;
  color: #d8d8d8;
  font-size: 14px;
  line-height: 1.7;
}

#aarvvex-site .aarvvex-gallery-cta-buttons {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

#aarvvex-site .aarvvex-gallery-cta-buttons a {
  display: inline-flex;
  min-width: 180px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aarvvex-gold);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--aarvvex-black);
  background: var(--aarvvex-gold);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

#aarvvex-site .aarvvex-gallery-cta-buttons a:last-child {
  color: var(--aarvvex-white);
  background: transparent;
}

#aarvvex-site .aarvvex-gallery-cta-buttons a:hover {
  color: var(--aarvvex-black);
  background: #d6b86f;
  transform: translateY(-2px);
}

/* =========================================================
   GLIGHTBOX
========================================================= */

.glightbox-container .goverlay {
  background: rgba(5, 5, 5, 0.95);
}

.glightbox-clean .gslide-media {
  border-radius: 8px;
  overflow: hidden;
}

.glightbox-clean .gslide-description {
  display: none;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background-color: var(--aarvvex-gold);
  opacity: 1;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  background-color: #d6b86f;
}

.glightbox-clean .gclose path,
.glightbox-clean .gnext path,
.glightbox-clean .gprev path {
  fill: var(--aarvvex-black);
}

/* =========================================================
   ANIMATIONS
========================================================= */

#aarvvex-site .aarvvex-gallery-animation {
  animation: aarvvex-gallery-fade-up 0.85s ease both;
}

#aarvvex-site .aarvvex-gallery-delay-one {
  animation-delay: 0.15s;
}

#aarvvex-site .aarvvex-gallery-delay-two {
  animation-delay: 0.3s;
}

@keyframes aarvvex-gallery-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aarvvex-gallery-circle {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes aarvvex-gallery-circle-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  #aarvvex-site .aarvvex-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


}

@media (max-width: 700px) {
  #aarvvex-site .aarvvex-gallery-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  #aarvvex-site .aarvvex-gallery-counter {
    min-width: auto;
  }

  #aarvvex-site .aarvvex-gallery-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  #aarvvex-site .aarvvex-gallery-cta-buttons {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  #aarvvex-site .aarvvex-gallery-breadcrumb {
    min-height: 300px;
    background-position: 62% center;
  }

  #aarvvex-site .aarvvex-gallery-breadcrumb-content {
    padding: 42px 0;
  }

  #aarvvex-site .aarvvex-gallery-breadcrumb-title {
    font-size: 42px;
  }

  #aarvvex-site .aarvvex-gallery-breadcrumb-label {
    font-size: 11px;
  }

  #aarvvex-site .aarvvex-gallery-filters {
    display: none;
  }

  #aarvvex-site .aarvvex-gallery-filter {
    width: 100%;
  }

  #aarvvex-site .aarvvex-gallery-grid {
    grid-template-columns: 1fr;
            padding-top: 30px;
  }

  #aarvvex-site .aarvvex-gallery-item-wide {
    grid-column: auto;
  }

  #aarvvex-site .aarvvex-gallery-lightbox,
  #aarvvex-site .aarvvex-gallery-item-wide
    .aarvvex-gallery-lightbox,
  #aarvvex-site .aarvvex-gallery-item-tall
    .aarvvex-gallery-lightbox {
    min-height: 330px;
  }

  #aarvvex-site .aarvvex-gallery-view-icon {
    width: 48px;
    height: 48px;
    opacity: 1;
    transform: scale(1);
  }

  #aarvvex-site .aarvvex-gallery-cta {
    padding: 43px 0;
  }

  #aarvvex-site .aarvvex-gallery-cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  #aarvvex-site .aarvvex-gallery-cta-buttons a {
    width: 100%;
  }
}

@media (max-width: 430px) {
  #aarvvex-site .aarvvex-gallery-breadcrumb-title {
    font-size: 37px;
  }

  #aarvvex-site .aarvvex-gallery-filters {
    grid-template-columns: 1fr;
  }

  #aarvvex-site .aarvvex-gallery-lightbox,
  #aarvvex-site .aarvvex-gallery-item-wide
    .aarvvex-gallery-lightbox,
  #aarvvex-site .aarvvex-gallery-item-tall
    .aarvvex-gallery-lightbox {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #aarvvex-site #aarvvex-gallery-page *,
  #aarvvex-site #aarvvex-gallery-page *::before,
  #aarvvex-site #aarvvex-gallery-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}