﻿.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
 
.gallery-grid--fluid {
  gap: 4px;
  margin-top: 0;
}
.gallery-grid--fluid .gallery-grid-item {
  border-radius: 0;
}
 
.gallery-grid--row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0;
gap:0;
}
.gallery-grid--row::-webkit-scrollbar {
  display: none;
}
.gallery-grid--row {
  scrollbar-width: none;
}
.gallery-grid--row .gallery-grid-item {
  flex: 0 0 auto;
  width: 28.5714285714%;
  height: 380px;
  aspect-ratio: auto;
  border-radius: 0;
  scroll-snap-align: start;
}
@media (max-width: 991.98px) {
  .gallery-grid--row .gallery-grid-item {
    width: 40%;
    height: 300px;
  }
}
@media (max-width: 575.98px) {
  .gallery-grid--row .gallery-grid-item {
    width: 80%;
    height: 260px;
  }
}
 
.gallery-row-wrapper {
  position: relative;
}
 
.gallery-row-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--green);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.gallery-row-nav i {
  color: var(--green);
}
.gallery-row-nav:hover {
  background: var(--gold);
}
.gallery-row-nav:hover i {
  color: #fff;
}
.gallery-row-nav--prev {
  left: 20px;
}
.gallery-row-nav--next {
  right: 20px;
}
@media (max-width: 575.98px) {
  .gallery-row-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .gallery-row-nav--prev {
    left: 12px;
  }
  .gallery-row-nav--next {
    right: 12px;
  }
}
 
.gallery-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: brightness(0.93);
}
.gallery-grid-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}
 
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox img {
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
 
.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2;
}
.gallery-lightbox-close:hover {
  color: var(--gold-on-dark);
}
 
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  padding: 20px;
  transition: color 0.3s ease;
  z-index: 2;
}
.gallery-lightbox-nav:hover {
  color: var(--gold-on-dark);
}
.gallery-lightbox-nav--prev {
  left: 16px;
}
.gallery-lightbox-nav--next {
  right: 16px;
}
 
.gallery-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}
 
@media (max-width: 991.98px) {
  .gallery-grid {
    gap: 12px;
  }
}
@media (max-width: 575.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 30px;
  }
}

.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
  overflow: hidden;
}
 
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(20, 79, 80, 0.7) 100%);
}
 
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
 
.page-hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
 
.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-breadcrumb li {
  display: flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}
.page-breadcrumb li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-breadcrumb li a:hover {
  color: var(--gold-on-dark);
}
.page-breadcrumb li.active {
  color: var(--gold-on-dark);
}
 
.page-breadcrumb-sep {
  display: inline-block;
  margin: 0 14px;
  color: var(--gold-on-dark);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}
 
@media (max-width: 991.98px) {
  .page-hero {
    height: 320px;
    padding-bottom: 50px;
  }
}
@media (max-width: 575.98px) {
  .page-hero {
    height: 280px;
    padding-bottom: 40px;
  }
  .page-hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
  .page-breadcrumb li {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .page-breadcrumb-sep {
    margin: 0 10px;
  }
}