/* ================= VIDEO ================= */
.video-2 {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.tv-video {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  background: #000;
  display: block;
}

/* ================= GALLERY WRAPPER ================= */
.gallery,
.gallery-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

.gallery-title,
.gallery-section h2 {
  font-size: 1.8rem;
  margin: 0 0 16px 0;
  color: #f0f0f0;
  font-weight: 700;
}

/* === Carousel container === */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* AFTER — let it scroll horizontally; JS will drive scrollLeft */
.carousel-viewport{
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;  /* smooth iOS */
  scroll-snap-type: x mandatory;      /* snap by pages */
}

/* FLEX track (iOS-safe) */
.carousel-track {
  --gap: 16px;
  --per: 1;                 /* mobile: 1 per view; @media raise to 2/3 */
  display: flex;
  gap: var(--gap);
}

/* 2 per view on tablet, 3 per view on desktop */
@media (min-width: 640px) { .carousel-track { --per: 2; } }
@media (min-width: 992px) { .carousel-track { --per: 3; } }

/* Tiles are strict 16:9 and clickable */
.carousel-item {
  position: relative;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
.carousel-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* Arrows overlayed & centered (no mobile override!) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(0, 0, 0, .78);
  border: 0; border-radius: 50%;
  cursor: pointer; z-index: 10;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.carousel-btn.left  { left: 8px; }
.carousel-btn.right { right: 8px; }
.carousel-btn::before {
  content: ""; width: 14px; height: 14px;
  border-top: 3px solid #fff; border-right: 3px solid #fff;
}
.carousel-btn.left::before  { transform: rotate(-135deg); }
.carousel-btn.right::before { transform: rotate(45deg); }
.carousel-btn:hover { background: rgba(255,255,255,.9); }
.carousel-btn:hover::before { border-color: #000; }
.carousel-btn:active { transform: translateY(-50%) scale(.96); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.92);
  z-index: 999999;
}
.lightbox[aria-hidden="false"] { display: flex; }

.lightbox img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lightbox-close:before {
  content: "✕";
  display: block; line-height: 44px; text-align: center;
  font-size: 20px; color: #fff;
}

/* Lightbox navigation buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav::before {
  content: "";
  display: block;
  width: 16px; height: 16px; margin: 0 auto;
  border-top: 3px solid #fff; border-right: 3px solid #fff;
}
.lightbox-prev::before { transform: rotate(-135deg); }
.lightbox-next::before { transform: rotate(45deg); }
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav:active { transform: translateY(-50%) scale(.96); }

body.lb-open { overflow: hidden; }



/* ================= A11Y helper ================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* === Tur virtual: USE GLOBAL NAV LOOK, DON'T OVERRIDE IT === */
/* If a link already has one of your sitewide classes (nav-link-2/3/4/6),
   we leave it alone. This only styles plain .w-nav-link items so they match. */

.navbar-3 .nav-menu-2 .w-nav-link:not(.nav-link-2):not(.nav-link-3):not(.nav-link-4):not(.nav-link-6) {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: #f8f6f6;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

/* Hover + current state: red + glow (same as the rest of the site) */
.navbar-3 .nav-menu-2 .w-nav-link:not(.nav-link-2):not(.nav-link-3):not(.nav-link-4):not(.nav-link-6):hover {
  color: #d12c24;
  text-shadow: 0 -3px 8px #d12c24;
}
.navbar-3 .nav-menu-2 .w-nav-link:not(.nav-link-2):not(.nav-link-3):not(.nav-link-4):not(.nav-link-6).w--current {
  color: #d12c24;
  text-shadow: 0 -3px 8px #d12c24;
}

/* Match your global mobile sizing only for the plain .w-nav-link case */
@media screen and (max-width: 1140px) {
  .navbar-3 .nav-menu-2 .w-nav-link:not(.nav-link-2):not(.nav-link-3):not(.nav-link-4):not(.nav-link-6) {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
  }
}



.carousel-btn { pointer-events: auto; }
#gallery-track, .carousel-item, .carousel-item img { pointer-events: auto; }


/* Position + base arrow look */
.carousel-container .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, .78);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

.carousel-container .carousel-btn.is-prev { left: 8px; }
.carousel-container .carousel-btn.is-next { right: 8px; }

.carousel-container .carousel-btn::before {
  /* force chevrons via borders (not icon font) */
  content: "" !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border-top: 3px solid #fff !important;
  border-right: 3px solid #fff !important;
  line-height: normal !important;
  font: normal normal normal 16px/1 sans-serif !important; /* neutralize icon font */
}

.carousel-container .carousel-btn.is-prev::before  { transform: rotate(-135deg); }
.carousel-container .carousel-btn.is-next::before  { transform: rotate(45deg); }

/* Size tweak on very small phones, still centered */
@media (max-width: 479px) {
  .carousel-container .carousel-btn { width: 44px; height: 44px; }
}



/* --- Carousel track: do NOT translate; JS will scrollLeft --- */
.carousel-track { transform: none !important; }



/* --- 16:9 tiles with iOS 14 fallback --- */
.carousel-item{
  position: relative;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
  scroll-snap-align: start;     /* align at page start */
}

/* iOS14 fallback: reserve 16:9 height if aspect-ratio unsupported */
.carousel-item::before{
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 */
}
@supports (aspect-ratio: 16 / 9){
  .carousel-item{ aspect-ratio:16/9; }
  .carousel-item::before{ content:none; padding:0; }
}

.carousel-item img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}



/* Hide gallery arrows on phones / touch devices (but NOT the lightbox nav) */
@media (max-width: 640px), (hover: none) and (pointer: coarse) {
  .carousel-container .carousel-btn { 
    display: none !important;
  }
}