/* ========================================
   COMPANY LISTING & DETAIL CSS
   ======================================== */

/* --- Kategori Hero Banner --- */
.category-hero {
    background-size: cover;
    background-position: center;
    background-color: #2c3e50;
    min-height: 200px;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.category-hero-content {
    z-index: 2;
}

/* --- Filtre Paneli --- */
.filter-panel {
    border-radius: 12px;
    overflow: hidden;
}

.filter-panel .card-header {
    border-radius: 0;
}

/* --- Firma Kartları --- */
.company-card .card {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.company-card:hover .card {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.company-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.company-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.company-card:hover .company-card-img-wrap img {
    transform: scale(1.08);
}

.company-card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.company-card-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
}

.company-badge-pro {
    position: absolute;
    top: 10px;
    right: 15px;
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #d63384;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.company-card .card-body {
    padding: 1rem 1.5rem;
}

.company-card .card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    color: #2c3e50;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.company-card .card-text {
    line-height: 1.6;
    color: #6c757d;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-card .meta-row {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    margin-top: 1rem;
}

.company-card .meta-item {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.company-card .meta-item i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* --- Firma Detay Sayfası --- */
.company-detail-hero {
    border-radius: 12px;
    overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .filter-panel {
        position: static !important;
    }

    .category-hero-content h1 {
        font-size: 1.8rem;
    }
}