/* AB Detailing Projects Page Widget Styles */

.abpp-page-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
}

.abpp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.abpp-header {
    background-color: #0f172a;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
}

.abpp-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.abpp-subtitle {
    font-size: 22px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

/* Portfolio Section */
.abpp-portfolio-section {
    padding: 80px 0;
}

/* Filters */
.abpp-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.abpp-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abpp-filter-btn:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.abpp-filter-btn.active {
    background-color: #2563EB;
    border-color: #2563EB;
    color: #ffffff;
}

/* Grid */
.abpp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

/* Card */
.abpp-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.abpp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.abpp-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #e2e8f0;
}

.abpp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.abpp-card:hover .abpp-card-img img {
    transform: scale(1.05);
}

.abpp-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.abpp-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

/* Card Content */
.abpp-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.abpp-project-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.abpp-client {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}

.abpp-client strong {
    color: #0f172a;
}

.abpp-project-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Downloads */
.abpp-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.abpp-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563EB;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.abpp-download-btn:hover {
    background-color: #1D4ED8;
}

.abpp-dl-icon {
    margin-right: 8px;
    font-size: 16px;
}

.abpp-btn-alt {
    background-color: #0f172a;
}
.abpp-btn-alt:hover {
    background-color: #1e293b;
}

/* Hide utility for JS Filter */
.abpp-hide {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .abpp-header { padding: 60px 15px; }
    .abpp-title { font-size: 36px; }
    .abpp-grid { grid-template-columns: 1fr; }
}
