/* === Tours Page Hero === */
#tours-hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

#tours-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

#tours-hero .hero-content {
    position: relative;
    max-width: 900px;
    padding: 20px;
}
#tours-hero .hero-content h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

#tours-hero .hero-content p {
    font-size: 1.3rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* === Filter Bar === */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1rem;
}

.filter-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #FFFFFF;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* === Filter Intro Text === */
.filter-intro {
    text-align: center;
    margin-bottom: 60px;
    transition: opacity 0.5s ease-in-out;
}

.filter-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* === Tours Grid for Tours Page === */
.tours-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.tour-card-page {
    background: var(--bg-accent);
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.tour-card-page:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.tour-card-image {
    height: 280px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card-page:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tour-card-content p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tour-meta .tag {
    background: var(--bg-main);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-highlights {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tour-highlights strong {
    color: var(--text-primary);
    font-weight: 500;
}

.tour-highlights ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
}

.tour-highlights li {
    margin-bottom: 5px;
}

.tour-card-page .btn-secondary {
    align-self: flex-start;
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    #tours-hero {
        height: 50vh;
    }
    .filter-bar {
        gap: 10px;
    }
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
     .tours-grid-page {
        grid-template-columns: 1fr;
    }
}
