/* Destinations Page Styles - Updated 2025-01-18 16:50 - Performance optimized */
.destinations-page {
    background: #f8f9fb;
    min-height: 100vh;
}

/* ================================================================
   PERFORMANCE OPTIMIZATIONS - DATA ATTRIBUTES & LAZY LOADING
   ================================================================ */

/* Background images using data attributes for better performance */
.destinations-hero[data-bg],
.packages-hero[data-bg] {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Fallback background for packages page */
.packages-hero {
    background-image: url('https://kingslandholiday.com/wp-content/uploads/2025/09/21f571579df9f7aeda51a04c3f5e3c74.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Lazy loading for images - handled via HTML attributes */

/* Optimize animations for performance */
.destination-card,
.package-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce repaints on hover */
.destination-card:hover,
.package-card:hover {
    transform: translateY(-5px) translateZ(0);
}

/* Critical above-the-fold styles */
.destinations-page {
    font-display: swap;
}

/* Archive Destinations Styles */
.destinations-archive {
    background: #f8f9fb;
    min-height: 100vh;
}

.destinations-archive-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), url('https://kingslandholiday.com/wp-content/uploads/2025/09/00c4b99c7c0f4e2a0fd2d48e46aa3c6b.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.destinations-archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.archive-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.archive-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.archive-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

/* Hero Section */
.destinations-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), url('https://kingslandholiday.com/wp-content/uploads/2025/09/00c4b99c7c0f4e2a0fd2d48e46aa3c6b.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.destinations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color, #FF6B35);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.4), 0 0 45px rgba(255, 107, 53, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.destinations-content,
.featured-packages,
.why-choose-us {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* General section title - affects all pages */
.section-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.4);
    font-family: 'Playfair Display', serif;
}

/* Packages page specific heading styles */
.post-type-archive-tour_package .section-title,
.taxonomy-destination .section-title,
.archive-tour_package .section-title {
    color: #ff6b35;
    /* Orange color for packages page */
    font-size: 3rem;
}

/* Destinations page specific heading styles */
.page-template-page-destinations .section-title,
.destinations-page .section-title {
    color: #ffffff;
    /* White color for destinations page */
    font-size: 2.8rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.4);
    font-family: 'Playfair Display', serif;
}

.section-description {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4), 0 0 45px rgba(255, 255, 255, 0.2);
    font-family: 'Open Sans', sans-serif;
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 320px;
    transform-origin: center;
}

.destination-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.destination-image {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.destination-card:hover .destination-image {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.destination-card:hover .destination-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.destination-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    align-self: center;
    margin-bottom: auto;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.destination-card:hover .destination-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.destination-content {
    color: white;
    text-align: center !important;
    transform: translateY(0);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.destination-card:hover .destination-content {
    transform: translateY(-5px);
}

.destination-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: white;
    text-align: center !important;
    width: 100%;
}

.destination-highlight {
    font-size: 1rem;
    margin: 0 0 8px 0;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center !important;
    width: 100%;
}

.destination-description {
    font-size: 0.9rem;
    margin: 0 0 12px 0;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: center !important;
    width: 100%;
}

.destination-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 12px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    justify-content: center;
}

.destination-card:hover .destination-link {
    background: rgba(255, 255, 255, 0.9);
    color: #2c5282;
    text-shadow: none;
    transform: translateX(5px);
}

.destination-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.destination-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* Search Form */
.destination-search-form {
    max-width: 500px;
    margin: 2rem auto;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-input-group input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.search-input-group input::placeholder {
    color: #999;
}

.search-input-group button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-input-group button:hover {
    background: #e55a2b;
}

.search-input-group button i {
    font-size: 1.1rem;
}

/* Filter Section */
.destinations-filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    /* Reduced from 12px 24px */
    border-radius: 25px;
    /* Reduced from 50px */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    /* Reduced from 1rem */
    font-weight: 500;
    color: #4a5568;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* No Results Section */
.no-results-section {
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Featured Packages Section */
.featured-packages {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.package-price {

    right: 1rem;
    bottom: 1rem;
    background: white;
    padding: 0.5rem 1rem;

    text-align: center;
}

.price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b35;
}

.price-label {
    font-size: 0.8rem;
    color: #718096;
}

.package-content {
    padding: 1.5rem;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.package-destination {
    color: #667eea;
    font-weight: 500;
}

.package-duration {
    color: #718096;
}

.package-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.package-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-title a:hover {
    color: #667eea;
}

.package-excerpt {
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.package-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.package-link:hover {
    gap: 0.8rem;
}


/* Mobile Responsive for New Sections */
@media (max-width: 768px) {

    .destinations-hero,
    .destinations-archive-hero {
        padding: 60px 0 40px;
        /* Reduced height to match home page */
        min-height: 50vh;
        /* Match home page height */
    }

    .hero-title,
    .archive-title {
        font-size: 2.2rem;
        /* Slightly smaller for mobile */
        margin-bottom: 0.8rem;
    }

    .hero-description,
    .archive-description {
        font-size: 1rem;
        /* Smaller description */
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-stats,
    .archive-stats,
    .destination-stats {
        display: flex !important;
        /* Force horizontal layout */
        flex-direction: row !important;
        /* Horizontal layout */
        justify-content: space-around !important;
        /* Even spacing */
        gap: 1rem !important;
        /* Reduced gap */
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
        margin-top: 2rem !important;
        padding: 0 1rem !important;
    }

    .stat-item {
        flex: 1 !important;
        /* Equal width for each stat */
        min-width: 0 !important;
        /* Allow shrinking */
        padding: 1rem 0.5rem !important;
        /* Reduced padding */
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
        /* Smaller numbers */
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 0.3rem !important;
        display: block !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
        /* Smaller labels */
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: block !important;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Packages page mobile heading */
    .post-type-archive-tour_package .section-title,
    .taxonomy-destination .section-title,
    .archive-tour_package .section-title {
        font-size: 2.5rem;
        color: #ff6b35;
    }

    /* Destinations page mobile heading */
    .page-template-page-destinations .section-title,
    .destinations-page .section-title {
        font-size: 2.2rem;
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 45px rgba(255, 255, 255, 0.4);
        font-family: 'Playfair Display', serif;
    }

    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Fix destinations grid for mobile */
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .destination-card {
        height: 280px;
        max-width: 100%;
        margin: 0 auto;
    }

    .destination-overlay {
        padding: 20px;
    }

    .destination-name {
        font-size: 1.3rem;
    }

    .destination-subtitle {
        font-size: 0.9rem;
    }

    .packages-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .filter-tabs {
        gap: 0.4rem;
        /* Reduced gap */
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 6px 12px;
        /* Reduced from 10px 20px */
        font-size: 0.8rem;
        /* Reduced from 0.9rem */
        border-radius: 20px;
        /* Reduced border radius for mobile */
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }

    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }

    .search-input-group input,
    .search-input-group button {
        border-radius: 0;
    }

    .search-input-group input {
        border-radius: 15px 15px 0 0;
    }

    .search-input-group button {
        border-radius: 0 0 15px 15px;
    }
}

/* Medium mobile devices (600px and below) */
@media (max-width: 600px) {
    .filter-tabs {
        gap: 0.3rem;
        /* Smaller gap for medium mobile */
        padding: 0 0.5rem;
    }

    .filter-btn {
        padding: 5px 10px;
        /* Smaller buttons for medium mobile */
        font-size: 0.8rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {

    .destinations-hero,
    .destinations-archive-hero {
        padding: 50px 0 30px;
        /* Further reduced for small mobile */
        min-height: 45vh;
        /* Smaller height for small mobile */
    }

    .hero-title,
    .archive-title {
        font-size: 1.8rem;
        /* Smaller title for small mobile */
        margin-bottom: 0.6rem;
    }

    .hero-description,
    .archive-description {
        font-size: 0.9rem;
        /* Smaller description */
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Packages page small mobile heading */
    .post-type-archive-tour_package .section-title,
    .taxonomy-destination .section-title,
    .archive-tour_package .section-title {
        font-size: 2rem;
        color: #ff6b35;
    }

    /* Destinations page small mobile heading */
    .page-template-page-destinations .section-title,
    .destinations-page .section-title {
        font-size: 1.8rem;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
        font-family: 'Playfair Display', serif;
    }

    .destinations-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .destination-card {
        height: 250px;
    }

    .destination-overlay {
        padding: 16px;
    }

    .hero-stats,
    .archive-stats,
    .destination-stats {
        display: flex !important;
        /* Force horizontal layout */
        flex-direction: row !important;
        /* Horizontal layout */
        justify-content: space-between !important;
        /* Even spacing */
        gap: 0.5rem !important;
        /* Very small gap */
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
        margin-top: 1.5rem !important;
        padding: 0 0.5rem !important;
    }

    .stat-item {
        flex: 1 !important;
        /* Equal width */
        min-width: 0 !important;
        /* Allow shrinking */
        padding: 0.8rem 0.3rem !important;
        /* Very compact padding */
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
        /* Smaller numbers for small mobile */
        font-weight: 700 !important;
        color: #fbbf24 !important;
        margin-bottom: 0.2rem !important;
        display: block !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
        /* Very small labels */
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        display: block !important;
    }
}

/* Extra small mobile devices (375px and below) */
@media (max-width: 375px) {

    .destinations-hero,
    .destinations-archive-hero {
        padding: 40px 0 25px;
        /* Minimal padding for very small screens */
        min-height: 40vh;
        /* Compact height */
    }

    .hero-title,
    .archive-title {
        font-size: 1.6rem;
        /* Very small title */
        margin-bottom: 0.5rem;
    }

    .hero-description,
    .archive-description {
        font-size: 0.85rem;
        /* Very small description */
        margin-bottom: 1rem;
        padding: 0 0.3rem;
    }

    .hero-stats,
    .archive-stats,
    .destination-stats {
        display: flex !important;
        /* Force horizontal layout */
        flex-direction: row !important;
        /* Horizontal layout */
        justify-content: space-between !important;
        /* Even spacing */
        gap: 0.3rem !important;
        /* Minimal gap */
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
        margin-top: 1.2rem !important;
        padding: 0 0.3rem !important;
    }

    .stat-item {
        padding: 0.6rem 0.2rem !important;
        /* Very compact */
        border-radius: 6px !important;
    }

    .stat-number {
        font-size: 1.3rem !important;
        /* Very small numbers */
        margin-bottom: 0.1rem !important;
    }

    .stat-label {
        font-size: 0.6rem !important;
        /* Very small labels */
        letter-spacing: 0.2px !important;
    }

    /* Extra small filter buttons for very small mobile */
    .filter-tabs {
        gap: 0.3rem !important;
        /* Very small gap */
        padding: 0 0.5rem !important;
    }

    .filter-btn {
        padding: 5px 10px !important;
        /* Very compact */
        font-size: 0.75rem !important;
        /* Very small text */
        border-radius: 15px !important;
        /* Smaller radius */
    }
}

/* CACHE BUSTING - Force reload - Updated 2025-01-18 16:33 */
.destinations-page::before,
.destinations-archive::before {
    content: "Mobile Update Applied" !important;
    display: none !important;
}

.packages-hero::before {
    content: "Packages Image Updated 2025-01-18" !important;
    display: none !important;
}

/* Background Image Optimization */
.destinations-hero,
.destinations-archive-hero,
.packages-hero {
    background-attachment: fixed;
    /* Fixed background for parallax effect */
}

@media (max-width: 768px) {

    .destinations-hero,
    .destinations-archive-hero,
    .packages-hero {
        background-attachment: scroll;
        /* Scroll on mobile for better performance */
        background-position: center center;
        /* Center the image on mobile */
    }
}

/* Packages Hero Styling */
.packages-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), url('https://kingslandholiday.com/wp-content/uploads/2025/09/21f571579df9f7aeda51a04c3f5e3c74.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 60vh;
}

.packages-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.packages-hero .hero-content {
    position: relative;
    z-index: 2;
}

.packages-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.packages-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.packages-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.packages-hero .stat {
    text-align: center;
}

.packages-hero .stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 0.5rem;
}

.packages-hero .stat .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.packages-hero .breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.packages-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.packages-hero .breadcrumb a:hover {
    color: white;
}

.packages-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

/* Mobile Responsive for Packages Hero */
@media (max-width: 768px) {
    .packages-hero {
        padding: 60px 0 40px;
        min-height: 50vh;
    }

    .packages-hero .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .packages-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .packages-hero .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 1rem !important;
        flex-wrap: nowrap !important;
        margin-top: 2rem !important;
        padding: 0 1rem !important;
    }

    .packages-hero .stat {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 1rem 0.5rem !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .packages-hero .stat .number {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 0.3rem !important;
        display: block !important;
    }

    .packages-hero .stat .label {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .packages-hero {
        padding: 50px 0 30px;
        min-height: 45vh;
    }

    .packages-hero .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .packages-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .packages-hero .hero-stats {
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
        padding: 0 0.5rem !important;
    }

    .packages-hero .stat {
        padding: 0.8rem 0.3rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
    }

    .packages-hero .stat .number {
        font-size: 1.5rem !important;
        margin-bottom: 0.2rem !important;
    }

    .packages-hero .stat .label {
        font-size: 0.65rem !important;
        letter-spacing: 0.3px !important;
    }
}

/* ================================================================
   DESTINATION PAGE PAGINATION STYLES - CENTER ALIGNMENT FIX
   ================================================================ */

.packages-pagination-wrapper {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-info {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 25px;
    font-weight: 600;
    width: 100%;
}

.packages-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.packages-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.packages-pagination .page-numbers li {
    margin: 0;
}

.packages-pagination a,
.packages-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: white;
    color: #007cba;
    text-decoration: none;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    gap: 8px;
}

.packages-pagination a:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.2);
}

.packages-pagination .current {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border-color: #007cba;
    cursor: default;
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
}

.packages-pagination .dots {
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: default;
}

.packages-pagination .prev,
.packages-pagination .next {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border-color: #28a745;
    font-weight: 700;
    padding: 0 20px;
}

.packages-pagination .prev:hover,
.packages-pagination .next:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    border-color: #218838;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .packages-pagination .page-numbers {
        gap: 6px;
    }

    .packages-pagination a,
    .packages-pagination span {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .packages-pagination .prev,
    .packages-pagination .next {
        font-size: 13px;
        padding: 0 15px;
    }

    .packages-pagination .prev i,
    .packages-pagination .next i {
        display: none;
    }
}