/* ══════════════════════════════════════════
   CONTENTRY LAB — Portföy & Hizmetler sayfası
   style.css token'larını kullanır (--bg, --surface, --blue, --purple ...)
   ══════════════════════════════════════════ */

.pf-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 40px;
}

/* ── Masthead ── */
.pf-masthead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 90px;
}
.pf-masthead h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin: 14px 0 20px;
}
.pf-accent {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pf-masthead p {
    color: var(--text2);
    font-size: 1.08rem;
    line-height: 1.65;
}
.pf-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}
.pf-jump a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.pf-jump a:hover {
    border-color: var(--blue);
    background: rgba(41, 151, 255, 0.08);
}

/* ── Sections ── */
.pf-section {
    margin-bottom: 120px;
    scroll-margin-top: 100px;
}
.pf-section-head {
    max-width: 680px;
    margin-bottom: 40px;
}
.pf-section-head h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 12px 0 12px;
}
.pf-section-head p {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.6;
}

.pf-chip {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
}

/* ── Hizmet kartları ── */
.pf-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pf-service {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: border-color .25s, transform .25s;
}
.pf-service:hover {
    border-color: rgba(41, 151, 255, 0.4);
    transform: translateY(-3px);
}
.pf-service-no {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 1px;
}
.pf-service h3 {
    font-size: 1.08rem;
    margin: 12px 0 10px;
    letter-spacing: -0.01em;
}
.pf-service p {
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Web siteleri ── */
.pf-sites {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.pf-site {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: border-color .25s, transform .25s;
}
.pf-site:hover {
    border-color: rgba(41, 151, 255, 0.4);
    transform: translateY(-3px);
}
.pf-site-shot {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-site-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.pf-site:hover .pf-site-shot img { transform: scale(1.03); }
.pf-site-body { padding: 22px 24px 26px; }
.pf-site-body h3 {
    font-size: 1.2rem;
    margin: 8px 0 8px;
    letter-spacing: -0.015em;
}
.pf-site-body p {
    color: var(--text2);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 14px;
}
.pf-link {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 600;
}
.demo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 5px 10px;
    border-radius: 100px;
    color: #fff;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .15);
}
.demo-badge.is-client {
    background: rgba(41, 151, 255, .9);
    border-color: transparent;
}
.pf-site-wide {
    grid-column: 1 / -1;
    flex-direction: row;
}
.pf-site-wide .pf-site-shot {
    flex: 1.4;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-site-wide .pf-site-body {
    flex: 1;
    align-self: center;
    padding: 32px;
}

/* ── Video sekmeleri ── */
.pf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.pf-tab {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
}
.pf-tab:hover { color: var(--text); }
.pf-tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ── Video ızgarası ── */
.pf-videos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.pf-video {
    position: relative;
    margin: 0;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface2);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
}
.pf-video[hidden] { display: none; }
.pf-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pf-video-group[hidden] { display: none; }
.pf-videos-h {
    grid-template-columns: repeat(3, 1fr);
}
.pf-video-h { aspect-ratio: 16 / 9; }
.pf-subhead {
    font-size: 1.25rem;
    letter-spacing: -0.015em;
    margin: 48px 0 6px;
}
.pf-subtext {
    color: var(--text2);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.pf-video figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 14px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}
.pf-video figcaption strong { font-size: 0.98rem; }
.pf-video figcaption small { color: rgba(245, 245, 247, 0.7); font-size: 0.78rem; }
.pf-video::after {
    content: '🔇';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}
.pf-video.is-sound::after { content: '🔊'; }

/* ── Reklam vakası ── */
.pf-case {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 24px;
    transition: border-color .25s;
}
.pf-case:hover { border-color: rgba(41, 151, 255, 0.4); }
.pf-case-shot { background: var(--surface2); min-height: 100%; }
.pf-case-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.pf-case-body { padding: 32px; align-self: center; }
.pf-case-body h3 { font-size: 1.5rem; margin: 8px 0 10px; letter-spacing: -0.02em; }
.pf-case-body p { color: var(--text2); font-size: 0.95rem; line-height: 1.6; }
.pf-case-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--surface2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-case-stat strong {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pf-case-stat span { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.pf-case-stat small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text2); margin-top: 2px; }

/* ── Reklam yönetimi adımları ── */
.pf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pf-step {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 26px 22px;
}
.pf-step span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    font-weight: 700;
    font-size: 0.9rem;
}
.pf-step h4 { font-size: 1.05rem; margin: 16px 0 8px; }
.pf-step p { color: var(--text2); font-size: 0.9rem; line-height: 1.6; }
.pf-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.pf-platforms span {
    font-size: 0.85rem;
    color: var(--text2);
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--surface2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── CTA ── */
.pf-cta {
    text-align: center;
    padding: 70px 24px;
    border-radius: 24px;
    background:
        radial-gradient(60% 80% at 20% 0%, rgba(41, 151, 255, 0.16), transparent 60%),
        radial-gradient(60% 80% at 80% 100%, rgba(139, 92, 246, 0.18), transparent 60%),
        var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 60px;
}
.pf-cta h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.pf-cta p { color: var(--text2); margin-bottom: 28px; }
.pf-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.pf-btn {
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .2s, background .2s;
}
.pf-btn:hover { transform: translateY(-2px); }
.pf-btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pf-services, .pf-steps { grid-template-columns: repeat(2, 1fr); }
    .pf-videos { grid-template-columns: repeat(3, 1fr); }
    .pf-videos-h { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .pf-wrapper { padding: 110px 16px 30px; }
    .pf-masthead { margin-bottom: 64px; }
    .pf-section { margin-bottom: 84px; }
    .pf-services, .pf-steps, .pf-sites { grid-template-columns: 1fr; }
    .pf-site-wide { flex-direction: column; }
    .pf-case { grid-template-columns: 1fr; }
    .pf-case-shot { aspect-ratio: 16 / 10; }
    .pf-case-body { padding: 24px; }
    .pf-site-wide .pf-site-shot { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .pf-site-wide .pf-site-body { padding: 22px 24px 26px; }
    .pf-videos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pf-videos-h { grid-template-columns: 1fr; }
}
