.package-outline {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
}


/* Gallery section */
  /* Reset & Base */
  .gallery-section {
    width: 100%;
    padding: 0;
}

.gallery-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== MOBILE FIRST ========== */
.gallery-desktop {
    display: none;
}

.gallery-mobile {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    position: relative;
    height: 360px;
    scroll-snap-align: start;
}

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

/* Dots Navigation */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0;
    background: white;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #333;
    width: 24px;
    border-radius: 4px;
}

/* ========== DESKTOP LAYOUT (768px+) ========== */
@media (min-width: 768px) {
    .gallery-mobile {
        display: none;
    }

    .gallery-desktop {
        display: block;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        grid-auto-rows: auto;
    }

    /* Featured Large - Left */
    .featured-large {
        grid-row: 1 / 3;
        aspect-ratio: 3 / 4;
    }

    /* Right Column Container */
    .gallery-right-col {
        display: grid;
        grid-template-rows: 1fr auto;
        gap: 16px;
    }

    /* Top Right Large */
    .featured-right-top {
        aspect-ratio: 1;
    }

    /* Bottom Row with 2 items */
    .gallery-bottom-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .gallery-bottom-row .grid-item {
        aspect-ratio: 1;
    }

    /* Grid Item Styling */
    .grid-item {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
    }

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block;
    }

    .grid-item:hover img {
        transform: scale(1.08);
    }

    /* View All Overlay */
    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .gallery-overlay:hover {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    }

    .overlay-text {
        font-size: 32px;
        font-weight: 700;
        color: white;
        line-height: 1;
    }

    .overlay-label {
        font-size: 14px;
        color: white;
        margin-top: 6px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* Empty Placeholder */
    .empty-placeholder {
        width: 100%;
        height: 100%;
        background: #f5f5f5;
        border-radius: 12px;
    }

    /* Larger Desktop (1024px+) */
    @media (min-width: 1024px) {
        .gallery-grid {
            gap: 20px;
        }

        .gallery-right-col {
            gap: 20px;
        }

        .gallery-bottom-row {
            gap: 20px;
        }

        .grid-item {
            border-radius: 16px;
        }

        .overlay-text {
            font-size: 40px;
        }

        .overlay-label {
            font-size: 16px;
        }

        /* Fixed heights for larger screens */
        .featured-large {
            height: 520px;
            width: 100%;
        }

        .featured-right-top {
            height: 250px;
            width: 100%;
        }

        .gallery-bottom-row .grid-item {
            height: 250px;
            width: 100%;
        }
    }
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 2;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: 6px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 6px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Mobile Lightbox */
@media (max-width: 767px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 32px;
    }

    .gallery-wrapper {
        padding: 0 12px;
    }
}


/* Info Items CSS */
   /* Mobile-First Approach */
   .package-info-list {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    overflow: visible;
}

.package-info-list .info-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-info-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-info-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.package-info-list .icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    color: #8b7355;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-info-list .info-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.package-info-list .label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
}

.package-info-list .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    word-break: break-word;
    line-height: 1.3;
}

/* Tablet - 3 columns */
@media (min-width: 640px) {
    .package-info-list .info-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .package-info-list .value {
        font-size: 1rem;
    }
}

/* Desktop - 4 columns */
@media (min-width: 1024px) {
    .package-info-list .info-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }



    .package-info-list .icon {
        font-size: 2rem;
    }

    .package-info-list .value {
        font-size: 1.05rem;
    }
}

.trip-overview-content{
    text-align: justify;
}
/* Read more less css */

.read-more-collapsed p:nth-of-type(n+3) {
    display: none;
}

.read-more-toggle {
    margin-top: 12px;
    display: inline-block;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

  /* Altitude Chart Styles */
  .altitude-chart-wrapper {
      margin: 2rem 0;
  }

  .altitude-chart-card {
      padding: 2rem;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
      margin: 0 auto;
  }

  .altitude-chart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 1rem;
  }

  .altitude-chart-header h2 {
      font-size: 1.8rem;
      color: #0073aa;
      display: flex;
      align-items: center;
      gap: .6rem;
  }

  .unit-toggle-group {
      display: flex;
      align-items: center;
      gap: .5rem;
  }

  .unit-toggle {
      background: #f1f5f9;
      border: none;
      border-radius: 6px;
      padding: .35rem .9rem;
      cursor: pointer;
      transition: all .25s ease;
      font-weight: 600;
      color: #0073aa;
  }

  .unit-toggle.active {
      background: #0073aa;
      color: #fff;
      transform: scale(1.05);
  }

  .chart-scroll-wrapper {
      overflow-x: auto;
      padding-bottom: 1rem;
  }

  /* Mobile Responsive - Altitude Chart */
  @media (max-width: 768px) {
      .altitude-chart-header {
          flex-direction: column;
          text-align: center;
          gap: 0.75rem;
      }

      canvas#altitudeChart {
          height: 220px;
      }
  }

  /* Temperature Chart Styles */
  .temperature-chart-wrapper {
      max-width: 100%;
      padding: 1rem;
      margin: 2rem auto;
  }

  .chart-title {
      text-align: center;
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: #111;
  }

  .temperature-chart-card {
      background: #fff;
      border-radius: 12px;
      padding: 1rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      position: relative;
      height: 350px;
      overflow-x: auto;
  }

  .temperature-chart-card canvas {
      min-width: 700px;
  }

  .chart-download {
      text-align: center;
      margin-top: 1rem;
  }

  #downloadChartBtn {
      background: #000;
      color: #fff;
      padding: .6rem 1.2rem;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  #downloadChartBtn:hover {
      background: #333;
  }

  /* Mobile Responsive - Temperature Chart */
  @media (max-width: 600px) {
      .chart-title {
          font-size: 1.2rem;
      }

      .temperature-chart-card {
          padding: .6rem;
          height: 280px;
      }

      #downloadChartBtn {
          font-size: .9rem;
          padding: .5rem 1rem;
      }
  }
