/*--------------------------------------------------------------
# Gallery Slider Section
--------------------------------------------------------------*/
.gallery-slider {
  overflow: hidden;
}
.gallery-slider .gallery-container {
  padding: 20px 0 40px;
  position: relative;
}
.gallery-slider .swiper-wrapper {
  height: auto !important;
  align-items: center;
  padding: 30px 0;
}
.gallery-slider .gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}
.gallery-slider .gallery-img {
  position: relative;
  overflow: hidden;
}
.gallery-slider .gallery-img img {
  transition: transform 0.6s ease;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-slider .gallery-img .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}
.gallery-slider .gallery-img .gallery-overlay i {
  color: var(--contrast-color);
  font-size: 3rem;
  transform: scale(0.5);
  transition: all 0.3s ease;
}
.gallery-slider .gallery-img:hover img {
  transform: scale(1.1);
}
.gallery-slider .gallery-img:hover .gallery-overlay {
  opacity: 1;
}
.gallery-slider .gallery-img:hover .gallery-overlay i {
  transform: scale(1);
}
.gallery-slider .swiper-pagination {
  position: relative;
  margin-top: 20px;
}
.gallery-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid var(--accent-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.gallery-slider .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
  transform: scale(1.2);
}
.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
  color: var(--accent-color);
  background: var(--surface-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.3s ease;
}
.gallery-slider .swiper-button-next:after,
.gallery-slider .swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}
.gallery-slider:hover .swiper-button-next,
.gallery-slider:hover .swiper-button-prev {
  opacity: 0.9;
}
.gallery-slider:hover .swiper-button-next:hover,
.gallery-slider:hover .swiper-button-prev:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
@media (max-width: 991px) {
  .gallery-slider .gallery-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  .gallery-slider .swiper-button-next,
  .gallery-slider .swiper-button-prev {
    display: none;
  }
}
@media (max-width: 767px) {
  .gallery-slider .swiper-wrapper {
    padding: 15px 0;
  }
  .gallery-slider .gallery-img .gallery-overlay i {
    font-size: 2rem;
  }
}
/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  padding: 70px 0;
}
.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}
@media (min-width: 576px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
  }
}
.gallery .gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.4s ease;
}
.gallery .gallery-item.featured {
  grid-row: span 2;
}
@media (min-width: 768px) {
  .gallery .gallery-item.featured {
    grid-column: span 2;
  }
}
.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery .gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery .gallery-item .gallery-overlay i {
  color: var(--contrast-color);
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform 0.4s ease;
}
.gallery .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.gallery .gallery-item:hover img {
  transform: scale(1.1);
}
.gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery .gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}
.gallery .btn-view-more {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-color);
  font-weight: 600;
  padding: 12px 30px;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.gallery .btn-view-more i {
  transition: transform 0.3s ease;
  margin-left: 5px;
}
.gallery .btn-view-more:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}
.gallery .btn-view-more:hover i {
  transform: translateX(5px);
}

/* Styles for this page's custom gallery and lightbox. */
#hotel-gallery {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
#hotel-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
}
#hotel-gallery .gallery-item img:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: -3px;
}
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 65px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  line-height: 1.4;
}
#lightbox.active { display: flex; }
#lightbox .lightbox-content {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}
#lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  object-fit: contain;
}
#lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
#lightbox .close-btn,
#lightbox .prev-btn,
#lightbox .next-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
#lightbox .close-btn { top: 12px; right: 12px; }
#lightbox .prev-btn { top: 50%; left: 12px; transform: translateY(-50%); }
#lightbox .next-btn { top: 50%; right: 12px; transform: translateY(-50%); }
#lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 575px) {
  #lightbox { padding: 60px 12px 100px; }
  #lightbox .prev-btn { top: auto; bottom: 16px; left: calc(50% - 56px); transform: none; }
  #lightbox .next-btn { top: auto; bottom: 16px; right: calc(50% - 56px); transform: none; }
  #lightbox-img { max-height: calc(100vh - 220px); }
}