/* ===================================================
   SEARCH RESULTS PAGE STYLES (Extracted from search-results.php)
   =================================================== */

/* Islamic Theme Variables */
:root {
    --islamic-gold: #C9A227;
    --islamic-gold-light: #E5C76B;
    --islamic-navy: #122E5B;
    --islamic-navy-dark: #0A1C38;
    --islamic-cream: #FAF7F2;
    --islamic-border: rgba(201, 162, 39, 0.3);
}

/* Search Hero */
.search-hero {
    background: linear-gradient(135deg, var(--islamic-navy) 0%, var(--islamic-navy-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    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%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='%23C9A227' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

.search-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.search-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.result-count {
    display: inline-block;
    background: var(--islamic-gold);
    color: var(--islamic-navy);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 15px;
}

/* Search Content */
.search-content {
    background: var(--islamic-cream);
    padding: 40px 0 60px;
    min-height: 60vh;
}

/* Filters Sidebar */
.filters-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--islamic-border);
    position: sticky;
    top: 100px;
}

.filters-header {
    padding: 20px;
    border-bottom: 2px solid var(--islamic-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filters-header h3 {
    color: var(--islamic-navy);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.filters-header a {
    color: var(--islamic-gold);
    text-decoration: none;
    font-size: 0.9rem;
}

.filter-section {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    color: var(--islamic-navy);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section h4 i {
    color: var(--islamic-gold);
}

/* Price Range Slider */
.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-inputs input:focus {
    border-color: var(--islamic-gold);
    outline: none;
}

#priceSlider {
    height: 6px;
    margin: 20px 0;
}

.noUi-connect {
    background: var(--islamic-gold) !important;
}

.noUi-handle {
    border: 2px solid var(--islamic-gold) !important;
    box-shadow: none !important;
}

/* Filter Checkboxes */
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--islamic-gold);
}

.filter-option label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
}

.filter-option .count {
    margin-left: auto;
    color: #999;
    font-size: 0.85rem;
}

/* Star Rating Filter */
.star-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-option .stars {
    color: var(--islamic-gold);
}

/* Apply Filters Button */
.apply-filters-btn {
    width: 100%;
    padding: 12px;
    background: var(--islamic-navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-filters-btn:hover {
    background: var(--islamic-gold);
    color: var(--islamic-navy);
}

/* Results Grid */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-header h2 {
    color: var(--islamic-navy);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}

/* Package Card */
.package-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid var(--islamic-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.package-image {
    height: 200px;
    position: relative;
    background: var(--islamic-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-image i {
    font-size: 4rem;
    color: var(--islamic-gold);
    opacity: 0.3;
}

/* .package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--islamic-gold);
    color: var(--islamic-navy);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
} */

.package-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.package-stars {
    color: var(--islamic-gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.package-title {
    color: var(--islamic-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.package-title a {
    color: inherit;
    text-decoration: none;
}

.package-title a:hover {
    color: var(--islamic-gold);
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-meta i {
    color: var(--islamic-gold);
}

.package-includes {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.package-includes span {
    background: var(--islamic-cream);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--islamic-navy);
}

.package-includes span i {
    color: var(--islamic-gold);
    margin-right: 5px;
}

.package-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-price {
    color: var(--islamic-gold);
    font-size: 1.4rem;
    font-weight: 700;
}

.package-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
}

.view-btn {
    padding: 10px 20px;
    background: var(--islamic-navy);
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.view-btn:hover {
    background: var(--islamic-gold);
    color: var(--islamic-navy);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--islamic-border);
}

.no-results i {
    font-size: 4rem;
    color: var(--islamic-gold);
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--islamic-navy);
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    margin-bottom: 20px;
}

.no-results a {
    color: var(--islamic-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Beat My Quote Section */
.search-beat-quote {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--islamic-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title .gold-line {
    width: 60px;
    height: 3px;
    background: var(--islamic-gold);
    margin: 0 auto;
}

/* Mobile Filters Toggle */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--islamic-navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: block;
    }
    
    .filters-card {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .filters-card.show {
        display: block;
    }
    
    .filters-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--islamic-navy);
    }
}

@media (min-width: 992px) {
    .filters-close {
        display: none;
    }
}
