/* ==========================================================================
   Holiday Packages Page Stylesheet (Venus Travels)
   ========================================================================== */

/* ==========================================================================
   HOLIDAY PACKAGES HERO SECTION (Desktop & Base)
   ========================================================================== */
.holiday-hero-section {
    position: relative;
    width: 100%;
    /* Hero section height: 80vh in desktop and 60vh in mobile */
    height: 80vh;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    /* Extra padding-top to account for the absolute floating header */
    padding-top: 80px;
}

.holiday-hero-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.holiday-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.holiday-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
}

.holiday-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.holiday-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Breadcrumbs: 15px poppins medium in mobile it is 12px */
.holiday-hero-breadcrumbs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.holiday-hero-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.holiday-hero-breadcrumbs a:hover {
    opacity: 0.8;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb-current {
    color: #ffffff;
}

/* Heading: 80px in the desktop manrope medium and in mobile it is 45px */
.holiday-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Description: 18px in the desktop and 16px in the mobile */
.holiday-hero-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 860px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HOLIDAY HERO SECTION (Mobile Responsive)
   ========================================================================== */
@media (max-width: 991px) {
    .holiday-hero-section {
        /* Hero section height: 60vh in mobile */
        height: 60vh;
        min-height: 60vh;
        padding-top: 70px;
    }

    .holiday-hero-container {
        padding: 0 20px;
    }

    /* Breadcrumbs: 12px in mobile */
    .holiday-hero-breadcrumbs {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 12px;
    }

    .breadcrumb-separator {
        font-size: 11px;
    }

    /* Heading: 45px in mobile */
    .holiday-hero-title {
        font-size: 45px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    /* Description: 16px in mobile */
    .holiday-hero-desc {
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    .holiday-hero-title {
        font-size: 38px;
    }
}

/* ==========================================================================
   HOLIDAY PACKAGES LISTING & SEARCH SECTION
   ========================================================================== */
.holiday-listing-section {
    width: 100%;
    background-color: #ffffff;
    /* 80px top and 120px bottom padding */
    padding: 80px 0 80px;
    box-sizing: border-box;
}

.holiday-listing-container {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Search Heading Block */
.holiday-search-heading-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Gap between search heading content and package listing is 40px */
    margin-bottom: 80px;
    gap: 32px;
    box-sizing: border-box;
}

.holiday-search-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Gap between heading and description is 20px */
    gap: 10px;
    max-width: 780px;
}

/* Heading: 42px Manrope medium */
.holiday-search-title {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    color: #111111;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Description: 16px Poppins regular */
.holiday-search-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Search Filter Bar (Pill Container) */
.holiday-filter-bar {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 100px;
    padding: 10px 12px 10px 32px;
    gap: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    position: relative;
    max-width: 100%;
}

.holiday-filter-item {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    position: relative;
    min-width: 170px;
}

.filter-item-icon {
    color: #111111;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.filter-item-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.filter-item-label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.25;
    margin-bottom: 2px;
    cursor: pointer;
}

.filter-combobox-input {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    border: none;
    background: transparent;
    padding: 0;
    outline: none;
    cursor: text;
    width: 100%;
}

.filter-combobox-input::placeholder {
    color: rgba(0, 0, 0, 0.55);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.filter-item-clear {
    border: none;
    background: transparent;
    color: #888888;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.filter-item-clear:hover {
    color: #000000;
}

.filter-chevron {
    color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.holiday-filter-item.is-open .filter-chevron {
    transform: rotate(180deg);
}

.holiday-filter-divider {
    width: 1px;
    height: 38px;
    background-color: #e5e5e5;
    flex-shrink: 0;
}

/* Dropdown Menu */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border: 1px solid #ebebeb;
    padding: 8px 0;
    z-index: 1050;
    max-height: 280px;
    overflow-y: auto;
    box-sizing: border-box;
}

.filter-options-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-option-item {
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #222222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-option-item:hover {
    background-color: #f5f8ff;
    color: #0d6efd;
}

.filter-option-item.is-selected {
    background-color: #eef3ff;
    color: #0d6efd;
    font-weight: 500;
}

.filter-option-item.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.option-check {
    display: none;
    color: #0d6efd;
    font-weight: 700;
}

.filter-option-item.is-selected .option-check {
    display: inline-block;
}

.filter-no-results {
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #888888;
    text-align: center;
}

/* Clear Filter Button */
.holiday-filter-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-clear-holiday-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 16px 28px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-clear-holiday-filters:hover {
    background-color: #222222;
    transform: translateY(-1px);
}

.btn-clear-holiday-filters svg {
    display: block;
}

/* Results Count Text: 18px desk and 16px mobile */
.holiday-results-meta {
    margin-bottom: 24px;
}

.holiday-results-count-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.4;
}

/* Package Listing Grid: 4 cards in a row, card width 364px */
.holiday-packages-grid-wrap {
    position: relative;
    width: 100%;
    min-height: 250px;
}

.holiday-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.holiday-packages-grid .package-card {
    width: 100%;
    max-width: 100%;
}

/* ==========================================================================
   PACKAGE CARD STYLES (Identical to Homepage Holiday Section)
   Card width 364px, 8px padding all sides, 16px corner radius, light drop shadow
   ========================================================================== */
.package-card {
    width: 364px;
    max-width: 364px;
    padding: 8px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Package card when post has no image */
.package-card.no-card-img {
    justify-content: flex-start;
}

.package-card.no-card-img .package-card-body {
    padding-top: 14px;
}

.package-card-no-img-badge {
    margin-bottom: 12px;
}

.package-card-no-img-badge .package-day-badge.is-inline {
    position: static;
    display: inline-block;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    padding: 4px 12px;
}

/* Image container: height 232px */
.package-card-image-wrap {
    position: relative;
    width: 100%;
    height: 232px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f2f2f2;
}

.package-card-img {
    width: 100%;
    height: 232px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.package-card:hover .package-card-img {
    transform: scale(1.03);
}

/* Day badge on image: 12px Poppins regular */
.package-day-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ffffff;
    border-radius: 999px;
    padding: 4px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #111111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
    line-height: 1.4;
}

/* Card Body: gap between contents is 16px */
.package-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 6px 8px 6px;
    box-sizing: border-box;
    flex-grow: 1;
}

/* Location: 12px Poppins regular */
.package-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #555555;
    line-height: 1.2;
}

.package-card-location svg {
    flex-shrink: 0;
    stroke: #555555;
}

/* Title: 18px Poppins semibold */
.package-card-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #111111;
}

.package-card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.package-card-title a:hover {
    color: #505050;
}

/* Day and night: 12px Poppins regular */
.package-card-duration {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #777777;
    line-height: 1.2;
}

/* Amenities: 12px Poppins regular */
.package-card-amenities {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #555555;
    line-height: 1.2;
}

.package-amenity-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.amenity-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.package-amenity-item svg {
    flex-shrink: 0;
    stroke: #555555;
}

.amenity-separator {
    color: #cccccc;
    font-weight: 300;
    margin: 0 2px;
}

/* View Package Button: padding 24px sides, 16px top and bottom */
.btn-view-package {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    transition: background-color 0.25s ease, transform 0.2s ease;
    line-height: 1.2;
    margin-top: auto;
}

.btn-view-package:hover {
    background-color: #222222;
    color: #ffffff;
}

.btn-view-package svg {
    stroke: #ffffff;
    transition: transform 0.2s ease;
}

.btn-view-package:hover svg {
    transform: translateX(3px);
}

/* AJAX Loading State */
.holiday-grid-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 16px;
}

.holiday-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000000;
    border-radius: 50%;
    animation: holidaySpin 0.75s linear infinite;
}

@keyframes holidaySpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination: 1 2 3 ... 6 Next */
.holiday-pagination-container {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.holiday-ajax-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.pagination-num-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-num-btn:hover {
    background-color: #f0f0f0;
}

.pagination-num-btn.is-active {
    background-color: #000000;
    color: #ffffff;
}

.pagination-prev-btn,
.pagination-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: #111111;
    border: 1px solid #e2e2e2;
    background: #ffffff;
}

.pagination-prev-btn:hover,
.pagination-next-btn:hover {
    background-color: #f7f7f7;
    border-color: #cccccc;
}

.pagination-ellipsis {
    color: #888888;
    padding: 0 4px;
    font-size: 16px;
}

/* Empty State Message */
.holiday-packages-grid .no-packages-msg {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    background: #fbfbfb;
    border-radius: 16px;
    border: 1px dashed #dedede;
}

.holiday-packages-grid .no-packages-msg p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #777777;
    margin: 0;
}

/* ==========================================================================
   MOBILE & RESPONSIVE STYLES FOR HOLIDAY LISTING
   ========================================================================== */
@media (max-width: 1024px) {
    .holiday-packages-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
        row-gap: 20px;
    }
}

@media (max-width: 991px) {
    .holiday-listing-section {
        padding: 60px 0 80px;
    }

    .holiday-listing-container {
        padding: 0 20px;
    }

    /* Heading: 32px on mobile */
    .holiday-search-title {
        font-size: 32px;
    }

    /* Description: 14px on mobile */
    .holiday-search-desc {
        font-size: 14px;
    }

    .holiday-search-heading-block {
        gap: 24px;
        margin-bottom: 30px;
    }

    /* Search bar mobile layout */
    .holiday-filter-bar {
        border-radius: 20px;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
    }

    .holiday-filter-divider {
        display: none;
    }

    .holiday-filter-item {
        width: 100%;
        min-width: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
    }

    .holiday-filter-item:last-of-type {
        border-bottom: none;
    }

    .filter-item-label {
        font-size: 14px;
    }

    .filter-combobox-input {
        font-size: 14px;
    }

    .filter-combobox-input::placeholder {
        font-size: 14px;
    }

    .btn-clear-holiday-filters {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Results count: 16px on mobile */
    .holiday-results-count-text {
        font-size: 16px;
    }

    .filter-dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
    }

    /* Day badge: 10px in mobile */
    .package-day-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* Location, Day and Night, Amenities: 10px in mobile */
    .package-card-location,
    .package-card-duration,
    .package-card-amenities {
        font-size: 10px;
    }

    /* Title: 16px on mobile */
    .package-card-title {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .holiday-packages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


