/* Portfolio Case Studies */
.pcs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.pcs-header {
    text-align: center;
    margin-bottom: 40px;
}

.pcs-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #881337;
    margin: 0 0 10px;
}

.pcs-title {
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

/* Filter */
.pcs-filter.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pcs-filter-btn {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 2px solid #881337;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcs-filter-btn:hover {
    background: #fdf2f8;
}

.pcs-filter-btn.active {
    background: #881337;
    color: #fff;
    border-color: #881337;
}

/* Grid */
.pcs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .pcs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .pcs-grid { grid-template-columns: 1fr; }
    .pcs-title { font-size: 32px; }
    .pcs-filter.portfolio-filter { gap: 8px; }
    .pcs-filter-btn { padding: 8px 20px; font-size: 13px; }
}

/* Card */
.pcs-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.pcs-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.pcs-card.pcs-hidden {
    display: none;
}

.pcs-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.pcs-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.pcs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pcs-card:hover .pcs-card-img img {
    transform: scale(1.08);
}

.pcs-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-card:hover .pcs-img-overlay {
    opacity: 1;
}

.pcs-zoom {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.pcs-card:hover .pcs-zoom {
    transform: scale(1);
}

.pcs-zoom svg {
    width: 22px;
    height: 22px;
    color: #374151;
}

/* Card Body */
.pcs-card-body {
    padding: 20px;
}

.pcs-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.3;
}

.pcs-card-outcome {
    font-size: 13px;
    font-weight: 500;
    color: #881337;
    margin: 0 0 14px;
}

/* Tags */
.pcs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pcs-tag {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #881337;
    background: #fdf2f8;
    border: 1px solid #f9d5e5;
    border-radius: 20px;
}

/* Button */
.pcs-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #881337;
    transition: gap 0.3s ease;
}

.pcs-card:hover .pcs-card-btn {
    gap: 10px;
}

/* Lightbox */
.pcs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.pcs-lightbox.active {
    display: flex;
}

.pcs-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.pcs-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Animation */
.pcs-card {
    animation: pcsFadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes pcsFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.pcs-card:nth-child(1) { animation-delay: 0.05s; }
.pcs-card:nth-child(2) { animation-delay: 0.1s; }
.pcs-card:nth-child(3) { animation-delay: 0.15s; }
.pcs-card:nth-child(4) { animation-delay: 0.2s; }
.pcs-card:nth-child(5) { animation-delay: 0.25s; }
.pcs-card:nth-child(6) { animation-delay: 0.3s; }