/* Custom Tour Single Page Styles */
.custom-tour-single-page {
    background-color: transparent;
}
.custom-tour-header .product_title {
    font-weight: 800;
    font-size: 32px;
    color: #111827;
    margin-bottom: 10px;
}
.tour-gallery-grid {
    display: flex;
    gap: 10px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}
.tour-gallery-grid .gallery-large {
    flex: 1;
    height: 100%;
}
.tour-gallery-grid .gallery-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-gallery-grid .gallery-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    width: 40%;
}
.tour-gallery-grid .gallery-small-item {
    position: relative;
    height: 100%;
}
.tour-gallery-grid .gallery-small-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.view-all-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #fff;
    color: #111;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.custom-tour-left .includes-box, .custom-tour-left .excludes-box {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    height: 100%;
}
.custom-tour-left .includes-box {
    border-left: 4px solid #10b981;
}
.custom-tour-left .excludes-box {
    border-left: 4px solid #ef4444;
}
.tour-inc-list, .tour-exc-list {
    list-style: none;
    padding-left: 0;
}
.tour-inc-list li, .tour-exc-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
}
.tour-inc-list li i, .tour-exc-list li i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}
.custom-booking-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.4);
    position: sticky;
    top: 100px;
}
.custom-booking-card .price {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    display: block;
    margin-bottom: 20px;
}
.custom-booking-card .single_add_to_cart_button {
    width: 100%;
    background: #ea580c !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: none;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .tour-gallery-grid {
        flex-direction: column;
        height: auto;
    }
    .tour-gallery-grid .gallery-small-grid {
        width: 100%;
    }
    .tour-gallery-grid .gallery-large {
        height: 250px;
    }
    .tour-gallery-grid .gallery-small-item {
        height: 120px;
    }
}

/* Removed forced white background to allow parchment background to show through */


/* Modernized Tab Content Styling */
.tours-tabs { background: transparent; }
.vr-content-wrapper { position: relative; max-height: 300px; overflow: hidden; transition: max-height 0.5s ease; background: transparent; border-radius: 16px; padding: 10px 0; color: #475569; line-height: 1.8; font-size: 16px; }
.vr-content-wrapper.expanded { max-height: 5000px; }
.vr-content-fade { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; background: linear-gradient(to bottom, rgba(248, 244, 230, 0), rgba(248, 244, 230, 1)); pointer-events: none; }
.vr-read-more-btn { background: #ea580c; color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 10px 30px; border-radius: 30px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.vr-read-more-btn:hover { transform: translateY(-2px); background: #c2410c; box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3); }
.tour-single #vr-tour-content .wp-block-gallery, .tour-single #vr-tour-content .gallery { display: none !important; }
.vr-content-wrapper p { margin-bottom: 20px; }
.vr-content-wrapper ul { padding-left: 20px; margin-bottom: 20px; }
.vr-content-wrapper li { margin-bottom: 10px; }
.vr-content-wrapper h2, .vr-content-wrapper h3, .vr-content-wrapper h4 { color: #1D3557; font-weight: 800; margin-top: 30px; margin-bottom: 15px; padding: 10px 16px; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); border-left: 4px solid var(--brand-main, #228494); border-radius: 0 12px 12px 0; }
.vr-content-wrapper h2 { font-size: 26px; }
.vr-content-wrapper h3 { font-size: 22px; }
.vr-content-wrapper h4 { font-size: 18px; }

/* FAQ & Itinerary */
.vr-faq-container, .vr-itinerary-container { margin: 40px 0; }
.vr-faq-header, .vr-itinerary-header { background: rgba(29, 53, 87, 0.85); backdrop-filter: blur(10px); padding: 20px 30px; color: #fff; border-radius: 16px 16px 0 0; display: flex; align-items: center; gap: 12px; }
.vr-faq-header h2, .vr-itinerary-header h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.vr-faq-body { background: transparent; padding: 15px 0; border: none; }
.accordion { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); color: #1D3557; cursor: pointer; padding: 18px 25px; width: 100%; border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; text-align: left; outline: none; transition: all 0.3s ease; font-size: 16px; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.accordion:hover { background: rgba(255, 255, 255, 0.6); }
.accordion.active { background: rgba(29, 53, 87, 0.85); color: #fff; border-radius: 12px 12px 0 0; margin-bottom: 0; border-color: transparent; }
.accordion:after { content: '\f067'; font-family: 'FontAwesome'; font-weight: normal; color: #1D3557; transition: all 0.3s ease; }
.accordion.active:after { content: "\f068"; color: #fff; }
.ssspanel { padding: 0 25px; background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); max-height: 0; color: #475569; text-align: left; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; margin-bottom: 8px; border-radius: 0 0 12px 12px; font-size: 15px; line-height: 1.6; border: 1px solid rgba(255,255,255,0.2); border-top: none; }
.ssspanel.show { padding: 20px 25px; }

.vr-timeline { position: relative; padding: 30px 10px; background: transparent; border: none; }
.vr-timeline::before { content: ''; position: absolute; top: 30px; bottom: 30px; left: 25px; width: 2px; background: rgba(29, 53, 87, 0.2); }
.vr-timeline-item { position: relative; padding-left: 50px; margin-bottom: 30px; }
.vr-timeline-item:last-child { margin-bottom: 0; }
.vr-timeline-marker { position: absolute; left: 1px; top: 0; width: 32px; height: 32px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(5px); border: 2px solid var(--brand-main, #228494); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--brand-main, #228494); box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.vr-timeline-content { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); padding: 20px 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.4); transition: transform 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.vr-timeline-content:hover { transform: translateX(5px); background: rgba(255, 255, 255, 0.6); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.vr-timeline-day { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-main, #228494); font-weight: 800; margin-bottom: 8px; display: block; }
.vr-timeline-text { font-size: 15px; color: #475569; line-height: 1.6; }
.vr-timeline-text p { margin-bottom: 10px; }
.vr-timeline-text p:last-child { margin-bottom: 0; }

/* Includes & Excludes */
.tours-info-grid { display: flex; flex-wrap: wrap; gap: 20px; margin: 40px 0; }
.info-card { flex: 1; min-width: calc(50% - 10px); background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); border-radius: 16px; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); }
.info-card__header { padding: 15px 20px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 12px; }
.header--included { background: rgba(16, 185, 129, 0.15); color: #047857; border-bottom: 1px solid rgba(16, 185, 129, 0.2); }
.header--excluded { background: rgba(239, 68, 68, 0.15); color: #b91c1c; border-bottom: 1px solid rgba(239, 68, 68, 0.2); }
.info-card__list { padding: 15px 20px; margin: 0; list-style: none !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 15px; }
.info-card__list li { position: relative; padding-left: 26px; margin-bottom: 0; font-size: 14px; color: #475569; line-height: 1.4; font-weight: 500; }
.info-card__list li::before { font-family: "FontAwesome"; position: absolute; left: 0; top: 1px; font-size: 16px; }
.included-list li::before { content: "\f058"; color: #10b981; }
.excluded-list li::before { content: "\f057"; color: #ef4444; }
@media only screen and (max-width: 768px) { .info-card { min-width: 100%; } }
@media only screen and (max-width: 576px) { .info-card__list { grid-template-columns: 1fr; } }

/* Override main-custom.css for .tab-content */
.tour-single .tours-tabs .tab-content,
.tours-tabs .tab-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Modern Tour Reviews & Comment Area */
.tour-reviews {
    margin-top: 50px;
    background: transparent;
}
.tour-reviews .title__primary, .tour-reviews__form__title {
    font-size: 24px;
    font-weight: 800;
    color: #1D3557;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.tour-reviews .title__primary::after, .tour-reviews__form__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ea580c;
    border-radius: 2px;
}
.tour-reviews__rating-total {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.tour-reviews__rating-total__stars {
    font-size: 20px;
    color: #ea580c;
}
.tour-reviews__rating-total__text {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}
.tour-reviews__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tour-reviews__item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tour-reviews__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.tour-reviews__item__container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.tour-reviews__item__info {
    flex-shrink: 0;
    text-align: center;
}
.tour-reviews__item__info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}
.tour-reviews__item__name {
    font-weight: 700;
    color: #1D3557;
    font-size: 15px;
}
.tour-reviews__item__content {
    flex-grow: 1;
}
.tour-reviews__item__content__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.tour-reviews__item__rating {
    color: #ea580c;
    font-size: 14px;
}
.tour-reviews__item__date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}
.tour-reviews__item__text {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* Comment Form Styling */
.tour-reviews__form {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.comment-form p {
    margin-bottom: 20px;
}
.comment-form label {
    display: block;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 8px;
    font-size: 14px;
}
.comment-form input[type="text"], 
.comment-form input[type="email"], 
.comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #1D3557;
    transition: all 0.3s ease;
}
.comment-form input[type="text"]:focus, 
.comment-form input[type="email"]:focus, 
.comment-form textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
    background: #fff;
}
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
.comment-form .stars {
    display: inline-block;
    color: #ea580c;
    font-size: 18px;
}
.comment-form .submit, #submit, .form-submit .submit {
    background: #ea580c !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 0 30px !important;
    height: 48px !important;
    line-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.comment-form .submit:hover, #submit:hover, .form-submit .submit:hover {
    background: #c2410c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.3);
}
@media (max-width: 768px) {
    .tour-reviews__item__container {
        flex-direction: column;
    }
    .tour-reviews__item__info {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    .tour-reviews__item__info img {
        margin-bottom: 0;
    }
}
