/* :root {

  --primary-color: #2ec4b6;
  --secondary-color: #ff6b6b;
  --accent-color: coral;
  --highlight-color: #118ab2;


  --text-color: #1a1a1a;
  --text-muted: #6c757d;
  --text-light: #ffffff;

  --bg-primary: #ffffff;
  --bg-secondary: #f6f9fa;
  --bg-tertiary: #eef2f3;
  --bg-dark: #212529;
  --bg-darker: #141414;


  --gradient-primary: linear-gradient(135deg, #2ec4b6 0%, #118ab2 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ffd166 100%);
  --gradient-accent: linear-gradient(135deg, #2ec4b6 0%, #ff6b6b 100%);


  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease-in-out;
  --radius-sm: 0.25rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;


  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-elegant: "Playfair Display", serif;


  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
  --spacing-4xl: 6rem;
  --card-bg-light: #ffffff;
  --card-bg-dark: #2a2a2a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #3fd0c6;
    --secondary-color: #ff8585;
    --accent-color: #ffd042ff;
    --highlight-color: #48cae4;

    --text-color: #f5f5f5;
    --text-muted: #b0b0b0;
    --text-light: #ffffff;

    --bg-primary: #0e1a1a;
    --bg-secondary: #152020;
    --bg-tertiary: #1e2a2a;
    --bg-dark: #0b1212;
    --bg-darker: #050909;

    --gradient-primary: linear-gradient(135deg, #3fd0c6 0%, #48cae4 100%);
    --gradient-secondary: linear-gradient(135deg, #ff8585 0%, #ffe080 100%);
    --gradient-accent: linear-gradient(135deg, #3fd0c6 0%, #ff8585 100%);

    --card-bg-light: #1f2a2a;
    --card-bg-dark: #121c1c;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-primary);
  overflow-x: hidden;
} */

/* Responsive Breakpoints for Carousel */
/* xs - Default (mobile first) */
.tours-carousel-wrapper {
  --tours-count: 1;
}

/* md - 640px */
@media (min-width: 640px) {
  .tours-carousel-wrapper {
    --tours-count: 2;
  }
}

/* xl - 1024px */
@media (min-width: 1024px) {
  .tours-carousel-wrapper {
    --tours-count: 4;
  }
}

/* ============================================
           PAGE CONTENT WIDTH
        ============================================ */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================
           IMAGE STYLES
        ============================================ */
img {
  transition: none !important;
}

img:hover,
img:focus {
  transform: none !important;
  zoom: 1 !important;
}

/* ============================================
           HERO SECTION
        ============================================ */
.destination-hero {
  width: 100%;
  height: auto;
  margin-top: 65px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .destination-hero {
    height: 75vh;
    margin-top: 80px;
  }
}

.destination-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destination-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.destination-hero-title {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  font-family: var(--font-elegant);
  text-transform: uppercase;
  padding: 0 20px;
}

/* ============================================
           GALLERY SECTION - 4 IMAGES ROTATING
        ============================================ */
.gallery-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

.gallery-rotating {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-card {
  position: absolute;
  width: 300px;
  height: 380px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s cubic-bezier(0.22, 0.9, 0.35, 1), opacity 0.8s ease;
  cursor: pointer;
  background: var(--bg-primary);
  padding: 4px;
}

.gallery-card img {
  /* width: calc(100% - 6px);
        height: calc(100% - 6px); */
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  border-radius: 2px;
}

.gallery-card.front {
  /* transform: translateX(0) scale(1.1); */
  z-index: 3;
  opacity: 1;
}

.gallery-card.left {
  transform: translateX(-320px) scale(0.8);
  z-index: 2;
  opacity: 0.8;
}

.gallery-card.right {
  transform: translateX(320px) scale(0.8);
  z-index: 2;
  opacity: 0.8;
}

.gallery-card.back {
  transform: translateX(0) scale(0.6);
  z-index: 1;
  opacity: 0;
}

/* ============================================
           ADVANCED LIGHTBOX - MOBILE FIRST
        ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}
.lightbox-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 2002;
}
.lightbox-counter {
  color: white;
  font-size: 12px;
  font-weight: 500;
  width: auto;
}
.lightbox-close {
  background: none;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 18px;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 20px;
  z-index: 2001;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-content {
  position: relative;
  width: 100%;
  height: calc(100% - 90px);
  margin-top: 50px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: none;
  transform-origin: center center;
  cursor: zoom-in;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.lightbox-image-container.no-transition {
  transition: none;
}
.lightbox-image-container.zoomed {
  cursor: grab;
}
.lightbox-image-container.dragging {
  cursor: grabbing;
}
.lightbox-image {
  width: auto;
  height: auto;
  max-width: calc(100% - 6px);
  max-height: calc(100% - 6px);
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}
.lightbox-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2002;
  border-top: 1px solid #333;
}
.zoom-instruction {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}

/* ============================================
           TOUR OVERVIEW SECTION
        ============================================ */
.tour-overview-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.tour-main-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

.tour-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.tour-details-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .tour-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tour-includes,
.tour-excludes {
  background: var(--card-bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tour-includes h3,
.tour-excludes h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.tour-list {
  list-style: none;
  padding: 0;
}

.tour-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tour-list li:last-child {
  border-bottom: none;
}

.tour-list li i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.tour-info-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .tour-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tour-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tour-info-card {
  background: var(--card-bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}

.tour-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tour-info-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tour-info-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tour-info-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.tour-pricing {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.tour-pricing h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.tour-price {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tour-price-note {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ============================================
           TOURS CAROUSEL SECTION - IMPROVED
        ============================================ */
.other-tours-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.other-tours-header {
  text-align: center;
  margin-bottom: 2rem;
}

.other-tours-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

/* Carousel common */
.tours-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.tours-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.35, 1),
    opacity 0.35s linear;
  will-change: transform;
  cursor: grab;
  align-items: stretch;
}
.tours-carousel-track.grabbing {
  cursor: grabbing;
}

.carousel-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d3d3;
  cursor: pointer;
  transition: background 0.25s;
}
.carousel-dots .dot.active {
  background: var(--primary-color);
}

/* Card base */
.tour-card {
  background: var(--bg-primary);
  border-radius: 14px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform-origin: center;
  opacity: 0.98;
  transition: box-shadow 0.25s cubic-bezier(0.22, 0.9, 0.35, 1),
    opacity 0.4s linear;
  text-decoration: none;
  color: inherit;
}
.tour-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* small fade increase when flagged in view */
.in-view {
  opacity: 1;
}

.tour-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tour-card-content {
  padding: 1.5rem;
}

.tour-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-family: var(--font-secondary);
}

.tour-card-location {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tour-card-location i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* ============================================
           CTA SECTION
        ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-primary);
  text-align: center;
}

.cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: inline-block;
}

.cta-btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cta-btn-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.cta-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
           RESPONSIVE STYLES
        ============================================ */
@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-card {
    width: 220px;
    height: 280px;
  }

  .gallery-card.front {
    transform: translateX(0) scale(1.1);
  }

  .gallery-card.left {
    transform: translateX(-240px) scale(0.8);
  }

  .gallery-card.right {
    transform: translateX(240px) scale(0.8);
  }
}

@media (min-width: 1024px) {
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .lightbox.active {
    display: flex;
    opacity: 1;
  }
  .lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    overflow: hidden;
    margin: 0;
    touch-action: none;
  }
  .lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none;
    transform-origin: center center;
    cursor: zoom-in;
  }
  .lightbox-nav {
    display: flex;
  }
  .lightbox-top-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    height: auto;
    background: none;
    border-radius: 5px;
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 2002 !important;
  }
  .lightbox-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 500;
    width: auto;
    padding: var(--spacing-md);
    border-radius: 4px;
  }
  .lightbox-close {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    z-index: 2001;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .lightbox-bottom-bar {
    display: none;
  }
}

/* helpful utility to force stable heights */
.tours-carousel-track > * {
  display: block;
}

html,
body {
  overflow-x: hidden;
}
