/* ============================================
   Customer Reviews Page Styles
   ============================================ */

/* Override root colors for this page */
:root {
  --main-color: #1F3E66;
  --second-color: #1F3E66;
  --third-color: #162c4a;
  --light-color: #5f7fa3;
  --border-color: #e5e7eb;
  --background-color: #f4f7fb;
  --light-background: #f8fafc;
  --main-grey: #f3f4f6;
  --black-color: #1f2937;
  --white-color: #ffffff;
  --para-color: #6b7280;
  --accent-purple: #9aa5b1;
  --light-gray: #d1d5db;
  --danger-color: #d1672d;
  --very-light-purple: #f1f5f9;
  --light-blue-gray: #eef2f7;
  --box-shadow: rgba(0,0,0,0.08) 0px 4px 16px, rgba(0,0,0,0.04) 0px 8px 32px;
  --sharp-box-shadow: rgba(0,0,0,0.2) 0px 1px 2px 0px, rgba(0,0,0,0.1) 0px 1px 3px 1px;
}

.customer-reviews-section {
    background: var(--light-background);
    padding: 60px 0 80px;
}

/* Reviews Header */
.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 35px;
    font-weight: 700;
    color: var(--second-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: var(--para-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .section-title {
    font-size: 35px;
    font-weight: 700;
    color: var(--second-color);
    margin-bottom: 10px;
}

.section-header .section-title span {
    color: var(--danger-color);
}

.section-description {
    font-size: 16px;
    color: var(--para-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Video Testimonials Section
   ============================================ */

.video-testimonials-section {
    background: var(--white-color);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sharp-box-shadow);
    /* No entrance animation — removed scroll observer animation */
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.video-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--box-shadow);
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

/* Pulse ring animation */
@keyframes playPulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.6; }
    70%  { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
}

@keyframes playBounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.08); }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    animation: playBounce 2.4s ease-in-out infinite;
}

/* Ripple ring */
.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: playPulse 2s ease-out infinite;
}

/* Second, slightly delayed ring */
.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    animation: playPulse 2s ease-out 0.5s infinite;
}

.play-button i {
    font-size: 24px;
    color: var(--main-color);
    margin-left: 4px;   /* optical nudge for play triangle */
    position: relative;
    z-index: 1;
}

.video-item:hover .play-button {
    background: var(--main-color);
    animation: none;
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 28px rgba(31, 62, 102, 0.45);
}

.video-item:hover .play-button i {
    color: var(--white-color);
}


.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(22, 44, 74, 0.85), transparent);
    padding: 30px 15px 15px;
    z-index: 5;
}

.video-title {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
    display: block;
    line-height: 1.4;
}
/* Ripple ring */
.play-button::before,
.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.play-button::before {
    background: rgba(255, 255, 255, 0.45);
    animation: playPulse 2s ease-out infinite;
}

.play-button::after {
    background: rgba(255, 255, 255, 0.25);
    animation: playPulse 2s ease-out 0.5s infinite;
}

.video-item:hover .play-button::before,
.video-item:hover .play-button::after {
    opacity: 0;
}
/* ============================================
   Customer Experience Slider Section
   ============================================ */

.customer-experience-section {
    background: var(--white-color);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.experience-slider-container {
    position: relative;
    margin-top: 30px;
    /* Extra horizontal room so arrows sit outside the swiper without clipping */
    padding: 0 64px;
}

/* Static grid layout (≤3 slides) */
.experience-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Swiper wrapper */
.experienceSwiper {
    padding: 10px 0 60px;
}

.experience-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--sharp-box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Reset category.css overrides */
    background: transparent;
    display: block;
    width: 100%;
    padding: 0 !important;
    gap: 0;
    color: inherit;
    align-items: unset;
    flex-direction: unset;
}

.experience-card::before {
    display: none !important;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.experience-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.experience-card:hover img {
    transform: scale(1.1);
}
/* 
.experience-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(22, 44, 74, 0.95) 0%, 
        rgba(31, 62, 102, 0.65) 50%, 
        transparent 100%);
    padding: 40px 25px 25px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* .experience-card:hover .experience-overlay {
    transform: translateY(-10px);
} */

/*.experience-info h3 {
    color: var(--white-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.experience-info p {
    color: #a8c4e0;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
} */

/* ============================================
   Swiper Navigation — arrows outside swiper wrapper,
   anchored to .experience-slider-container
   ============================================ */

.experienceSwiper-prev,
.experienceSwiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-60%); /* offset for pagination space below */
    z-index: 20;
    background: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experienceSwiper-prev {
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.experienceSwiper-next {
    right: 0;
}

/* swiper-button-disabled is added by Swiper to the nav el */
.experienceSwiper-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.experienceSwiper-prev.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Show prev after JS adds class to swiperEl */
.experienceSwiper.user-navigated ~ .experienceSwiper-prev,
.experience-slider-container.user-navigated .experienceSwiper-prev {
    opacity: 1;
    pointer-events: auto;
}

/* Swiper puts disabled class on nav elements directly — handle via JS fallback */

.experienceSwiper-prev:after,
.experienceSwiper-next:after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
}

.experienceSwiper-prev:after { content: 'prev'; }
.experienceSwiper-next:after { content: 'next'; }

.experienceSwiper-prev:hover,
.experienceSwiper-next:hover {
    background: var(--main-color);
}

.experienceSwiper-prev:hover:after,
.experienceSwiper-next:hover:after {
    color: var(--white-color);
}

/* Remove old .experienceSwiper .swiper-button-* rules that no longer apply */
.experienceSwiper .swiper-button-prev,
.experienceSwiper .swiper-button-next {
    display: none;
}

/* Swiper Pagination */
.experienceSwiper .swiper-pagination {
    bottom: 20px;
}

.experienceSwiper .swiper-pagination-bullet {
    background: var(--light-gray);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.experienceSwiper .swiper-pagination-bullet-active {
    background: var(--main-color);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   Customer Stats Section
   ============================================ */

.customer-stats-section {
    background: var(--second-color);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: var(--box-shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--danger-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 30px;
    color: var(--white-color);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #a8c4e0;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 30px;
    }

    .section-header .section-title {
        font-size: 28px;
    }

    .video-testimonials-section,
    .customer-experience-section,
    .customer-stats-section {
        padding: 40px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .experience-static-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .customer-reviews-section {
        padding: 40px 0 60px;
    }

    .reviews-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .section-header .section-title {
        font-size: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-testimonials-section,
    .customer-experience-section,
    .customer-stats-section {
        padding: 30px 20px;
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .video-thumbnail {
        height: 200px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 22px;
    }

    .experience-card {
        height: 350px;
    }

    .experience-info h3 {
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 24px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 14px;
    }

    .experienceSwiper .swiper-button-next,
    .experienceSwiper .swiper-button-prev {
        display: none;
    }

    .experience-static-grid {
        grid-template-columns: 1fr;
    }
    .experience-slider-container {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }

    .section-header .section-title {
        font-size: 20px;
    }

    .video-testimonials-section,
    .customer-experience-section,
    .customer-stats-section {
        padding: 25px 15px;
    }

    .experience-card {
        height: 300px;
    }
}

/* ============================================
   LightGallery — keep default plugin styling
   (no custom overrides needed; plugin CSS handles it)
   ============================================ */

/* ============================================
   Fancybox Custom Styles — minimal, no animation override
   ============================================ */

.fancybox__backdrop {
    background: rgba(22, 44, 74, 0.96);
}

.fancybox__slide {
    padding: 20px;
}

.fancybox__content {
    border-radius: 12px;
    overflow: hidden;
}

/* Disable entrance slide animation on Fancybox */
.fancybox__slide .fancybox__content {
    animation: none !important;
    transition: opacity 0.2s ease !important;
}

@media (max-width: 768px) {
    .fancybox__slide {
        padding: 10px;
    }
}

/* ============================================
   Traveller Reviews extras
   ============================================ */
.review-hero {
    background: linear-gradient(rgba(22,44,74,.7), rgba(22,44,74,.7)),
                url('https://images.unsplash.com/photo-1539768942893-daf53e448371') center/cover;
    height: 300px;
}

.rating-summary {
    background: #fff;
}

.review-item {
    transition: .3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
}

.filter-btn.active {
    background-color: var(--main-color);
    color: #fff;
}
