/* ============================================================
   220 CREATIVE — PORTFOLYO (portfolio.css) — PREMIUM DARK v1
   .pf- prefix · independent stylesheet for portfolio page
   ============================================================ */

.pf-wrapper {
    background: var(--black);
    color: #fff;
    overflow: hidden;
}

/* ── HERO SECTION ── */
.pf-hero {
    position: relative;
    padding: 140px 0 100px;
    background: radial-gradient(circle at 50% 100%, #161003 0%, var(--black) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.pf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
    pointer-events: none;
}

.pf-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,171,24,.08) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    animation: pfGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes pfGlowPulse {
    0% { opacity: 0.7; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.pf-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pf-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--grey-300);
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-crumb a {
    color: var(--grey-500);
    text-decoration: none;
    transition: color .3s;
}

.pf-crumb a:hover {
    color: var(--gold);
}

.pf-crumb .sep {
    color: rgba(255,255,255,.2);
}

.pf-crumb b {
    color: var(--gold);
}

.pf-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.pf-hero h1 em {
    font-style: italic;
    font-family: serif;
    font-weight: 400;
    color: var(--gold);
    background: linear-gradient(120deg, var(--gold) 30%, #ffd07d 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pf-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--grey-300);
    line-height: 1.7;
    max-width: 660px;
    margin: 0 auto;
}

/* ── CORE SECTIONS ── */
.pf-sec {
    padding: 110px 0;
    position: relative;
}

.pf-sec-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.pf-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pf-title {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-top: 16px;
    color: #fff;
}

.pf-sub {
    color: var(--grey-300);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 16px;
}

/* ── FILTRE SATIRI ── */
.portfolio-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.pf-btn {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: var(--grey-300);
    padding: 12px 26px;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease);
}

.pf-btn:hover {
    border-color: var(--gold-20);
    background: rgba(255,171,24,.05);
    color: #fff;
}

.pf-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255,171,24,.25);
}

/* ── PORTFOLYO GRID ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pf-card {
    background: linear-gradient(160deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 26px;
    overflow: hidden;
    transition: all .4s var(--ease);
    display: flex;
    flex-direction: column;
}

.pf-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-20);
    box-shadow: 0 24px 50px rgba(0,0,0,.35);
}

.pf-thumb {
    aspect-ratio: 16 / 11;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
    display: grid;
    place-items: center;
    font-size: 3rem;
    overflow: hidden;
    user-select: none;
    border-bottom: 1px solid rgba(255,255,255,.03);
}

.pf-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.01) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Gerçek proje görseli */
.pf-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .7s var(--ease), object-position 3s var(--ease);
    z-index: 1;
}
.pf-card:hover .pf-thumb img { transform: scale(1.04); object-position: bottom center; }

/* Hover overlay */
.pf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity .4s var(--ease);
    z-index: 10;
}

.pf-card:hover .pf-overlay {
    opacity: 1;
}

.pf-ov-cat {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    transform: translateY(-10px);
    transition: transform .4s var(--ease);
}

.pf-card:hover .pf-ov-cat {
    transform: translateY(0);
}

.pf-ov-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -.3px;
    transform: translateY(-5px);
    transition: transform .4s var(--ease);
}

.pf-card:hover .pf-ov-title {
    transform: translateY(0);
}

.pf-ov-btn {
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.05);
    padding: 10px 22px;
    border-radius: 100px;
    transition: all .3s var(--ease);
}

.pf-ov-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(255,171,24,.3);
}

/* Card Body below */
.pf-body {
    padding: 28px 24px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pf-cat {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.pf-card h3.pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.25;
}

.pf-desc {
    color: var(--grey-300);
    font-size: .86rem;
    line-height: 1.6;
    margin: 0;
}

/* ── PREMIUM CTA BANDI ── */
.pf-cta {
    background: var(--gold);
    padding: 85px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pf-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.2) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(255,255,255,.2) 0%, transparent 40%);
    pointer-events: none;
}

.pf-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.pf-cta h2 {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.pf-cta p {
    color: rgba(0,0,0,.75);
    font-size: 1.05rem;
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pf-sec {
        padding: 80px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .pf-hero {
        padding: 110px 0 70px;
    }
    
    .pf-btn {
        padding: 10px 20px;
        font-size: .82rem;
    }
}
