/* =============================================
   PROFIL SHIBUMI — Simplicity. Refinement. Silence.
   Poppins — weight contrast as the design language
   Palette: #faf9f7 (warm white) · #1a1a1a (ink) · #c9a96e (gold accent)
   ============================================= */

/* Siyah logo — global filter'ı ezeriz */
.shibumi-page .hero-logo img {
    filter: none !important;
}

:root {
    --bg:       #faf9f7;
    --ink:      #1a1a1a;
    --ink-soft: #6b6b6b;
    --ink-faint:#c0bdb8;
    --gold:     #c9a96e;
    --rule:     #e8e5e0;
    --sans:     'Poppins', sans-serif;
}

/* ---- Base ---- */
.shibumi-page {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =============================================
   TOP BAR
   ============================================= */
.sb-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
}

.sb-logo {
    height: 28px;
    filter: brightness(0);
}

.sb-nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0; padding: 0;
}

.sb-nav a {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.3s;
}

.sb-nav a:hover,
.sb-nav a.active {
    color: var(--ink);
}

.sb-nav a.active {
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}

/* Hamburger */
.sb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 210;
}

.sb-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s;
}

/* =============================================
   HERO — SPLIT
   ============================================= */
.sb-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 90px; /* mini-header height */
}

/* --- Photo side --- */
.sb-hero-photo {
    position: relative;
    overflow: hidden;
}

.sb-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(8%);
    transition: transform 8s ease, filter 0.6s ease;
}

.sb-hero-photo:hover .sb-portrait {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.sb-photo-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* --- Identity side --- */
.sb-hero-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 72px;
}

.sb-role-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 20px;
}

.sb-name {
    font-family: var(--sans);
    font-size: clamp(3rem, 5.5vw, 6.5rem);
    font-weight: 200;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 40px;
}

.sb-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 40px;
}

/* Vitals */
.sb-vitals {
    margin: 0 0 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sb-vital-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: baseline;
    border-bottom: 1px solid var(--rule);
    padding: 13px 0;
}

.sb-vital-row:first-child {
    border-top: 1px solid var(--rule);
}

.sb-vitals dt {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 400;
}

.sb-vitals dd {
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--ink);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Actions row */
.sb-hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.sb-back-link {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.3s;
}

.sb-back-link:hover { color: var(--ink); }

.sb-socials {
    display: flex;
    gap: 20px;
}

.sb-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.3s;
}

.sb-social-link:hover { color: var(--ink); }

/* =============================================
   SECTIONS — shared
   ============================================= */
.sb-section {
    padding: 100px 0;
    border-top: 1px solid var(--rule);
}

.sb-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 72px;
}

.sb-section-label {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 56px;
}

.sb-label-num {
    font-family: var(--sans);
    font-size: 0.68rem;
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 0.15em;
}

.sb-label-text {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
}

.sb-gallery-count {
    margin-left: auto;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* =============================================
   WORKS
   ============================================= */
.sb-works {
    display: flex;
    flex-direction: column;
}

.sb-work-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule);
    cursor: default;
    transition: background 0.25s;
    position: relative;
}

.sb-work-row:first-child {
    border-top: 1px solid var(--rule);
}

.sb-work-row::before {
    content: '';
    position: absolute;
    left: -72px; right: -72px;
    top: 0; bottom: 0;
    background: var(--ink);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.sb-work-row:hover::before { opacity: 1; }

.sb-work-row:hover .sb-work-channel,
.sb-work-row:hover .sb-work-title,
.sb-work-row:hover .sb-work-type {
    color: var(--bg);
}

.sb-work-row:hover .sb-work-line {
    background: var(--gold);
}

.sb-work-channel {
    position: relative;
    z-index: 1;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s;
}

.sb-work-title {
    position: relative;
    z-index: 1;
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.sb-work-type {
    position: relative;
    z-index: 1;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: color 0.3s;
}

.sb-work-line { display: none; }

/* =============================================
   GALLERY
   ============================================= */
.sb-gallery-section .sb-section-inner {
    max-width: 1100px;
}

.sb-gallery {
    column-count: 4;
    column-gap: 5px;
    max-width: 1100px;
    margin: 0 auto;
}

.sb-gitem {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    margin-bottom: 5px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.sb-gitem.sb-tall {
    /* No longer needed in masonry */
}

.sb-gitem.sb-wide {
    /* No longer needed in masonry */
}

.sb-gitem img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease,
                filter 0.5s ease;
    filter: grayscale(15%);
}

.sb-gitem:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.sb-gitem-hover {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-gitem-hover::after {
    content: '+';
    font-family: var(--sans);
    font-size: 2rem;
    color: rgba(255,255,255,0);
    transition: color 0.4s ease;
    font-weight: 200;
}

.sb-gitem:hover .sb-gitem-hover {
    background: rgba(26, 26, 26, 0.3);
}

.sb-gitem:hover .sb-gitem-hover::after {
    color: rgba(255,255,255,0.9);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.sb-lightbox {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sb-lightbox.open {
    visibility: visible;
    opacity: 1;
}

.sb-lightbox-img {
    max-width: 88vw;
    max-height: 88vh;
    object-fit: contain;
    display: block;
}

.sb-lightbox-close {
    position: absolute;
    top: 28px; right: 36px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
    font-family: var(--sans);
    z-index: 10000;
}

.sb-lightbox-close:hover { color: #fff; }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .sb-topbar {
        padding: 0 24px;
    }

    .sb-nav { display: none; }
    .sb-nav.open {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--bg);
        align-items: center;
        justify-content: center;
        z-index: 205;
    }
    .sb-nav.open ul {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .sb-nav.open a {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }

    .sb-hamburger { display: flex; z-index: 210; }

    .sb-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sb-hero-photo {
        height: 60vh;
    }

    .sb-hero-identity {
        padding: 48px 24px 60px;
    }

    .sb-name {
        font-size: 4rem;
    }

    .sb-section-inner {
        padding: 0 24px;
    }

    .sb-section {
        padding: 64px 0;
    }

    .sb-gallery {
        column-count: 2;
        column-gap: 5px;
    }

    .sb-work-row::before {
        left: -24px; right: -24px;
    }
}

@media (max-width: 480px) {
    .sb-hero-photo { height: 50vh; }
    .sb-name { font-size: 3rem; }
    .sb-vital-row { grid-template-columns: 110px 1fr; }
    .sb-gallery { column-count: 2; column-gap: 5px; }
}

/* =============================================
   PAGE FADE-IN  (transform kaldırıldı — fixed pozisyonu kırıyordu)
   ============================================= */
.shibumi-page {
    animation: sbFadeIn 0.7s ease both;
}

@keyframes sbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Section reveal on scroll */
.sb-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sb-section.sb-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================================================
   WORK CATEGORIES (Dizi, Sinema, Reklam)
   ======================================================================= */
.sb-work-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink-15);
    width: 100%;
}

.sb-works .sb-work-category:first-child {
    margin-top: 0;
}
