﻿/* ========== PAGE HERO (Category Header) ========== */
.category-hero {
    background: linear-gradient(135deg, #1a2c3e 0%, #0f1e2c 100%);
    padding: 50px 0 60px;
    text-align: center;
    color: white;
}

    .category-hero .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .category-hero h1 {
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 15px;
    }

        .category-hero h1 span {
            color: #3aaa5c;
        }

    .category-hero p {
        font-size: 1rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

.category-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

    .category-stats div {
        background: rgba(255,255,255,0.15);
        padding: 8px 20px;
        border-radius: 40px;
        font-size: 0.85rem;
    }

/* ========== SEARCH & FILTER ========== */
.filter-section {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid #e2e8ec;
}

.filter-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.search-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 2;
}

    .search-filter input, .search-filter select {
        padding: 12px 18px;
        border: 1.5px solid #e2e8ec;
        border-radius: 50px;
        font-family: 'Inter', sans-serif;
        background: #fefaf5;
    }

    .search-filter input {
        flex: 2;
    }

.sort-options {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 10px 20px;
    border: 1.5px solid #e2e8ec;
    border-radius: 40px;
    background: white;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

    .sort-btn.active {
        background: #3aaa5c;
        color: white;
        border-color: #3aaa5c;
    }

/* ========== BUSINESS LISTINGS GRID ========== */
.listings-section {
    padding: 50px 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

    .listings-header h2 {
        font-size: 1.3rem;
        font-weight: 700;
    }

        .listings-header h2 span {
            color: #3aaa5c;
        }

.results-count {
    color: #5a6a75;
    font-size: 0.85rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.business-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8ec;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

    .business-card:hover {
        transform: translateY(-5px);
        border-color: #3aaa5c;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.business-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.business-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #3aaa5c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

    .business-badge.premium {
        background: #f05a5a;
    }

.business-content {
    padding: 20px;
}

.business-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.business-rating {
    color: #f4a261;
    font-size: 0.8rem;
}

.business-category {
    color: #3aaa5c;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.business-location {
    color: #7e8c9e;
    font-size: 0.75rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.business-tag {
    background: #f0faf4;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    color: #3aaa5c;
}

.business-actions {
    display: flex;
    gap: 10px;
}

.btn-call, .btn-wa, .btn-view {
    flex: 1;
    padding: 8px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.btn-call {
    background: #3aaa5c;
    color: white;
}

.btn-wa {
    background: #25d366;
    color: white;
}

.btn-view {
    background: transparent;
    border: 1px solid #e2e8ec;
    color: #5a6a75;
}

.btn-call:hover, .btn-wa:hover {
    opacity: 0.85;
}

.btn-view:hover {
    border-color: #3aaa5c;
    color: #3aaa5c;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8ec;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

    .page-btn.active {
        background: #3aaa5c;
        color: white;
        border-color: #3aaa5c;
    }

    .page-btn:hover {
        background: #3aaa5c;
        color: white;
    }


