/* ===== TOUR PAGE STYLES ===== */

/* Tour Hero */
.tour-hero {
    position: relative;
    height: 450px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.tour-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4,24,39,0.3), rgba(4,24,39,0.7));
}

.tour-hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    color: var(--color-white);
}

.tour-hero-content h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tour-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-family: var(--font-title);
    font-size: 16px;
}

.tour-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-hero-price {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-title);
    color: var(--color-secondary);
}

/* Tabs Navigation */
.tour-tabs {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    z-index: 50;
}

.tour-tabs-nav {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 0;
}

.tour-tab-btn {
    padding: 16px 24px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

/* Tab Panels */
.tour-tab-panel {
    display: none;
    padding: 40px 0;
}

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

.tour-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Itinerary */
.itinerary-day {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.itinerary-day:last-child {
    border-bottom: none;
}

.itinerary-day-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}

.itinerary-day-content h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.itinerary-day-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.itinerary-day-content .route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-light-gray);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

/* Accommodation */
.hotel-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    padding: 25px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.hotel-card-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: var(--radius-btn);
    overflow: hidden;
}

.hotel-card-images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.hotel-card-images img:first-child {
    grid-column: span 2;
    height: 180px;
}

.hotel-card-content h3 {
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 8px;
}

.hotel-card-content .hotel-location {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hotel-card-content p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hotel-amenity {
    background: var(--color-light-gray);
    padding: 4px 12px;
    border-radius: 15px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Pricing */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-title);
    margin: 20px 0;
}

.pricing-table th {
    background: var(--color-heading);
    color: var(--color-white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.pricing-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
}

.pricing-table tr:nth-child(even) {
    background: var(--color-light-gray);
}

.pricing-table .price-highlight {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.pricing-includes h3 {
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-includes ul {
    list-style: none;
    padding: 0;
}

.pricing-includes li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--color-text-muted);
}

.pricing-includes .included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.pricing-includes .excluded li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* Reviews */
.review-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--color-light-gray);
    border-radius: var(--radius-card);
    margin-bottom: 30px;
}

.review-score {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.review-score-label {
    font-family: var(--font-title);
    font-size: 14px;
    color: var(--color-text-muted);
}

.review-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 18px;
}

.review-author {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-heading);
}

.review-date {
    font-size: 13px;
    color: var(--color-text-muted);
}

.review-stars {
    color: var(--color-secondary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.review-text {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Tour CTA */
.tour-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    padding: 50px;
    border-radius: var(--radius-card);
    text-align: center;
    margin: 40px 0;
}

.tour-cta h2 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.tour-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Tour Overview */
.tour-overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tour-overview-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 70px);
    align-self: start;
}

.tour-sidebar-card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    padding: 25px;
    margin-bottom: 20px;
}

.tour-sidebar-card h3 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

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

.tour-highlights li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--color-text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.tour-highlights li:last-child {
    border-bottom: none;
}

.tour-highlights li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .tour-overview-grid {
        grid-template-columns: 1fr;
    }

    .tour-overview-sidebar {
        position: static;
    }

    .hotel-card {
        grid-template-columns: 1fr;
    }

    .pricing-includes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tour-hero { height: 350px; }
    .tour-hero-content h1 { font-size: 1.8rem; }
    .tour-hero-price { font-size: 1.4rem; }

    .tour-tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .itinerary-day {
        flex-direction: column;
        gap: 15px;
    }

    .itinerary-day-number {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .tour-cta {
        padding: 30px 20px;
    }

    .review-summary {
        flex-direction: column;
        text-align: center;
    }
}
