
/*
 * OSMAN ÇELİK — BİYOGRAFİ
 * biography.css v2.2.0
 *
 * 1. Kafkasya giriş sahnesi — sıcak kâğıt fon
 * 2. Detaylı biyografi ve siyah beyaz portre
 * 3. Kronoloji ve arşiv — eşit yükseklikte kartlar
 *
 * Masaüstü, tablet ve mobil uyumlu.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* =========================================
   GENEL
========================================= */

#ocb-page {
    --ocb-red: #a80e17;
    --ocb-dark: #101522;
    --ocb-text: #485469;
    --ocb-muted: #727b8b;
    --ocb-line: #e2e6ec;
    --ocb-paper: #faf9f7;
    --ocb-hero-paper: #f6f3ee;
    --ocb-width: min(1440px, calc(100% - 96px));

    width: 100%;
    min-height: 100vh;
    overflow: clip;
    background: #ffffff;
    color: var(--ocb-dark);
    font-family: "IBM Plex Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#ocb-page *,
#ocb-page *::before,
#ocb-page *::after {
    box-sizing: border-box;
}

#ocb-page a {
    color: inherit;
    text-decoration: none;
}

#ocb-page img {
    max-width: 100%;
}

#ocb-page .ocb-shell {
    width: var(--ocb-width);
    margin-inline: auto;
}

#ocb-page .ocb-eyebrow {
    display: block;
    color: var(--ocb-red);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* =========================================
   1. GİRİŞ / KAFKASYA SAHNESİ
========================================= */

#ocb-page .ocb-hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    isolation: isolate;
    overflow: hidden;
    background: var(--ocb-hero-paper);
}

#ocb-page .ocb-hero-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

#ocb-page .ocb-copy {
    width: 43%;
    min-width: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

#ocb-page .ocb-title {
    margin: 25px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(65px, 6vw, 105px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.05em;
}

#ocb-page .ocb-subtitle {
    margin: 18px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(32px, 3.1vw, 51px);
    font-weight: 500;
    line-height: 1.05;
}

#ocb-page .ocb-intro {
    max-width: 560px;
    margin: 30px 0 0;
    color: var(--ocb-text);
    font-size: 16px;
    line-height: 1.8;
}

#ocb-page .ocb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 33px;
}

#ocb-page .ocb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 13px 23px;
    border: 1px solid #b8bfca;
    border-radius: 2px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}

#ocb-page .ocb-button:hover {
    transform: translateY(-2px);
}

#ocb-page .ocb-button-primary {
    background: var(--ocb-red);
    border-color: var(--ocb-red);
    color: #ffffff;
}

#ocb-page .ocb-button-primary:hover {
    background: #830a11;
    color: #ffffff;
}

/* =========================================
   KAFKASYA GÖRSELİ
========================================= */

#ocb-page .ocb-art {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

#ocb-page .ocb-full-scene {
    position: absolute;
    right: 0;
    bottom: -2%;
    width: 74%;
    height: 106%;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    opacity: .96;
    filter: grayscale(1);
}

#ocb-page .ocb-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to right,
        #f6f3ee 0%,
        #f6f3ee 25%,
        rgba(246,243,238,.98) 34%,
        rgba(246,243,238,.80) 43%,
        rgba(246,243,238,.35) 52%,
        rgba(246,243,238,0) 64%
    );
    pointer-events: none;
}

#ocb-page .ocb-art::after {
    content: "";
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    height: 19%;
    background: linear-gradient(
        to bottom,
        rgba(246,243,238,0) 0%,
        rgba(246,243,238,.15) 35%,
        rgba(246,243,238,.55) 72%,
        #f6f3ee 100%
    );
    pointer-events: none;
}

/* Kırmızı fırça */

#ocb-page .ocb-brush {
    position: absolute;
    z-index: 7;
    right: -1%;
    bottom: -5%;
    width: 14%;
    height: auto;
    opacity: .58;
    transform: rotate(-3deg);
    mix-blend-mode: multiply;
}

/* =========================================
   HAREKETLİ KUŞLAR
========================================= */

#ocb-page .ocb-birds {
    position: absolute;
    z-index: 8;
    top: 0;
    right: 0;
    width: 62%;
    height: 40%;
    pointer-events: none;
}

#ocb-page .ocb-bird {
    position: absolute;
    display: block;
    width: 27px;
    height: 20px;
    opacity: 0;
    will-change: transform, opacity;
}

#ocb-page .ocb-bird svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#ocb-page .ocb-wing,
#ocb-page .ocb-bird-body {
    fill: none;
    stroke: #47515c;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ocb-page .ocb-wing-left {
    transform-origin: 50% 60%;
    animation: ocbFlapLeft .55s ease-in-out infinite alternate;
}

#ocb-page .ocb-wing-right {
    transform-origin: 50% 60%;
    animation: ocbFlapRight .55s ease-in-out infinite alternate;
}

#ocb-page .ocb-bird-1 {
    top: 33%;
    left: -12%;
    width: 28px;
    animation: ocbBirdTravel 16s linear 0s infinite;
}

#ocb-page .ocb-bird-2 {
    top: 49%;
    left: -12%;
    width: 22px;
    animation: ocbBirdTravel 19s linear 3.5s infinite;
}

#ocb-page .ocb-bird-3 {
    top: 19%;
    left: -12%;
    width: 25px;
    animation: ocbBirdTravel 22s linear 7s infinite;
}

#ocb-page .ocb-bird-4 {
    top: 42%;
    left: -12%;
    width: 18px;
    animation: ocbBirdTravel 20s linear 11s infinite;
}

#ocb-page .ocb-bird-5 {
    top: 26%;
    left: -12%;
    width: 20px;
    animation: ocbBirdTravel 24s linear 5.5s infinite;
}

@keyframes ocbFlapLeft {
    0% {
        transform: rotate(11deg);
    }
    100% {
        transform: rotate(-13deg);
    }
}

@keyframes ocbFlapRight {
    0% {
        transform: rotate(-11deg);
    }
    100% {
        transform: rotate(13deg);
    }
}

@keyframes ocbBirdTravel {
    0% {
        transform: translate3d(0, 12px, 0) scale(.78);
        opacity: 0;
    }
    10% {
        opacity: .75;
    }
    45% {
        transform: translate3d(43vw, -15px, 0) scale(.9);
        opacity: .75;
    }
    85% {
        opacity: .65;
    }
    100% {
        transform: translate3d(85vw, -48px, 0) scale(.74);
        opacity: 0;
    }
}

/* =========================================
   2. DETAYLI BİYOGRAFİ
========================================= */

#ocb-page .ocb-biography {
    padding: 92px 0 105px;
    background: var(--ocb-paper);
    border-top: 1px solid var(--ocb-line);
}

#ocb-page .ocb-biography-heading {
    margin-bottom: 48px;
}

#ocb-page .ocb-biography-heading h2 {
    max-width: 1000px;
    margin: 15px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(49px, 5vw, 78px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
}

#ocb-page .ocb-biography-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(45px, 5.5vw, 100px);
    align-items: start;
}

#ocb-page .ocb-portrait {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 9px;
    background: #fff;
    border: 1px solid #e2ded6;
    box-shadow: 0 15px 32px rgba(19,25,33,.08);
}

#ocb-page .ocb-portrait::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -2px;
    left: -1px;
    width: 50px;
    height: 3px;
    background: var(--ocb-red);
}

#ocb-page .ocb-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 25%;
    filter: grayscale(1);
}

#ocb-page .ocb-portrait figcaption {
    padding: 12px 4px 5px;
    color: var(--ocb-muted);
    font-size: 11px;
    text-align: center;
    letter-spacing: .02em;
}

#ocb-page .ocb-biography-copy {
    columns: 1;
    max-width: 850px;
    color: var(--ocb-text);
    font-size: 16px;
    line-height: 1.9;
}

#ocb-page .ocb-biography-copy p {
    margin: 0 0 22px;
}

#ocb-page .ocb-biography-copy p:last-child {
    margin-bottom: 0;
}

/* =========================================
   3. KRONOLOJİ VE ARŞİV
   ORTALANMIŞ EŞİT KARTLAR
========================================= */

#ocb-page .ocb-panels {
    padding: 78px 0 90px;
    background: #f6f3ee;
    border-top: 1px solid #e6dfd5;
}

#ocb-page .ocb-panels .ocb-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: min(1260px, calc(100% - 96px));
    gap: 26px;
}

#ocb-page .ocb-panels .ocb-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 42px 45px 46px;
    background: #fffdfa;
    border: 1px solid #e6dfd5;
    box-shadow: 0 8px 28px rgba(26,26,26,.025);
}

#ocb-page .ocb-panel-title {
    margin: 13px 0 24px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(37px, 3.1vw, 50px);
    font-weight: 600;
    line-height: 1;
}

#ocb-page .ocb-panel p {
    max-width: 520px;
    margin: 0;
    color: var(--ocb-text);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   KRONOLOJİ
========================================= */

#ocb-page .ocb-timeline {
    position: relative;
    margin-top: 8px;
    padding-left: 27px;
    border-left: 1px solid var(--ocb-red);
}

#ocb-page .ocb-time {
    position: relative;
    padding-bottom: 27px;
}

#ocb-page .ocb-time:last-child {
    padding-bottom: 0;
}

#ocb-page .ocb-time::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -32px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ocb-red);
}

#ocb-page .ocb-year {
    display: block;
    color: var(--ocb-red);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
}

#ocb-page .ocb-time-text {
    display: block;
    margin-top: 6px;
    color: var(--ocb-text);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================
   HATIRALAR VE ARŞİV
========================================= */

#ocb-page .ocb-archive {
    margin-top: 25px;
}

#ocb-page .ocb-archive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0;
    border-bottom: 1px solid #e6dfd5;
}

#ocb-page .ocb-archive-item strong {
    font-size: 14px;
    font-weight: 600;
}

#ocb-page .ocb-archive-item span {
    color: var(--ocb-muted);
    font-size: 11px;
    text-align: right;
}

/* Arşiv bağlantısı kartın altında */

#ocb-page .ocb-archive-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 45px;
    margin-top: auto;
    padding: 0 23px;
    background: #a50f1e;
    border: 1px solid #a50f1e;
    border-radius: 2px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: background .2s ease;
}

#ocb-page .ocb-archive-button:hover {
    background: #820b17;
    border-color: #820b17;
}

/* =========================================
   ALT BİLGİ
========================================= */

#ocb-page .ocb-footer {
    background: #fff;
    border-top: 1px solid var(--ocb-line);
}

#ocb-page .ocb-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    min-height: 80px;
    color: var(--ocb-muted);
    font-size: 12px;
}

#ocb-page .ocb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

#ocb-page .ocb-footer-links a:hover {
    color: var(--ocb-red);
}

/* Mevcut reveal animasyonuyla uyum */

#ocb-page .ocb-reveal {
    opacity: 1;
    transform: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
    #ocb-page {
        --ocb-width: calc(100% - 60px);
    }

    #ocb-page .ocb-biography-layout {
        grid-template-columns: minmax(225px, 30%) minmax(0, 1fr);
        gap: 45px;
    }

    #ocb-page .ocb-full-scene {
        width: 77%;
    }

    #ocb-page .ocb-panels .ocb-panel-grid {
        width: calc(100% - 60px);
        gap: 20px;
    }

    #ocb-page .ocb-panels .ocb-panel {
        padding: 35px 30px;
    }
}

/* =========================================
   MOBİL / TABLET
========================================= */

@media (max-width: 980px) {
    #ocb-page {
        --ocb-width: calc(100% - 40px);
    }

    #ocb-page .ocb-hero {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    #ocb-page .ocb-hero-inner {
        height: auto;
        min-height: 0;
    }

    #ocb-page .ocb-copy {
        width: 100%;
        padding: 58px 0 34px;
    }

    #ocb-page .ocb-title {
        font-size: clamp(56px, 9vw, 80px);
    }

    #ocb-page .ocb-subtitle {
        font-size: clamp(30px, 5vw, 42px);
    }

    #ocb-page .ocb-art {
        position: relative;
        inset: auto;
        width: 100%;
        height: 355px;
    }

    #ocb-page .ocb-full-scene {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 66% center;
    }

    #ocb-page .ocb-art::before {
        display: none;
    }

    #ocb-page .ocb-art::after {
        height: 18%;
    }

    #ocb-page .ocb-brush {
        width: 23%;
        right: -2%;
    }

    #ocb-page .ocb-birds {
        width: 100%;
        height: 35%;
    }

    #ocb-page .ocb-biography {
        padding: 70px 0 80px;
    }

    #ocb-page .ocb-biography-heading {
        margin-bottom: 35px;
    }

    #ocb-page .ocb-biography-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #ocb-page .ocb-portrait {
        max-width: 330px;
    }

    #ocb-page .ocb-biography-copy {
        max-width: 100%;
    }

    #ocb-page .ocb-panels {
        padding: 68px 0 75px;
    }

    #ocb-page .ocb-panels .ocb-panel-grid {
        width: calc(100% - 40px);
        gap: 18px;
    }

    #ocb-page .ocb-panels .ocb-panel {
        padding: 30px 27px;
    }
}

/* =========================================
   TELEFON
========================================= */

@media (max-width: 650px) {
    #ocb-page {
        --ocb-width: calc(100% - 36px);
    }

    #ocb-page .ocb-eyebrow {
        font-size: 10px;
        letter-spacing: .1em;
    }

    #ocb-page .ocb-copy {
        padding: 45px 0 32px;
    }

    #ocb-page .ocb-title {
        margin-top: 19px;
        font-size: clamp(52px, 12vw, 69px);
    }

    #ocb-page .ocb-subtitle {
        margin-top: 13px;
        font-size: clamp(29px, 8vw, 39px);
    }

    #ocb-page .ocb-intro {
        margin-top: 23px;
        font-size: 15px;
        line-height: 1.8;
    }

    #ocb-page .ocb-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 25px;
    }

    #ocb-page .ocb-button {
        width: 100%;
        min-height: 49px;
    }

    #ocb-page .ocb-art {
        height: 270px;
    }

    #ocb-page .ocb-full-scene {
        object-position: 70% center;
    }

    #ocb-page .ocb-art::after {
        height: 22%;
    }

    #ocb-page .ocb-brush {
        width: 27%;
        right: -3%;
        opacity: .48;
    }

    #ocb-page .ocb-birds {
        height: 32%;
    }

    #ocb-page .ocb-bird {
        width: 18px;
    }

    #ocb-page .ocb-biography {
        padding: 58px 0 65px;
    }

    #ocb-page .ocb-biography-heading h2 {
        font-size: clamp(43px, 10vw, 55px);
        line-height: 1.02;
    }

    #ocb-page .ocb-portrait {
        max-width: 290px;
        margin-inline: auto;
    }

    #ocb-page .ocb-biography-copy {
        font-size: 15px;
        line-height: 1.9;
    }

    #ocb-page .ocb-biography-copy p {
        margin-bottom: 20px;
    }

    #ocb-page .ocb-panels {
        padding: 58px 0 66px;
    }

    #ocb-page .ocb-panels .ocb-panel-grid {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #ocb-page .ocb-panels .ocb-panel {
        min-height: 0;
        padding: 30px 25px 34px;
    }

    #ocb-page .ocb-panel-title {
        font-size: 39px;
    }

    #ocb-page .ocb-panel p {
        font-size: 14px;
    }

    #ocb-page .ocb-archive-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    #ocb-page .ocb-archive-item span {
        text-align: left;
    }

    #ocb-page .ocb-archive-button {
        margin-top: 30px;
    }

    #ocb-page .ocb-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
    }

    #ocb-page .ocb-footer-links {
        gap: 15px;
    }
}

/* =========================================
   ERİŞİLEBİLİRLİK
========================================= */

#ocb-page a:focus-visible {
    outline: 2px solid var(--ocb-red);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    #ocb-page .ocb-bird,
    #ocb-page .ocb-wing {
        animation: none !important;
        opacity: 0 !important;
    }

    #ocb-page .ocb-button,
    #ocb-page .ocb-archive-button {
        transition: none !important;
    }
}
