* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #fff;
    color: #111;
}

body {
    min-height: 100vh;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.brand {
    display: inline-block;
    color: #000;
    font-family: "Special Elite", cursive;
    font-weight: 400;
    /* index.html'deki .board genisligiyle ayni punto: her sayfada ayni boyda gorunur */
    font-size: calc(0.0264 * max(742px, min(100vw, 100vh * 1024 / 713)) + 10px);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

/* Sag ust kosedeki acilir menu */
.menu-dugme {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 60;
    width: 34px;
    height: 26px;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.menu-dugme span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.menu-dugme span:nth-child(1) {
    top: 0;
}

.menu-dugme span:nth-child(2) {
    top: 12px;
}

.menu-dugme span:nth-child(3) {
    top: 24px;
}

/* Menu acikken uc cizgi carpiya donusur */
.menu-dugme.is-acik span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.menu-dugme.is-acik span:nth-child(2) {
    opacity: 0;
}

.menu-dugme.is-acik span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.menu-panel {
    position: absolute;
    top: 58px;
    right: 0;
    z-index: 59;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    padding: 28px 32px 28px 40px;
    background-color: #fff;
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.menu-panel.is-acik {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Bulunulan sayfa siyah, digerlerinin hepsi gri */
.menu-panel a,
.menu-panel span {
    color: #b3b3b3;
    font-family: "Anton", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.menu-panel a:hover {
    color: #111;
}

.menu-panel .aktif {
    color: #111;
}

/* Belgesel Fotograf altindaki projeler: ustune gelince acilir */
.menu-dal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.menu-altlar {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    margin-top: 10px;
    padding-right: 12px;
    border-right: 1.5px solid #d8d8d8;
}

.menu-dal:hover .menu-altlar,
.menu-dal:focus-within .menu-altlar {
    display: flex;
}

.menu-panel .alt {
    font-size: 14px;
    letter-spacing: 0.07em;
}

.menu-panel .alt.yok {
    color: #ccc;
}

.menu-panel a.alt:hover {
    color: #111;
}

/* Sayfasi henuz olmayan basliklar tiklanamaz */
.menu-panel .yok {
    cursor: default;
}

.menu-dugme:focus:not(:focus-visible) {
    outline: none;
}

.page {
    max-width: 1900px;
    min-width: 681px;
    margin: 0 auto;
    padding: 28px 4.4vw 96px;
}

.column {
    position: relative;
    width: min(1400px, 100%);
    margin: 0 auto;
}

.works {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.work {
    container-type: inline-size;
    width: 100%;
}

.slider {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    background-color: #fff;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.is-visible {
    opacity: 1;
}

.video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

.video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12cqw;
    max-width: 104px;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    transition: background-color 0.3s ease;
}

.video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 0.9em 0 0.9em 1.5em;
    border-color: transparent transparent transparent #fff;
}

.video:hover .video-play {
    background-color: rgba(0, 0, 0, 0.78);
}

.work-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    background-color: #fff;
}

.work-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.projects {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project {
    container-type: inline-size;
    width: 100%;
}

.project-title {
    margin-bottom: 1.4cqw;
    color: #000;
    font-family: "Anton", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(30px, 4.4cqw, 58px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.07em;
    text-align: center;
}

.project-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* drop-shadow, box-shadow'un aksine fotografin gercek kenarlarini takip eder */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.proje-slider {
    position: relative;
    width: 100%;
    aspect-ratio: var(--slider-oran, 3 / 2);
    background-color: #fff;
}

.slider-cerceve {
    position: absolute;
    inset: 0;
}

.slider-goruntu {
    position: absolute;
    inset: 0;
    display: block;
    border: 0;
    padding: 0;
    background: none;
    overflow: hidden;
    cursor: zoom-in;
}

.slider-ok {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 0;
    background: none;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

.slider-ok:hover {
    opacity: 1;
}

.slider-ok::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border-style: solid;
    border-color: #000;
    border-width: 2px 2px 0 0;
}

.slider-ok--geri {
    left: calc(-60px + var(--ok-pay, 0px));
}

.slider-ok--geri::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.slider-ok--ileri {
    right: calc(-60px + var(--ok-pay, 0px));
}

.slider-ok--ileri::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.proje-slider .katman {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 2%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.proje-slider .katman.is-visible {
    opacity: 1;
}

.proje-slider .kare {
    flex: 1 1 0;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.proje-slider .katman.ikili {
    justify-content: center;
    align-items: center;
}

.proje-slider .katman.ikili .kare {
    flex: 0 0 auto;
    width: auto;
    height: var(--ikili-h, 100%);
    aspect-ratio: var(--kare-oran, 2 / 3);
    background-size: 100% 100%;
}

/* Buyutulmus gorunum. is-tam sinifini JS ekler; hem gercek tam ekranda
   hem de pencereyi kaplayan katman modunda ayni kurallar gecerli olur */
.proje-slider.is-tam {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-color: #fff;
}

/* Pencereyi kaplayan katman modu; tarayicinin tam ekran uyarisi cikmaz */
.proje-slider.is-katman {
    position: fixed;
    inset: 0;
    z-index: 50;
}

/* Cerceve fotografin olculerine iner; oklar boylece fotografa yapisik kalir */
.proje-slider.is-tam .slider-cerceve {
    top: 75px;
    bottom: 75px;
    left: 50%;
    right: auto;
    width: auto;
    max-width: min(96vw, var(--slider-en-buyuk, 96vw));
    aspect-ratio: var(--slider-oran, 3 / 2);
    transform: translateX(-50%);
}

/* Buyutulmus gorunumde oklar fotograftan biraz daha uzakta dursun */
.proje-slider.is-tam .slider-ok--geri {
    left: calc(-100px + var(--ok-pay, 0px));
}

.proje-slider.is-tam .slider-ok--ileri {
    right: calc(-100px + var(--ok-pay, 0px));
}

.proje-slider.is-tam .slider-ok--ileri.is-basa {
    width: auto;
    height: auto;
    right: calc(-100px + var(--ok-pay, 0px));
    transform: translate(100%, -50%);
    padding-left: 14px;
    color: #111;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.proje-slider.is-tam .slider-ok--ileri.is-basa::before {
    content: none;
}

/* Buyutulmus gorunumde kareler arasi yumusak gecis olmasin, dogrudan degissin */
.proje-slider.is-tam .katman {
    transition: none;
}

/* Bilgi tusu ve alt yazi yalnizca tam ekranda, o karenin metni varsa gorunur */
.slider-info {
    position: absolute;
    right: 0;
    bottom: -42px;
    z-index: 3;
    display: none;
    width: 32px;
    height: 32px;
    border: 1px solid #111;
    border-radius: 50%;
    background: none;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.slider-info.is-kapat {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
}

.proje-slider.is-tam .slider-info.is-var {
    display: block;
}

/* Tam ekranda cercevenin sag ust kosesinin caprazinda duran kapatma tusu */
.slider-kapat {
    position: absolute;
    top: -54px;
    right: -78px;
    z-index: 3;
    display: none;
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.25s ease;
}

/* Carpi, oklarla ayni dilde olsun diye iki ince cizgiden kuruluyor */
.slider-kapat::before,
.slider-kapat::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 27px;
    height: 1.5px;
    background-color: #111;
}

.slider-kapat::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.slider-kapat::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.slider-kapat:hover {
    opacity: 1;
}

.proje-slider.is-tam .slider-kapat {
    display: block;
}

.slider-altyazi {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: none;
    margin: 0;
    padding: 20px 26px 20px 0;
    background-color: rgba(255, 255, 255, 0.92);
    color: #111;
    font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
    text-align: center;
}

.slider-altyazi.is-acik {
    display: block;
}

.slider-altyazi.is-italik {
    font-size: 20px;
    font-style: italic;
}

.slider-ok[disabled] {
    opacity: 0.12;
    cursor: default;
}

.proje-slider.is-tam .slider-goruntu {
    cursor: pointer;
}

/* Tarayicinin tikladiktan sonra biraktigi mavi odak cercevesi; klavyeyle gezenler icin korunuyor */
.slider-goruntu:focus:not(:focus-visible),
.slider-ok:focus:not(:focus-visible),
.slider-kapat:focus:not(:focus-visible),
.slider-info:focus:not(:focus-visible),
.photo-fs:focus:not(:focus-visible),
.project-photo:focus:not(:focus-visible),
.slider:focus:not(:focus-visible),
.video:focus:not(:focus-visible),
.stage:focus:not(:focus-visible) {
    outline: none;
}

.photo-fs {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: none;
    cursor: zoom-in;
}

.photo-fs img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-fs:fullscreen {
    padding: 200px 5vw;
    background-color: #fff;
    cursor: zoom-out;
}

.photo-fs:-webkit-full-screen {
    padding: 200px 5vw;
    background-color: #fff;
    cursor: zoom-out;
}

.photo-fs:fullscreen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-fs:-webkit-full-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-text {
    width: min(48%, 620px);
    margin-top: calc(0.9cqw + 10px);
    margin-left: auto;
    color: #111;
    /* Proje sayfalarindaki aciklama metniyle ayni font */
    font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
    font-size: clamp(15px, 1.5cqw, 21px);
    line-height: 1.55;
    text-align: justify;
}

.work-title {
    margin-top: 16px;
    color: #000;
    font-family: "Anton", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(28px, 4.6cqw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.proje-metin {
    width: 100%;
    margin-bottom: 26px;
    color: #111;
    font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
    /* Punto ve satir araligi belgeselprojeler.html sayfasindaki metinle ayni */
    font-size: clamp(15px, 1.5cqw, 21px);
    line-height: 1.55;
    text-align: justify;
}

.proje-metin p {
    margin: 0 0 0.9em;
}

.proje-metin p:last-child {
    margin-bottom: 0;
}

.proje-metin--sik p {
    margin: 0;
}

.proje-metin p::first-letter {
    font-weight: 700;
}

.work-title a,
.project-title a {
    color: inherit;
    text-decoration: none;
}

/* Fotograflar suruklenerek masaustune birakilamaz, uzun basinca kaydetme menusu acilmaz */
img,
.slide,
.proje-slider .kare {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
