/* GENEL AYARLAR */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #474747;
    color: #ebebeb;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* ÜST MENÜ */

header {
    background-color: #292929;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

header.header-gizli {
    transform: translateY(-100%);
}

.header-icerik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin: 0 0 3px;
    color: #ebebeb;
}

.logo p {
    font-size: 11px;
    margin: 3px 0 0;
    color: #b2aea7;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

header nav a {
    color: #ebebeb;
    text-decoration: none;
    padding: 10px 9px;
    margin: 0 3px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

header nav a:hover {
    color: #ffffff;
    border-bottom: 2px solid #B30D22;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ebebeb;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* ANA SAYFA */

#anasayfa {
    text-align: center;
    padding: 100px 20px;
    margin: 10px 30px 15px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#anasayfa h2 {
    font-size: 60px;
    margin: 0;
}
.anasayfa-icerik {
    max-width: 900px;
}

#anasayfa h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 18px;
}

.anasayfa-aciklama {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #b2aea7;
    line-height: 1.8;
    margin: 0;
}

.anasayfa-cizgi {
    width: 600px;
    height: 2px;
    background-color: #B30D22;
    margin: 22px auto;
}

/* GENEL BÖLÜMLER */

#hakkimda,
#hayatim,
#hedeflerim,
#iletisim,
#calismalarim {
    margin: 30px;
    padding: 35px;
    background-color: #3d3d3d;
    border-radius: 8px;
}

#hobilerim {
    margin: 30px;
    padding: 35px;
}

#hakkimda h2,
#hobilerim h2,
#hayatim h2,
#hedeflerim h2,
#iletisim h2,
#calismalarim h2 {
    font-size: 36px;
    margin-top: 0;
}

/* HAKKIMDA */

.hakkimda-icerik {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hakkimda-icerik img {
    width: 320px;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.hakkimda-icerik div {
    flex: 1;
    min-width: 0;
}

.hakkimda-icerik h3 {
    color: #ebebeb;
    font-size: 30px;
    margin-bottom: 15px;
}

.hakkimda-icerik p {
    color: #d6d3cf;
    font-size: 16px;
    line-height: 1.9;
    max-width: none;
}

/* HOBİLERİM */

.hobi-kutular {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.hobi-kutu {
    background-color: #CFC8C0;
    color: #141414;
    padding: 22px 12px;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.hobi-kutu:hover {
    transform: translateY(-5px);
}

.hobi-kutu h3 {
    color: #141414;
    font-size: 18px;
    margin: 0;
}

/* CALISMALARIM GALERISI */

#calismalarim {
    width: calc(100% - 60px);
    max-width: 1400px;
    margin: 30px auto;
}

.calismalarim-galeri {
    width: 100%;
    position: relative;
}

.calismalarim-kaydirma {
    display: flex;
    width: 100%;
    gap: 0;
    padding: 5px 0 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.calismalarim-kaydirma::-webkit-scrollbar {
    display: none;
}

.calismalarim-kart {
    flex: 0 0 80%;
    margin: 0 10%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    scroll-snap-align: center;
overflow: hidden;
}

.calismalarim-kart img {
    width: 100%;
    height: 460px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
    cursor: zoom-in;
}

.calismalarim-kart h3 {
    width: 100%;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.galeri-ok {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: #78000c;
    color: #ebebeb;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
padding-bottom: 6px;
    padding: 0;
    line-height: 0.4;
}

#onceki-calisma {
    left: 8px;
}

#sonraki-calisma {
    right: 8px;
}

.calismalarim-noktalar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.galeri-nokta {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #888888;
    cursor: pointer;
}

.galeri-nokta.aktif {
    background-color: #B30D22;
    transform: scale(1.3);
}

/* HAYATIMDAN KARELER */

.foto-galeri {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.foto-galeri img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* BÜYÜK FOTOĞRAF */

#foto-buyuk {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#foto-buyuk img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

#foto-buyuk span {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* HEDEFLERİM */

#hedeflerim ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

#hedeflerim li {
    position: relative;
    color: #d6d3cf;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 15px;
    padding-left: 25px;
}

#hedeflerim li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 11px;
    width: 10px;
    height: 10px;
    background-color: #B30D22;
    border-radius: 50%;
}

/* İLETİŞİM */

.eposta {
    color: #B30D22;
    text-decoration: none;
}

.eposta:hover {
    color: #EBEBEB;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 25px;
    font-size: 13px;
}

/* YUKARI ÇIKMA OKU */

#yukari-cik {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #78000c;
    color: #ebebeb;
    text-decoration: none;
    font-size: 25px;
    padding: 10px 16px;
    border-radius: 5px;
    z-index: 99;
}

.mobil-satir {
    display: none;
}

/* MOBİL GÖRÜNÜM */

@media screen and (max-width: 700px) {

    * {
        box-sizing: border-box;
    }

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    header {
        padding: 18px 15px;
    }

    .header-icerik {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 34px;
    }

    #menu-toggle {
        display: block;
    }

    header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 15px;
    }

    header nav.menu-acik {
        display: flex;
    }

    header nav a {
        display: block;
        text-align: left;
        padding: 12px 5px;
        margin: 0;
        font-size: 13px;
        border-bottom: 1px solid #555555;
    }

.mobil-satir {
    display: inline;
}

    /* ANA SAYFA */

    #anasayfa {
        min-height: 220px;
        padding: 60px 15px;
        margin: 10px 15px;
    }

#anasayfa h2 {
    font-size: 40px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}
    .anasayfa-cizgi {
        width: 100%;
        max-width: 600px;
    }

    /* BÖLÜMLER */

    #hakkimda,
    #hayatim,
    #hedeflerim,
    #iletisim,
    #calismalarim,
    #hobilerim {
        margin: 15px;
        padding: 20px;
    }

    /* HAKKIMDA */

    .hakkimda-icerik {
        flex-direction: column;
        align-items: center;
    }

    .hakkimda-icerik img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    /* HOBİLERİM */

    .hobi-kutular {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .hobi-kutu {
        flex: 0 1 calc(50% - 6px);
        padding: 18px 8px;
        min-width: 0;
    }

    .hobi-kutu h3 {
        font-size: 16px;
        overflow-wrap: break-word;
    }

    .hobi-kutu:last-child {
        flex-basis: calc(50% - 6px);
        margin-left: auto;
        margin-right: auto;
    }

    /* FOTOĞRAF GALERİSİ */

    .foto-galeri {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* ÇALIŞMALARIM */

    #calismalarim {
        width: auto;
        margin: 15px;
        padding: 20px;
    }

    .calismalarim-kart {
        flex: 0 0 90%;
        margin: 0 5%;
    }

    .calismalarim-kart img {
        height: 280px;
    }

.calisma-gorsel {
    width: 100%;
    overflow: hidden;
    border-radius: 12px !important;
}

.calisma-gorsel img {
    width: 100%;
    border-radius: 12px !important;
    overflow: hidden;
}
