/* =====================================================
   REFINED DESTINATIONS PAGE — destinations.css
   ===================================================== */

:root {
    --primary: #4c3398;
    --primary-soft: rgba(76, 51, 152, 0.08);
    --secondary: #2d3436;
    --white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Hero Section ── */
.dest-hero-section {
    height: 60vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.dest-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.dest-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.dest-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(76, 51, 152, 0.3);
}

.dest-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.dest-hero-subtitle {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

/* 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;
}

/* ── Destination Cards ── */
.dest-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--primary);
}

.dest-exact-card {
    position: relative;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.dest-exact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.dest-exact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    transition: var(--transition);
}

.dest-exact-content {
    transform: translateY(15px);
    transition: var(--transition);
}

.dest-exact-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #4c3398;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 12px;
}

.dest-exact-badge.blue-badge {
    background: #3c40c6;
}

.dest-exact-badge.purple-badge {
    background: #5758bb;
}

.dest-exact-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.dest-exact-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.dest-exact-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    opacity: 1;
}

/* ── Hover Effects ── */
.dest-exact-card:hover {
    transform: translateY(-10px);
}

.dest-exact-card:hover .dest-exact-img {
    transform: scale(1.1);
}

.dest-exact-card:hover .dest-exact-content {
    transform: translateY(0);
}

.dest-exact-link i {
    transition: transform 0.3s ease;
}

.dest-exact-card:hover .dest-exact-link i {
    transform: translateX(10px);
}

/* ── Modern Tour Cards — Modernized ── */
.tour-card-modern {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.tour-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tour-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.tour-card-modern:hover .tour-img-wrap img {
    transform: scale(1.1);
}

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(76, 51, 152, 0.3);
    z-index: 2;
}

.pkg-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4757;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.pkg-wishlist:hover {
    transform: scale(1.1);
    color: #ff1f33;
}

.pkg-wishlist i {
    font-size: 0.9rem;
}

.tour-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--primary);
    padding: 6px 12px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    z-index: 2;
}

.tour-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title-modern {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-amenities-mini {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
}

.amenity-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

.tour-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

.meta-item i {
    color: var(--primary);
    width: 16px;
}

/* ── Swiper Integration ── */
.trending-swiper {
    padding: 20px 10px 60px;
    margin: 0 -10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* ── Empty State ── */
.empty-trending-state {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 30px;
    border: 2px dashed rgba(0, 0, 0, 0.05);
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    font-size: 2rem;
}

/* ── Responsive Fixes ── */
@media (max-width: 767px) {
    .tour-details {
        padding: 20px;
    }
    .trending-swiper {
        padding-bottom: 50px;
    }
}

@media (max-width: 991px) {
    .dest-hero-section {
        height: 50vh;
    }
}

@media (max-width: 767px) {
    .dest-hero-title {
        font-size: 2rem;
    }

    .dest-exact-card {
        height: 400px;
    }

    .dest-exact-title {
        font-size: 1.4rem;
    }

    .display-5 {
        font-size: 26px !important;
    }
}