/* --- Premium Packages Styles --- */

:root {
    --pkg-accent: #7d5fff;
    --pkg-card-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

/* Hero Section Enhancement */
.packages-hero {
    height: 60vh;
    /* Re-increased for better distribution */
    min-height: 480px;
    background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center 30%;
    border-radius: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 140px;
    /* Increased padding to move badge further from nav */
    position: relative;
}

.packages-hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem) !important;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.packages-hero .lead {
    font-size: 1.25rem !important;
    max-width: 800px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.packages-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: -1;
}

/* Category Quick Slider */
.cat-quick-slider {
    margin-top: auto;
    padding-bottom: 50px;
    width: 100%;
}

.cat-quick-item {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}


.cat-quick-item:hover,
.cat-quick-item.active {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Advanced Filter Sidebar */
.filter-sidebar {
    background: white;
    border: 1px solid var(--gray-150);
    border-radius: 30px;
    overflow: hidden;
}

.filter-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-150);
}

.styled-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.styled-checkbox:hover {
    background: var(--gray-100);
}

.styled-checkbox input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--gray-200);
    cursor: pointer;
}

/* Premium Package Card */
.premium-pkg-card {
    background: white;
    border-radius: 30px;
    border: 1px solid var(--gray-150);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
}

.premium-pkg-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(76, 51, 152, 0.12);
    border-color: rgba(76, 51, 152, 0.1);
}

.pkg-img-container {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.pkg-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-pkg-card:hover .pkg-img-container img {
    transform: scale(1.1);
}

.pkg-top-meta {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.pkg-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-luxury {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

.badge-featured {
    background: var(--primary);
    color: white;
}

.pkg-wishlist {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4757;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pkg-wishlist:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.pkg-content {
    padding: 30px;
}

.pkg-rating {
    display: flex;
    gap: 4px;
    color: #ffa502;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.pkg-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.pkg-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-item i {
    color: var(--primary);
}

.pkg-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}


.pkg-price-wrap .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pkg-price-wrap .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.pkg-price-wrap .unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-details {
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

/* Sorting Bar */
.sorting-bar {
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    border: 1px solid var(--gray-150);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sort-select {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
}

@media (max-width: 991px) {
    .packages-hero {
        height: auto;
        padding: 120px 0 80px;
        border-radius: 0;
    }

    .cat-quick-slider {
        margin-top: 30px;
    }

    /* Move contact widget up on packages page to avoid overlap with mobile filter CTA */
    .contact-widget-container {
        bottom: 110px !important;
    }

    .btn-glass-cta {
        background: rgba(125, 95, 255, 0.85) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        box-shadow: 0 10px 30px rgba(125, 95, 255, 0.4) !important;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 0.85rem;
    }

    .btn-glass-cta:active {
        transform: scale(0.98);
        background: rgba(125, 95, 255, 0.95) !important;
    }
}