/* Tour Detail Page Styles */

.tour-detail-page {
    min-height: 100vh;
    background: #f8f9fa;
    padding-top: 100px;
}

.tour-detail-page .header-nav,
.tour-detail-page .header-nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tour-detail-page .header-nav .logo-text,
.tour-detail-page .header-nav .nav-links li a,
.tour-detail-page .header-nav .signup-link,
.tour-detail-page .header-nav.scrolled .logo-text,
.tour-detail-page .header-nav.scrolled .nav-links li a,
.tour-detail-page .header-nav.scrolled .signup-link {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

.tour-detail-page .header-nav .hamburger-line,
.tour-detail-page .header-nav.scrolled .hamburger-line {
    background: #1a1a1a !important;
}

/* Tour Hero Slider Banner - Same style as destinations banner */
.tour-hero-section {
    width: 100%;
    padding: 40px 30px 20px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
}

.tour-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tour-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourHeroSwiper {
    width: 100%;
    height: 100%;
}

.tourHeroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.tourHeroSwiper .swiper-pagination {
    bottom: 20px;
}

.tourHeroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.tourHeroSwiper .swiper-pagination-bullet-active {
    background: #ffffff;
}

.tour-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Tour Highlights Top Section */
.tour-highlights-top-section {
    margin-bottom: 50px;
}

.tour-highlights-top-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Large Card - 50/50 Split */
.tour-highlights-large-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    min-height: 400px;
}

/* Left Half: Image Section */
.tour-highlights-image-section {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.tour-highlights-image-section .card-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tour-highlights-image-section .card-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tour-highlights-image-section .card-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.tour-highlights-image-section .card-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.tour-highlights-image-section .card-slider-dots {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 6px;
    align-items: center;
}

.tour-highlights-image-section .card-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.tour-highlights-image-section .card-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.tour-highlights-image-section .card-slider-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Right Half: White Content Section */
.tour-highlights-content-section {
    width: 50%;
    background: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tour-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
    flex-shrink: 0;
    margin-top: 8px;
}

.tour-highlight-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    flex: 1;
}

/* Tour Header */
.tour-detail-header {
    margin-bottom: 40px;
}

.tour-detail-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.tour-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.tour-meta i {
    font-size: 18px;
    color: #000;
}

/* Image Gallery removed - now using slider banner at top */

/* Section Styles */
.tour-description-section,
.tour-included-section,
.tour-itinerary-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tour-description-section h2,
.tour-included-section h2,
.tour-itinerary-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: center;
}

.tour-description-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Included Section */
.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.included-item i {
    font-size: 20px;
    color: #28a745;
    flex-shrink: 0;
    margin-top: 2px;
}

.included-item span {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.5;
}


/* Itinerary Styles - Ravenalab Design */
.fl-column {
    display: flex;
    flex-direction: column;
}

.fl-row {
    display: flex;
    flex-direction: row;
}

.justify-content-center {
    justify-content: center;
}

.align-items-end {
    align-items: flex-end;
}

.itinerary-information-container {
    max-width: 900px;
    width: 97%;
    margin: 0 auto;
}

#itinerary-target {
    row-gap: unset !important;
}

.day-parag {
    border: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.border-dash-left {
    border-left: 2px dashed #1a1a1a;
    margin-left: 5px;
    position: relative;
    left: 20px;
    top: 0;
    padding-left: 20px;
    padding-bottom: 20px;
}

.itinerary-detail-container {
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
}

.itinerary-detail-container h5 {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.j-expand-btn {
    width: 50px;
    height: 30px;
    border: unset;
    background: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 20px;
    transition: all 0.3s ease;
}

.j-expand-btn:hover {
    color: #666;
}

.j-expand-btn .expanded-btn,
.j-expand-btn span.bi-chevron-up {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 10px;
    color: white;
}

.collapse-area {
    overflow: visible;
    transition: height 0.3s ease;
    max-width: 60%;
    margin-left: 70px;
    width: 60%;
    padding-right: 20px;
    box-sizing: border-box;
}

.collapse-close {
    height: 0;
}

.removeOnExpand {
    padding: 0 !important;
    font-weight: 600;
    font-size: 12px;
    margin: 25px 0;
}

.itinerary-tour-parag {
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 2em;
    width: 80%;
    text-align: end;
    font-weight: 400;
    color: #666;
}

.sub-destination-parag {
    font-size: 14px;
    line-height: 2em;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 20px;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
}

.hide-on-small-dvc {
    border-radius: 4px;
}

@media (max-width: 768px) {
    .border-dash-left {
        width: 93% !important;
    }
    
    .hide-on-small-dvc {
        display: none;
    }
    
    .itinerary-detail-container > .fl-row:first-child {
        width: 100% !important;
        margin-left: 0 !important;
    }
}


/* Tour Booking Section */
.tour-booking-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
    flex-wrap: wrap;
}

.booking-header-left {
    flex: 1;
    min-width: 300px;
}

.booking-header-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-align: center;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: #000000;
    margin-bottom: 25px;
}

.tour-type-selection {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tour-type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-type-btn i {
    font-size: 16px;
}

.tour-type-btn:hover {
    border-color: #000000;
    color: #000000;
}

.tour-type-btn.active {
    background: #000000;
    border-color: #000000;
    color: white;
}

.booking-header-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.price-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.price-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.price-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.price-toggle-switch input:checked + .toggle-slider {
    background-color: #000000;
}

.price-toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.sort-select {
    padding: 8px 35px 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s ease;
}

.sort-select:hover {
    border-color: #000000;
}

.sort-select:focus {
    outline: none;
    border-color: #000000;
}

.booking-instruction {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: right;
    max-width: 500px;
}

.booking-table-container {
    overflow-x: auto;
}

.booking-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.booking-table thead {
    background: transparent;
}

.booking-table thead tr th {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
}

.booking-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.2s ease;
}

.booking-table tbody tr:hover {
    background-color: #f8f9fa;
}

.booking-table tbody tr td {
    padding: 18px 20px;
    font-size: 15px;
    color: #1a1a1a;
    vertical-align: middle;
}

.booking-table tbody tr td:first-child {
    font-weight: 500;
}

.capacity-text {
    margin-right: 8px;
    font-weight: 500;
}

.capacity-icon {
    color: #000000;
    font-size: 16px;
}

.price-cell {
    font-weight: 600;
    color: #1a1a1a;
}

.book-now-btn {
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: #000000;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.book-now-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 8px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 40deg,
        #000000 45deg,
        #000000 105deg,
        transparent 110deg,
        transparent 360deg
    );
    animation: rotate-border 1.5s linear infinite;
    z-index: -1;
    opacity: 1;
}

.book-now-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 6px;
    z-index: -1;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.book-now-btn:hover::before {
    opacity: 1;
}

.book-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.tour-cta-section {
    text-align: center;
    padding: 40px 0;
}

.cta-button {
    background: #000;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .tour-detail-container {
        padding: 30px 20px;
    }

    .tour-highlights-top-section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .tour-highlights-large-card {
        flex-direction: column;
        min-height: auto;
    }

    .tour-highlights-image-section {
        width: 100%;
        height: 300px;
    }

    .tour-highlights-content-section {
        width: 100%;
        padding: 30px 20px;
    }

    .tour-highlights-list {
        gap: 20px;
    }

    .tour-highlight-item h3 {
        font-size: 18px;
    }

    .tour-highlight-item p {
        font-size: 14px;
    }

    .tour-detail-header h1 {
        font-size: 32px;
    }

    .tour-hero-section {
        padding: 20px 20px 15px;
    }

    .tour-hero-inner {
        height: 350px;
        border-radius: 16px;
    }

    .tour-description-section,
    .tour-included-section,
    .tour-itinerary-section {
        padding: 30px 20px;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .tour-detail-page {
        padding-top: 88px;
    }

    .tour-hero-section {
        padding: 20px 20px 15px;
    }

    .tour-hero-inner {
        height: 380px;
        border-radius: 16px;
    }

    .tour-highlights-top-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .tour-highlights-large-card {
        flex-direction: column;
        min-height: auto;
    }

    .tour-highlights-image-section {
        width: 100%;
        height: 280px;
    }

    .tour-highlights-content-section {
        width: 100%;
        padding: 25px 20px;
    }

    .tour-highlights-list {
        gap: 18px;
    }

    .tour-highlight-item h3 {
        font-size: 17px;
    }

    .tour-highlight-item p {
        font-size: 13px;
    }

    .tour-detail-header h1 {
        font-size: 28px;
    }

    .tour-meta {
        gap: 15px;
    }

    .collapse-area {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }

    .sub-destination-parag {
        padding-right: 0;
        font-size: 13px;
        line-height: 1.8em;
    }

    .itinerary-detail-container > .fl-row:first-child {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .border-dash-left {
        width: 100% !important;
        padding-left: 15px;
    }

    .tour-meta span {
        font-size: 14px;
    }

    .tour-description-section h2,
    .tour-included-section h2,
    .tour-itinerary-section h2 {
        font-size: 24px;
    }

    .tour-booking-section {
        padding: 30px 20px;
    }

    .booking-header {
        flex-direction: column;
        gap: 25px;
    }

    .booking-header-left,
    .booking-header-right {
        width: 100%;
        min-width: unset;
    }

    .booking-header-right {
        align-items: flex-start;
    }

    .booking-instruction {
        text-align: left;
        max-width: 100%;
    }

    .booking-table {
        font-size: 13px;
    }

    .booking-table thead tr th,
    .booking-table tbody tr td {
        padding: 12px 10px;
    }

    .book-now-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tour-detail-container {
        padding: 20px 15px;
    }

    .tour-highlights-top-section {
        margin-bottom: 30px;
    }

    .tour-highlights-top-section h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .tour-highlights-large-card {
        flex-direction: column;
        min-height: auto;
    }

    .tour-highlights-image-section {
        width: 100%;
        height: 250px;
    }

    .tour-highlights-content-section {
        width: 100%;
        padding: 20px 15px;
    }

    .tour-highlights-list {
        gap: 15px;
    }

    .tour-highlight-item h3 {
        font-size: 16px;
    }

    .tour-highlight-item p {
        font-size: 12px;
    }

    .tour-detail-header h1 {
        font-size: 24px;
    }

    .tour-description-section,
    .tour-included-section,
    .tour-itinerary-section {
        padding: 20px 15px;
    }

    .tour-booking-section {
        padding: 25px 15px;
    }

    .booking-header-left h2 {
        font-size: 28px;
    }

    .price-toggle-container,
    .sort-container {
        flex-wrap: wrap;
    }

    .booking-table thead tr th,
    .booking-table tbody tr td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .booking-table thead {
        display: none;
    }

    .booking-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        padding: 15px;
        background: white;
    }

    .booking-table tbody tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border: none;
        text-align: right;
    }

    .booking-table tbody tr td:first-child {
        text-align: left;
        font-weight: 600;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .booking-table tbody tr td:first-child:before {
        content: "Date";
        font-weight: 600;
        color: #666;
        margin-right: auto;
        text-align: left;
        font-size: 12px;
    }

    .booking-table tbody tr td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        margin-right: auto;
        text-align: left;
        font-size: 12px;
    }

    .booking-table tbody tr td:last-child {
        justify-content: center;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid #e8e8e8;
    }

    .booking-table tbody tr td:last-child:before {
        display: none;
    }

    .book-now-btn {
        width: 100%;
        padding: 12px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}
