body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
}

.breadcrumb {
    background: none;
    padding: 20px 0 10px;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

/* Header Section */
.tour-header {
    margin-bottom: 30px;
}

.tour-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.tour-tags {
    display: flex;
    gap: 10px;
}

.tour-tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-rail-tour {
    background-color: #17a2b8;
    color: white;
}

.tag-wildlife {
    background-color: #28a745;
    color: white;
}

.location-info {
    display: flex;
    align-items: center;
    color: #6c757d;
    gap: 15px;
}

.location-info i {
    margin-right: 5px;
}

.share-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background-color: #f8f9fa;
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 40px;
}

.main-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 400px;
}

.side-image {
    height: calc(50% - 7.5px);
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.side-image:hover {
    transform: scale(1.02);
}

.gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-btn:hover {
    background-color: #f8f9fa;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.gallery-close:hover {
    color: #ccc;
}

.gallery-slider {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-slider img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    color: #333;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover, .gallery-next:hover {
    background-color: rgba(255,255,255,1);
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    opacity: 1;
    border: 2px solid #17a2b8;
}

/* Tour Info Cards */
.tour-info-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-card {
    background: #e8f8f5;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.info-card i {
    color: #17a2b8;
    font-size: 1.2rem;
}

.info-card-content {
    color: #333;
    font-size: 0.95rem;
}

/* Content Layout */
.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    width: 350px;
    min-width: 350px;
}

.price-section {
    text-align: center;
    margin-bottom: 25px;
}

.price-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.booking-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.booking-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: white;
    border: none;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.booking-tab.active {
    background: #17a2b8;
    color: white;
}

.booking-form {
    animation: fadeIn 0.3s ease-in-out;
}

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

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
    outline: none;
}

.form-control textarea {
    resize: vertical;
    min-height: 100px;
}

.extras-section {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
}

.extras-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.extra-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.extra-item input[type="checkbox"] {
    margin: 0;
}

/* Participants Section */
.participants-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.participants-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.participants-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #17a2b8;
    border-radius: 2px;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.participant-item:last-child {
    border-bottom: none;
}

.participant-info {
    flex: 1;
}

.participant-type {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.participant-age {
    color: #6c757d;
    font-size: 0.85rem;
}

.participant-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participant-counter .counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.participant-counter .counter-btn:hover {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.participant-counter span {
    min-width: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.counter-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.counter-btn:hover {
    background: #e9ecef;
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.total-section {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-booking {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-booking:hover {
    background: #138496;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

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

.highlights-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.highlights-list li::before {
    content: "•";
    color: #17a2b8;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.included-excluded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.included-list, .excluded-list {
    list-style: none;
    padding: 0;
}

.included-list li, .excluded-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.included-list li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.excluded-list li::before {
    content: "✗";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-marker {
    position: absolute;
    left: -23px;
    top: 5px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #17a2b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #17a2b8;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #17a2b8;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    margin-top: 15px;
    color: #6c757d;
    line-height: 1.6;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* Reviews */
.rating-overview {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.rating-score {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.rating-text {
    color: #6c757d;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-label {
    width: 60px;
    font-size: 0.9rem;
    color: #6c757d;
}

.rating-bar-fill {
    flex: 1;
    height: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-progress {
    height: 100%;
    background: #ffc107;
    transition: width 0.5s ease-in-out;
}

.rating-bar-count {
    width: 30px;
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
}

.review-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.review-filter {
    padding: 8px 16px;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    background: white;
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.review-filter.active,
.review-filter:hover {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.reviews-list {
    margin-top: 30px;
}

.review-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    font-size: 2rem;
    color: #6c757d;
}

.reviewer-name {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}

.review-stars {
    color: #ffc107;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* Fixed Bottom Bar */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 15px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.fixed-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.fixed-bottom-bar .btn-booking {
    width: auto;
    min-width: 120px;
}

/* Responsive */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .booking-card {
        width: 100%;
        min-width: auto;
        position: static;
    }

    .fixed-bottom-bar {
        display: flex;
    }

    .booking-card {
        display: none;
    }

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

    .tour-title {
        font-size: 2rem;
    }

    .side-images {
        display: none;
    }

    .gallery-prev, .gallery-next {
        padding: 10px 15px;
        font-size: 18px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .tour-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-btn {
        margin-left: 0;
    }

    .tour-info-cards {
        flex-direction: column;
    }

    .rating-overview {
        flex-direction: column;
        text-align: center;
    }

    .gallery-modal-content {
        padding: 15px;
    }

    .gallery-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .gallery-thumbnails {
        gap: 5px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }

    .ticket-counter {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .content-section {
        padding: 20px;
    }

    .booking-card {
        padding: 20px;
    }

    .tour-title {
        font-size: 1.75rem;
    }

    .price {
        font-size: 2rem;
    }
}
