/* ═══════════════════════════════════════════════════════════
   صفحه لیست نمونه کارها - پیشوند pfl-
   ═══════════════════════════════════════════════════════════ */

.pfl-hero {
    padding: 60px 20px 50px;
    background: linear-gradient(135deg, var(--rw-primary) 0%, var(--rw-secondary) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pfl-hero::before,
.pfl-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}
.pfl-hero::before {
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: rgba(255, 255, 255, 0.08);
}
.pfl-hero::after {
    bottom: -120px; left: -80px;
    width: 280px; height: 280px;
    background: rgba(255, 255, 255, 0.05);
}
.pfl-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.pfl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.pfl-hero-badge i { font-size: 14px; }
.pfl-hero-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 38px;
    margin: 0 0 12px;
    line-height: 1.3;
}
.pfl-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 24px;
    line-height: 1.9;
}
.pfl-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 12px;
}
.pfl-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.pfl-hero-breadcrumb a:hover { color: #fff; }
.pfl-hero-breadcrumb i { font-size: 10px; color: rgba(255, 255, 255, 0.6); }
.pfl-hero-breadcrumb span { color: #fff; font-weight: 700; }

.pfl-container {
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.pfl-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.pfl-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #F8FAFC;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    color: #4B5563;
    text-decoration: none;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
}
.pfl-filter i { font-size: 13px; color: #9CA3AF; }
.pfl-filter em {
    font-style: normal;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    font-size: 10px;
    margin-right: 4px;
}
.pfl-filter:hover {
    border-color: var(--rw-primary);
    color: var(--rw-primary);
    transform: translateY(-2px);
}
.pfl-filter:hover i { color: var(--rw-primary); }
.pfl-filter-active {
    background: linear-gradient(135deg, var(--rw-primary), var(--rw-secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
.pfl-filter-active i { color: #fff; }
.pfl-filter-active em { background: rgba(255, 255, 255, 0.25); color: #fff; }
.pfl-filter-active:hover { color: #fff; }
.pfl-filter-active:hover i { color: #fff; }

.pfl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.pfl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pfl-card:hover {
    transform: translateY(-6px);
    border-color: var(--rw-primary);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15);
}

.pfl-thumb {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--rw-primary), var(--rw-secondary));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pfl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}
.pfl-card:hover .pfl-thumb img { transform: scale(1.1); }
.pfl-thumb > i { font-size: 50px; color: rgba(255, 255, 255, 0.5); }
.pfl-thumb-empty { background: linear-gradient(135deg, #E5E7EB, #D1D5DB); }
.pfl-thumb-empty i { color: rgba(107, 114, 128, 0.5); }

.pfl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0) 0%, rgba(30, 58, 138, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s;
}
.pfl-card:hover .pfl-overlay { opacity: 1; }
.pfl-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--rw-primary);
    border-radius: 50%;
    font-size: 22px;
    transform: scale(0.5);
    transition: transform 0.35s;
}
.pfl-card:hover .pfl-overlay-btn { transform: scale(1); }
.pfl-overlay-btn i { line-height: 1; }

.pfl-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--rw-primary);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.pfl-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pfl-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 18px;
    color: #1E3A8A;
    margin: 0 0 8px;
    line-height: 1.4;
}
.pfl-desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.8;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.pfl-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rw-primary);
    font-size: 12px;
    font-weight: 700;
    margin-top: auto;
    transition: gap 0.25s;
}
.pfl-card:hover .pfl-more { gap: 12px; }

.pfl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #9CA3AF;
    background: #fff;
    border-radius: 20px;
}
.pfl-empty i { font-size: 70px; display: block; margin-bottom: 18px; opacity: 0.3; }
.pfl-empty p { font-size: 15px; margin: 0 0 20px; }
.pfl-empty-btn {
    display: inline-flex;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--rw-primary), var(--rw-secondary));
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.pfl-empty-btn:hover { transform: translateY(-3px); }

@media (max-width: 700px) {
    .pfl-hero { padding: 45px 16px 40px; }
    .pfl-hero-title { font-size: 26px; }
    .pfl-hero-desc { font-size: 13px; }
    .pfl-container { margin-top: -30px; padding: 0 14px; }
    .pfl-filters { padding: 10px; gap: 6px; }
    .pfl-filter { padding: 7px 14px; font-size: 11px; }
    .pfl-grid { grid-template-columns: 1fr; gap: 16px; }
    .pfl-thumb { height: 200px; }
}