/* ==========================================================================
   House of Grey - Custom Styles
   Design tokens & reusable components (Bootstrap 5 + custom)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens (CSS custom properties)
   -------------------------------------------------------------------------- */
:root {
  --hog-charcoal: #2A2A2A;
  --hog-light: #F5F5F0;
  --hog-accent: #C0A080;
  --hog-text: #404040;
  --hog-serif: 'Playfair Display', Georgia, serif;
  --hog-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 96px;
  --container-max: 1280px;
  --section-padding-y: 6rem;
  --transition-default: 0.3s ease;
}

/* --------------------------------------------------------------------------
   Base & typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--hog-sans);
  color: var(--hog-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--hog-serif);
}

.text-hog-charcoal { color: var(--hog-charcoal); }
.text-hog-accent { color: var(--hog-accent); }
.bg-hog-charcoal { background-color: var(--hog-charcoal); }
.bg-hog-light { background-color: var(--hog-light); }
.bg-hog-accent { background-color: var(--hog-accent); }

/* --------------------------------------------------------------------------
   Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--hog-charcoal); border-radius: 4px; }

/* --------------------------------------------------------------------------
   Header (reusable)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-default);
  display: flex;
  align-items: center;
}

/* Navbar inner container: flex so logo, toggler, and nav align in one row */
.site-header .navbar .container-xl {
  display: flex;
  align-items: center;
}

/* Nav links list: flex row, vertically centered, no extra spacing */
.site-header .navbar-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Each nav item (including Book Now wrapper) centers its content */
.site-header .nav-item {
  display: flex;
  align-items: center;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: opacity var(--transition-default);
}

.site-header .navbar-brand:hover { opacity: 0.9; }

.site-header .navbar-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-header .nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  margin: 0 0.5rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-default), border-color var(--transition-default);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--hog-accent);
  border-bottom-color: var(--hog-accent);
}

.site-header .btn-book {
  background-color: transparent;
  border: 1.5px solid #c9a96e;
  color: #c9a96e;
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  margin: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.site-header .btn-book:hover {
  background-color: #c9a96e;
  color: #1a1a1a;
}


/* Mobile menu */
.site-header .navbar-collapse {
  background-color: var(--hog-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse.collapse:not(.show) {
    display: none;
  }
  .site-header .navbar-collapse.collapse.show {
    display: flex;
  }
}

.site-header .navbar-collapse .nav-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  margin: 0;
}

/* Mobile: extra spacing above Book Now when menu is stacked */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse .btn-book {
    margin-top: 1rem !important;
    display: inline-block;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Section common
   -------------------------------------------------------------------------- */
.section-label {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hog-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--hog-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hog-charcoal);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.section-title.text-white { color: #fff; }

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle.text-light { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Hero (home slider)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: var(--hog-charcoal);
}

.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease-in-out;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.hero-slide-content .hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-slide-content .hero-title {
  font-family: var(--hog-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.hero-slide-content .hero-desc {
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background var(--transition-default);
  cursor: pointer;
}

.hero-dot:hover,
.hero-dot.active {
  background-color: #fff;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-default);
}

.hero-prev:hover,
.hero-next:hover { color: #fff; }

.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

/* --------------------------------------------------------------------------
   Page hero (static, e.g. About / Why Us)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  height: 600px;
  margin-top: calc(-1 * var(--header-height));
  margin-bottom: 0;
  overflow: hidden;
  background-color: var(--hog-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.page-hero-content .hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero-content .hero-title {
  font-family: var(--hog-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.page-hero-content .hero-desc {
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Content sections (two-column, image + text)
   -------------------------------------------------------------------------- */
.content-section {
  padding: var(--section-padding-y) 0;
}

.content-section .img-wrap {
  position: relative;
  height: 600px;
}

.content-section .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.img-badge {
  position: absolute;
  background: var(--hog-light);
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img-badge-dark {
  background: var(--hog-charcoal);
  color: #fff;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.img-badge .badge-title {
  font-family: var(--hog-serif);
  font-size: 3rem;
  color: var(--hog-charcoal);
  margin-bottom: 0.25rem;
}

.img-badge .badge-caption {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.img-badge-dark.overlap-image {
  bottom: -1.5rem;
  right: -1.5rem;
}

/* --------------------------------------------------------------------------
   Feature cards (icon + title + text)
   -------------------------------------------------------------------------- */
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-default);
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(192, 160, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.feature-card .feature-icon {
  color: var(--hog-charcoal);
  font-size: 1.25rem;
}

.feature-card .feature-title {
  font-family: var(--hog-serif);
  font-size: 1.25rem;
  color: var(--hog-charcoal);
  margin-bottom: 0.5rem;
}

.feature-card .feature-text {
  color: #6b7280;
  margin: 0;
}

/* Dark theme feature cards (e.g. Comfort, Ideal For) */
.feature-card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  transition: border-color var(--transition-default);
}

.feature-card-dark:hover {
  border-color: var(--hog-accent);
}

.feature-card-dark .feature-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(192, 160, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition-default);
}

.feature-card-dark:hover .feature-icon-wrap {
  background: var(--hog-accent);
}

.feature-card-dark .feature-icon {
  color: var(--hog-accent);
  font-size: 1.5rem;
  transition: color var(--transition-default);
}

.feature-card-dark:hover .feature-icon {
  color: #fff;
}

.feature-card-dark .feature-title {
  font-family: var(--hog-serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.feature-card-dark .feature-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Benefit boxes (full-width cards, e.g. Full Villa Access)
   -------------------------------------------------------------------------- */
.benefit-box {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.benefit-box-dark {
  background: var(--hog-charcoal);
  color: #fff;
}

.benefit-box-dark .benefit-title {
  color: #fff;
}

.benefit-box-dark .benefit-text {
  color: rgba(255, 255, 255, 0.7);
}

.benefit-box-light {
  background: var(--hog-light);
}

.benefit-box-light .benefit-title {
  color: var(--hog-charcoal);
}

.benefit-box-light .benefit-text {
  color: var(--hog-text);
}

.benefit-box .benefit-icon {
  font-size: 2.5rem;
  color: var(--hog-accent);
  margin-bottom: 1.5rem;
}

.benefit-box .benefit-title {
  font-family: var(--hog-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-box .benefit-text {
  line-height: 1.6;
  margin: 0;
}

/* Decorative circle */
.benefit-box .deco-circle {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(192, 160, 128, 0.1);
}

.benefit-box-dark .deco-circle {
  top: 0;
  right: 0;
  margin-right: -4rem;
  margin-top: -4rem;
}

.benefit-box-light .deco-circle {
  bottom: 0;
  left: 0;
  margin-left: -4rem;
  margin-bottom: -4rem;
  background: rgba(42, 42, 42, 0.05);
}

/* --------------------------------------------------------------------------
   CTA block (Book Your Luxury Stay)
   -------------------------------------------------------------------------- */
.cta-block {
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .cta-block { padding: 4rem; }
}

.cta-block-inner {
  background: var(--hog-charcoal);
  color: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .cta-block-inner { padding: 4rem; }
}

.cta-block-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hog-accent);
}

.cta-block .cta-title {
  font-family: var(--hog-serif);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-block .cta-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons .btn-cta-primary {
  background: #fff;
  color: var(--hog-charcoal);
  padding: 1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  min-width: 200px;
  transition: background var(--transition-default), color var(--transition-default);
}

.cta-buttons .btn-cta-primary:hover {
  background: var(--hog-accent);
  color: #fff;
}

.cta-buttons .btn-cta-outline {
  background: transparent;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid #fff;
  min-width: 200px;
  transition: background var(--transition-default), color var(--transition-default);
}

.cta-buttons .btn-cta-outline:hover {
  background: #fff;
  color: var(--hog-charcoal);
}

/* --------------------------------------------------------------------------
   Footer (reusable)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--hog-charcoal);
  color: #fff;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.site-footer .footer-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
}

.site-footer .footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.site-footer .footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   List with checkmarks (e.g. Perfect if you are searching for)
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.check-list li i {
  color: var(--hog-charcoal);
  margin-right: 1rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.check-list li span {
  color: #374151;
}

/* --------------------------------------------------------------------------
   Quote / border-left block
   -------------------------------------------------------------------------- */
.quote-block {
  background: var(--hog-light);
  padding: 2rem;
  border-left: 4px solid var(--hog-charcoal);
}

.quote-block .quote-title {
  font-family: var(--hog-serif);
  font-size: 1.25rem;
  color: var(--hog-charcoal);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Location section (split image + content)
   -------------------------------------------------------------------------- */
.location-section .location-image {
  height: 400px;
}

@media (min-width: 992px) {
  .location-section .location-image { height: 100%; min-height: 700px; }
}

.location-section .location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-section .location-content {
  padding: 2rem;
}

@media (min-width: 992px) {
  .location-section .location-content { padding: 5rem; }
}

.location-section .location-list .list-item {
  display: flex;
  align-items: center;
  color: #374151;
  margin-bottom: 1rem;
}

.location-section .location-list .list-item i {
  width: 2rem;
  color: var(--hog-charcoal);
  margin-right: 0.5rem;
}

/* --------------------------------------------------------------------------
   Utility: safe & secure card overlay on image
   -------------------------------------------------------------------------- */
.card-overlay {
  position: absolute;
  background: var(--hog-charcoal);
  color: #fff;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 18rem;
}

.card-overlay .overlay-title {
  font-family: var(--hog-serif);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.card-overlay .overlay-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-overlay .overlay-icon {
  font-size: 1.5rem;
  color: var(--hog-accent);
  margin-right: 1rem;
}

/* Overlay that overlaps image (e.g. Why Choose section) */
.card-overlay.overlap-image {
  bottom: -2.5rem;
  left: -2.5rem;
}

/* --------------------------------------------------------------------------
   Fade-in animation
   -------------------------------------------------------------------------- */
.fade-in {
  animation: hogFadeIn 1s ease-in-out;
}

@keyframes hogFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .content-section .img-wrap { height: 400px; }
  .img-badge { display: none !important; }
  .card-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding-y: 4rem;
  }
  .cta-buttons .btn-cta-primary,
  .cta-buttons .btn-cta-outline {
    min-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Gallery page — grid of all site images
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hog-light);
  border: 1px solid #e5e7eb;
  aspect-ratio: 4 / 3;
  transition: transform var(--transition-default), box-shadow var(--transition-default);
  /* button reset when using <button class="gallery-item"> */
  width: 100%;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-logo {
  aspect-ratio: 1;
  background: var(--hog-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item-logo img {
  object-fit: contain;
  padding: 1rem;
  max-height: 100%;
}

/* Gallery lightbox — fullscreen overlay, no external library */
body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.gallery-lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s ease;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox-counter {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox-prev:disabled,
.gallery-lightbox-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-lightbox-prev {
  left: 1rem;
}

.gallery-lightbox-next {
  right: 1rem;
}

@media (max-width: 767.98px) {
  .gallery-lightbox {
    padding: 2.5rem 1rem;
  }
  .gallery-lightbox-prev {
    left: 0.25rem;
  }
  .gallery-lightbox-next {
    right: 0.25rem;
  }
}
