/* Tour Detail Layout */
.tour-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
    display: block;
}



.slider-and-social {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .slider-and-social {
        grid-template-columns: 1fr;
    }
}

.tour-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-slider-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow);
}

.tour-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.tour-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tour-slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .tour-slider-container {
        height: 300px;
    }
}

.tour-title-block h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}



.content-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.itinerary-day {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.itinerary-day::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
}

.itinerary-day::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    bottom: -25px;
    width: 2px;
    background: #eee;
}

.itinerary-day:last-child::after {
    display: none;
}

.itinerary-day:last-child {
    margin-bottom: 0;
}

.itinerary-day h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.inc-list {
    list-style: none;
    padding: 0;
}

.inc-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.inc-list.included li i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 2px;
}

.inc-list.excluded li i {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .inclusions-grid {
        grid-template-columns: 1fr;
    }
}

/* Tour Tabs */
.tour-tabs-container {
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

.tour-tabs {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tour-tab {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tour-tab.active {
    color: var(--primary);
}

.tour-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.tour-tab.active::after {
    width: 100%;
}

.tour-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tour-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Booking Form inside tab */
.booking-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary);
    box-shadow: var(--shadow);
}

.price-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.price-header .price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header .price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.price-header .price-amount span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.booking-form select,
.booking-form input[type="date"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.booking-form select:focus,
.booking-form input[type="date"]:focus {
    border-color: var(--primary);
}

.booking-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Action Buttons */
.action-buttons-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-print {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.btn-print:hover {
    background-color: #e9ecef;
}

.btn-mail {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-mail:hover {
    background-color: #d16421; /* Slightly darker orange */
    color: var(--white);
}

/* Print Styles */
@media print {
    header, footer, .tour-slider-container, .tour-tabs-container, .action-buttons-group, .booking-form-container {
        display: none !important;
    }
    
    .tour-tab-content {
        display: block !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .tour-detail-wrapper {
        padding: 0;
        margin: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-section {
        box-shadow: none;
        border: 1px solid #eee;
    }
}