/* Travel Styles Tour Page Specific Styles */

/* Tours Hero Section */
.tours-hero {
    position: relative;
    isolation: isolate;
    min-height: 650px;
    padding-top: calc(var(--header-h) + 70px);
    padding-bottom: 90px;
    color: #fff;
    overflow: hidden;
}

.tours-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient(90deg, rgba(6, 29, 53, .95) 0%, rgba(6, 29, 53, .75) 34%, rgba(6, 29, 53, .25) 64%, rgba(6, 29, 53, .60) 100%), 
                linear-gradient(180deg, rgba(6, 29, 53, .3), rgba(6, 29, 53, .75)), 
                url('') center/cover no-repeat;
}

.tours-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 140px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--ivory));
    pointer-events: none;
}

.tours-hero-content {
    display: grid;
    align-items: center;
    max-width: 900px;
}

.tours-hero-copy {
    /* text-align: center; */
}

.hero-cta {
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* flex-wrap: wrap; */
    /* gap: 16px; */
    /* margin-top: 36px; */
}

.tours-hero-stats {
    /* display: flex; */
    /* justify-content: center; */
    /* flex-wrap: wrap; */
    /* gap: 28px; */
    /* margin-top: 44px; */
    /* color: rgba(255, 255, 255, .88); */
}

.tours-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
}

.tours-hero-stats strong {
    color: var(--gold-2);
    font-size: 20px;
}

/* Style Filter Tabs */
.tour-styles-filter {
    background: linear-gradient(180deg, rgba(255, 250, 242, .6), rgba(255, 255, 255, .85));
}

.style-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding: 8px;
    background: rgba(255, 255, 255, .7);
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .2s var(--ease);
    white-space: nowrap;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 29, 53, .2);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
}

.tab-icon {
    font-size: 16px;
}

.tab-text {
    font-weight: 800;
}

/* Tour Collections Grid */
.tour-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(418px, 1fr));
    gap: 32px;
    margin-top: 0;
}

.tour-collection-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: .3s var(--ease);
    position: relative;
}

.tour-collection-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.collection-header {
    position: relative;
}

.collection-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(201, 155, 61, .3);
}

.collection-media {
    position: relative;
    aspect-ratio: 1.6/1;
    overflow: hidden;
}

.collection-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s var(--ease);
}

.tour-collection-card:hover .collection-media img {
    transform: scale(1.08);
}

.collection-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(6, 29, 53, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.collection-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.collection-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.collection-title h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--navy);
    font-size: 28px;
    letter-spacing: -.035em;
    margin: 0;
}

.collection-icon {
    font-size: 32px;
    opacity: 0.8;
}

.collection-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Featured Tours */
.featured-tours {
    display: grid;
    gap: 12px;
}

.featured-tour {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(251, 246, 236, .4), rgba(255, 255, 255, .6));
    border: 1px solid rgba(6, 29, 53, .08);
    transition: .2s var(--ease);
}

.featured-tour:hover {
    background: linear-gradient(180deg, rgba(251, 246, 236, .6), rgba(255, 255, 255, .8));
    transform: translateX(4px);
}

.featured-tour img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.tour-info h4 {
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 6px 0;
    font-weight: 700;
}

.tour-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.collection-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.price-range {
    font-size: 14px;
    color: var(--muted);
    font-weight: 700;
}

.price-range strong {
    font-size: 24px;
    color: var(--gold);
    font-weight: 900;
}

/* Collection Specific Colors */
.luxury-collection .collection-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: var(--navy);
}

.luxury-collection:hover {
    border-color: rgba(255, 215, 0, .3);
}

.family-collection .collection-badge {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
    color: #fff;
}

.family-collection:hover {
    border-color: rgba(135, 206, 235, .3);
}

.honeymoon-collection .collection-badge {
    background: linear-gradient(135deg, #ffb6c1, #ff69b4);
    color: #fff;
}

.honeymoon-collection:hover {
    border-color: rgba(255, 182, 193, .3);
}

.cultural-collection .collection-badge {
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #fff;
}

.cultural-collection:hover {
    border-color: rgba(218, 165, 32, .3);
}

.adventure-collection .collection-badge {
    background: linear-gradient(135deg, #32cd32, #228b22);
    color: #fff;
}

.adventure-collection:hover {
    border-color: rgba(50, 205, 50, .3);
}

.budget-collection .collection-badge {
    background: linear-gradient(135deg, #20b2aa, #008b8b);
    color: #fff;
}

.budget-collection:hover {
    border-color: rgba(32, 178, 170, .3);
}

/* Benefits Section */
.tour-benefits {
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 250, 242, .7));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.benefit-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: .25s var(--ease);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    transform: scaleX(0);
    transition: .25s var(--ease);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--navy);
    margin: 0 0 12px 0;
    font-weight: 800;
}

.benefit-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Filter Animation */
.tour-collection-card {
    animation: fadeInUp 0.6s ease-out;
}

.tour-collection-card.hidden {
    display: none;
}

.section-head {
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.tour-collections-section {
    padding-top: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tour-collections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .style-filter-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .filter-tab {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .collection-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .collection-bottom .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tours-hero {
        min-height: 550px;
        padding-top: calc(var(--header-h) + 50px);
        padding-bottom: 70px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .tour-collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collection-content {
        padding: 20px;
    }
    
    .collection-title h3 {
        font-size: 21px;
    }
    
    .collection-title {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .collection-icon {
        font-size: 28px;
    }
    
    .featured-tour {
        /* flex-direction: column; */
        /* text-align: center; */
        /* gap: 10px; */
    }
    
    .featured-tour img {
        width: 80px;
        height: 80px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon {
        font-size: 40px;
    }
}

