/* Tour Gallery Widget Styles */
.tour-gallery-widget {
    padding: 40px 0;
    width: 100%;
}

.tour-gallery-header {
    margin-bottom: 40px;
}

.tour-gallery-title {
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 10px 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* Green underline for last word (GALLERY) */
.tour-gallery-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 45%;
    height: 3px;
    background: #8bc53f;
}

.tour-gallery-subtitle {
    font-size: 16px;
    color: #999;
    margin: 5px 0 0 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tour-gallery-container {
    position: relative;
}

.tour-gallery-slider {
    position: relative;
    margin-bottom: 30px;
}

/* Slick Slider Adjustments - REMOVE ALL NUMBERING AND COUNTERS */
.tour-gallery-slider .slick-slide {
    padding: 0 5px;
    counter-increment: none !important;
}

.tour-gallery-slider .slick-list {
    margin: 0 -5px;
    overflow: visible;
}

.tour-gallery-slider .slick-track {
    display: flex;
    align-items: center;
}

/* Remove any numbering from slides */
.tour-gallery-slide {
    counter-increment: none !important;
    list-style: none !important;
}

.tour-gallery-slide::marker {
    display: none !important;
}

.tour-gallery-slide {
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tour-gallery-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover Overlay Effect */
.tour-gallery-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

/* Green Plus Icon */
.tour-gallery-slide::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #8bc53f;
    color: white;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    text-align: center;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.tour-gallery-slide:hover::before {
    opacity: 1;
}

.tour-gallery-slide:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.tour-gallery-slide:hover img {
    transform: scale(1.1);
}

/* Arrows Below Gallery */
.tour-gallery-arrows-below {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.tour-gallery-arrow {
    background: #8bc53f;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tour-gallery-arrow:hover {
    background: #7ab62f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.tour-gallery-arrow:focus {
    outline: none;
}

/* COMPLETELY REMOVE DOTS STYLES */
.tour-gallery-dots,
.slick-dots {
    display: none !important;
}

/* Lightbox Styles */
.tour-gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.tour-gallery-lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-gallery-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tour-gallery-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.tour-gallery-lightbox-close:hover {
    color: #8bc53f;
}

.tour-gallery-lightbox-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.tour-gallery-lightbox-prev,
.tour-gallery-lightbox-next {
    background: rgba(139, 197, 63, 0.8);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tour-gallery-lightbox-prev:hover,
.tour-gallery-lightbox-next:hover {
    background: #8bc53f;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tour-gallery-title {
        font-size: 30px;
    }
    
    .tour-gallery-slide img {
        height: 250px;
    }

    .tour-gallery-slide::after {
        width: 50px;
        height: 50px;
        font-size: 35px;
        line-height: 50px;
    }
}

@media (max-width: 768px) {
    .tour-gallery-widget {
        padding: 30px 0;
    }
    
    .tour-gallery-header {
        margin-bottom: 30px;
    }
    
    .tour-gallery-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
    
    .tour-gallery-subtitle {
        font-size: 14px;
    }
    
    .tour-gallery-slide img {
        height: 220px;
    }
    
    .tour-gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .tour-gallery-slide::after {
        width: 45px;
        height: 45px;
        font-size: 30px;
        line-height: 45px;
    }

    .tour-gallery-lightbox-content {
        padding: 10px;
    }

    .tour-gallery-lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .tour-gallery-lightbox-nav {
        padding: 0 10px;
    }

    .tour-gallery-lightbox-prev,
    .tour-gallery-lightbox-next {
        padding: 10px 15px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .tour-gallery-title {
        font-size: 22px;
        letter-spacing: 0.5px;
    }
    
    .tour-gallery-subtitle {
        font-size: 13px;
    }
    
    .tour-gallery-slide img {
        height: 200px;
    }
    
    .tour-gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .tour-gallery-slide::after {
        width: 40px;
        height: 40px;
        font-size: 28px;
        line-height: 40px;
    }

    .tour-gallery-arrows-below {
        gap: 15px;
        margin-top: 15px;
    }

    .tour-gallery-lightbox-close {
        top: 5px;
        right: 15px;
        font-size: 25px;
    }

    .tour-gallery-lightbox-prev,
    .tour-gallery-lightbox-next {
        padding: 8px 12px;
        font-size: 18px;
    }
}