/* Floating WhatsApp Button Styles */
.floating-whatsapp {
    position: fixed;
    bottom: 100px; /* Adjusted to sit above the back to top button */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* Mobile Optimization Tweaks */
@media screen and (max-width: 767px) {
    .floating-whatsapp {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Hero & Breadcrumb Overlays for better text visibility */
.breadcumb-wrapper {
    position: relative;
}

.breadcumb-wrapper::before,
.th-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 0;
    pointer-events: none;
}

.breadcumb-wrapper > *,
.hero-style1, .hero-inner > .container {
    position: relative;
    z-index: 2;
}

/* Fix text visibility on colored gradient backgrounds */
.category-half-bg ~ .container .sec-title,
.category-half-bg ~ .container .sub-title,
.category-half-bg ~ .container .sec-text,
.half-bg ~ .container .sec-title,
.half-bg ~ .container .sub-title,
.half-bg ~ .container .sec-text {
    color: #ffffff !important;
}

.breadcumb-title,
.breadcumb-menu li,
.breadcumb-menu li a,
.copyright-wrap .copyright-text,
.copyright-wrap .copyright-text a,
.copyright-wrap .title {
    color: #ffffff !important;
}

/* Fix wrapping buttons on tour list view */
.tour-action .th-btn {
    font-size: 13px !important;
    padding: 10px 15px !important;
    white-space: nowrap;
    min-width: auto;
}

/* Social Icons Brand Colors */
.header-links .fa-instagram, .th-social .fa-instagram {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-links .fa-facebook-f, .th-social .fa-facebook-f {
    color: #1877F2 !important;
}

.header-links .fa-twitter, .th-social .fa-twitter {
    color: #1DA1F2 !important;
}

.header-links .fa-whatsapp, .th-social .fa-whatsapp {
    color: #25D366 !important;
}

/* Mobile Top Nav Styling */
@media (max-width: 767px) {
    .header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .header-right .header-links {
        margin-top: 5px;
    }
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.review-modal.show {
    display: flex;
}
.review-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s;
}
.close-review-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}
.close-review-modal:hover {
    color: #000;
}
.review-modal .modal-title {
    margin-bottom: 20px;
    text-align: center;
}
.review-form .form-group {
    margin-bottom: 15px;
}
.star-rating {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.star-rating .star-btn {
    cursor: pointer;
}
.star-rating .star-btn i,
.star-rating .star-btn svg {
    font-size: 24px;
    color: #ccc;
    transition: 0.2s;
}
.star-rating .star-btn i.active,
.star-rating .star-btn svg.active {
    color: #f39c12 !important;
}

/* Empty State Review */
.no-reviews-state {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9fa;
    border-radius: 15px;
    border: 1px dashed #d1d5db;
}
.no-reviews-state i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 15px;
}
.no-reviews-state h4 {
    color: #4b5563;
    margin-bottom: 5px;
}
.no-reviews-state p {
    color: #6b7280;
}

/* Increase Footer Social Icons Size */
.footer-wrapper .th-social a {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 26px;
    margin-right: 15px;
}

/* Tour Details Thumbnail Grid */
.tour-thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}
.tour-thumb-grid::-webkit-scrollbar {
    width: 6px;
}
.tour-thumb-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}
.tour-thumb-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.tour-thumb-item:hover {
    transform: scale(1.03);
}
