/* ========================================
   Paket Umroh Page - Custom Styles
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a:hover {
    color: var(--gold);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Paket Section */
.paket-section {
    padding: 40px 0 80px;
    background: var(--gray-100);
}

/* Search Bar */
.search-bar-wrapper {
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.search-bar i.bi-search {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-right: 12px;
}

.search-bar .form-control {
    border: none;
    box-shadow: none;
    padding: 10px 0;
    font-size: 0.95rem;
}

.search-bar .form-control:focus {
    box-shadow: none;
}

.search-bar .btn-clear {
    background: transparent;
    border: none;
    color: var(--gray-400);
    padding: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-bar .btn-clear:hover {
    color: var(--gray-600);
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.btn-reset {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-reset:hover {
    color: var(--primary-dark);
}

/* Price Filter */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.price-input-group .form-control {
    padding: 10px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.price-input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

.price-separator {
    color: var(--gray-400);
    margin-top: 20px;
}

.price-slider {
    margin-bottom: 8px;
}

.price-slider .form-range {
    width: 100%;
}

.price-slider .form-range::-webkit-slider-thumb {
    background: var(--gold);
}

.price-slider .form-range::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 100%);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Star Rating Filter */
.star-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.star-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.star-option:hover {
    background: var(--gray-100);
}

.star-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.star-icons {
    display: flex;
    gap: 2px;
}

.star-icons i {
    color: var(--gold);
    font-size: 1rem;
}

.star-icons i.bi-star {
    color: var(--gray-300);
}

/* Facility Filter */
.facility-options,
.duration-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facility-option,
.duration-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.facility-option:hover,
.duration-option:hover {
    background: var(--gray-100);
}

.facility-option input[type="checkbox"],
.duration-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.facility-label,
.duration-label {
    font-size: 0.95rem;
    color: var(--gray-800);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-count {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.results-count strong {
    color: var(--gray-900);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown label {
    font-size: 0.9rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.sort-dropdown .form-select {
    width: auto;
    padding: 10px 40px 10px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.sort-dropdown .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

/* Package Cards */
.package-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.package-card-link:hover {
    text-decoration: none;
}

.package-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  }

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.promo-badge::after {
    content: "🎉";
}

.travel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.travel-logo {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.travel-logo i {
    color: var(--primary);
    font-size: 1.2rem;
}

.travel-details h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 2px;
    line-height: 1.3;
}

.travel-details span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.package-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.package-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.package-rating i {
    font-size: 0.85rem;
    color: var(--gold);
}

.package-rating i.bi-star {
    color: var(--gray-300);
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

.package-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.package-date i {
    color: var(--primary);
}

.package-duration {
    background: var(--gold);
    color: var(--gray-900);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.package-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.package-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.package-price .price-old {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    gap: 6px;
}

.pagination .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-item.disabled .page-link {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-400);
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(26, 95, 74, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 95, 74, 0.5);
}

/* Responsive */
@media (max-width: 991px) {
    .page-title {
        font-size: 2rem;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 40px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-dropdown {
        width: 100%;
    }

    .sort-dropdown .form-select {
        flex: 1;
    }

    .package-image {
        height: 180px;
    }

    .package-body {
        padding: 16px;
    }

    .package-title {
        font-size: 0.9rem;
    }

    .package-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card {
    animation: fadeInUp 0.6s ease forwards;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.15s; }
.package-card:nth-child(3) { animation-delay: 0.2s; }
.package-card:nth-child(4) { animation-delay: 0.25s; }
.package-card:nth-child(5) { animation-delay: 0.3s; }
.package-card:nth-child(6) { animation-delay: 0.35s; }
.package-card:nth-child(7) { animation-delay: 0.4s; }
.package-card:nth-child(8) { animation-delay: 0.45s; }
.package-card:nth-child(9) { animation-delay: 0.5s; }
