/*
 * Page     : Cities Listing
 * File     : css/desktop/pages/pagecities.css
 * Loaded by: page-cities.php (mobile + desktop)
 *
 * NOTE: Some classes here (.city-hero, .np-search-box, .subtitle, .highlight_number)
 * are also shared by page-service.php and currently in style.css. They are included
 * here so mobile users (who don't load style.css) get correct styles. Once all shared
 * pages are migrated the style.css copies can be removed.
 */

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.city-hero {
    background: linear-gradient(to bottom right, #fff7ed, #ffffff, #fff7ed);
    padding: 60px 20px;
    text-align: center;
}

.city-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.city-hero .hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--np-text-dark, #3E2723);
    margin-bottom: 16px;
    line-height: 1.25;
}

/* ── Breadcrumb ── */
.city-hero .breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.city-hero .breadcrumb a {
    color: var(--np-saffron, #F37420);
    text-decoration: none;
}

.city-hero .breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Subtitle ── */
.city-hero .subtitle {
    font-size: 18px;
    color: var(--np-text-mid, #6B5B4F);
    margin-bottom: 32px;
    line-height: 1.6;
}

.highlight_number {
    color: var(--np-saffron, #F37420);
    font-weight: 600;
}

/* ══════════════════════════════════════════
   HERO SEARCH BOX
   ══════════════════════════════════════════ */
.np-search-box {
    position: relative;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 20px 8px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.np-search-box:focus-within {
    box-shadow: 0 8px 30px rgba(243, 116, 32, 0.2);
}

.np-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px 0;
    color: var(--np-text-dark, #3E2723);
    background: transparent;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
}

.np-search-box input::placeholder {
    color: #bbb;
    font-size: 15px;
}

.search-icon {
    color: var(--np-saffron, #F37420);
    font-size: 20px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FILTER BAR (hidden by default — d-none)
   ══════════════════════════════════════════ */
.np-filter-bar {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.np-filter-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.np-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.np-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-filter-button:hover {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.np-filter-icon {
    display: inline-flex;
}

.np-filter-icon svg {
    display: block;
}

.np-filter-select {
    padding: 8px 36px 8px 14px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    min-width: 150px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
        linear-gradient(135deg, #9ca3af 50%, transparent 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.np-filter-select:focus {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 2px rgba(243, 116, 32, 0.15);
}

.np-puja-filter-right {
    font-size: 13px;
    color: var(--np-text-mid, #6B5B4F);
}

.np-puja-count-strong {
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
}

/* ══════════════════════════════════════════
   MAIN SECTION
   ══════════════════════════════════════════ */
.main_section {
    background-color: #fff;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
    .np-filter-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .np-puja-filter-right {
        font-size: 14px;
        text-align: right;
    }
}

@media (max-width: 991px) {
    .city-hero .hero-content h1 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .city-hero {
        padding: 30px 16px;
    }

    .city-hero .hero-content h1 {
        font-size: 24px;
    }

    .city-hero .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .np-search-box {
        padding: 6px 16px;
    }

    .np-search-box input {
        font-size: 16px; /* prevent iOS auto-zoom */
    }

    .np-search-box input::placeholder {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .np-filter-select {
        width: 100%;
    }

    .np-filter-button {
        width: 100%;
        justify-content: center;
    }

    .np-puja-filter-right {
        font-size: 12px;
    }
}
