/* --- Tour Types Page Styles --- */

:root {
    --tour-accent: #7d5fff;
    --card-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.tour-types-hero {
    height: 60vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

.tour-types-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.tour-hero-content {
    max-width: 800px;
}

.tour-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.tour-hero-content .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Alignment Fix */
.breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Tour Grid Section */
.tour-grid-section {
    background-color: var(--bg-soft);
}

/* -- Specialized Modern Tour Cards -- */
.type-tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.type-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.type-tour-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-image-meta {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.meta-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.wishlist-btn-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4757;
    z-index: 2;
    transition: all 0.3s ease;
}

.wishlist-btn-wrapper:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.card-body-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--secondary);
    line-height: 1.4;
    font-weight: 800;
}

.card-location {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.card-footer-row {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info .label {
    display: block;
    font-size: 0.65rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.price-info .value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.guests-badge {
    background: var(--bg-soft);
    color: var(--gray-600);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-100);
}

.guests-badge i {
    color: var(--primary);
}

/* Premium CTA Section Redesign */
.rich-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--secondary);
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Immersive Parallax effect */
    opacity: 0.35;
    z-index: 1;
}

.rich-cta-wrapper {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-accent-icon {
    width: 80px;
    height: 80px;
    background: rgba(125, 95, 255, 0.2);
    border: 1px solid rgba(125, 95, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d5fff;
    margin: 0 auto 30px;
    font-size: 2rem;
}

.rich-cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 25px;
}

.rich-cta-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

.btn-premium-cta {
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s ease;
    background: var(--primary);
    border: none;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium-cta:hover {
    transform: translateY(-5px);
    background: white;
    color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tour-types-hero {
        height: 55vh;
        min-height: 400px;
        text-align: left;
    }

    .tour-hero-content h1 {
        font-size: 2.2rem;
    }

    .tour-grid-section {
        padding: 40px 0;
    }

    .card-img-wrapper {
        height: 180px !important;
    }

    .card-body-content {
        padding: 1rem !important;
    }

    .card-title {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    .card-location {
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }

    .price-info .value {
        font-size: 1rem !important;
    }

    .meta-item {
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
    }

    .wishlist-btn-wrapper {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.75rem !important;
        top: 10px !important;
        right: 10px !important;
    }
}