/*
    BU DOSYA SAYFANIN GÖRÜNÜŞÜNÜ BELİRLER.
    İçerikleri (isim, sorular, cevaplar, bağlantılar) index.html'de değiştir.
*/

/* KENDİN DEĞİŞTİR: Sitenin temel renkleri */
:root {
    --navy: #0b2545;
    --navy-light: #23466f;
    --white: #ffffff;
    --background: #f6f8fb;
    --text: #17253a;
    --muted: #5f6f82;
    --border: #d9e1ea;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

a {
    color: var(--navy-light);
}

.page {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 55px;
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 80px;
}

.profile-column {
    align-self: start;
    position: sticky;
    top: 30px;
}

.profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border: 4px solid var(--navy);
    background-color: #e8eef5;
}

.role {
    margin: 18px 0 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: bold;
}

.institution {
    margin: 2px 0 15px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.4;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.profile-links a {
    font-size: 16px;
    font-weight: bold;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.content-column {
    min-width: 0;
}

.page-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 70px;
}

.page-navigation a {
    color: var(--navy);
    font-weight: bold;
    text-decoration: none;
}

.page-navigation a:hover,
.profile-links a:hover {
    color: #356ea8;
}

.section-link {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--navy);
    border-radius: 6px;
    color: var(--navy);
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.section-link:hover,
.section-link:focus-visible {
    background-color: var(--navy);
    color: var(--white);
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 22px;
}

.project-card {
    flex: 0 1 40%;
    width: 40%;
    min-width: 280px;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-top: 5px solid var(--navy);
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 4px 16px rgba(11, 37, 69, 0.07);
}

.project-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
    line-height: 1.35;
}

.project-card p {
    margin: 0 0 22px;
}

.github-button {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--navy);
    border-radius: 6px;
    color: var(--white);
    background-color: var(--navy);
    font-weight: bold;
    text-decoration: none;
}

.github-button:not(.is-disabled):hover,
.github-button:not(.is-disabled):focus-visible {
    background-color: var(--navy-light);
}

.github-button.is-disabled {
    border-color: var(--border);
    color: var(--muted);
    background-color: #eef2f6;
    cursor: not-allowed;
    pointer-events: none;
}

.intro h1 {
    margin: 0 0 18px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 8vw, 48px);
    font-weight: normal;
    letter-spacing: -2px;
    line-height: 1;
}

.intro p {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
}

hr {
    margin: 58px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: normal;
}

.section-introduction {
    margin: 0 0 30px;
    color: var(--muted);
}

.week {
    margin-bottom: 25px;
    padding: 25px 28px;
    border-left: 5px solid var(--navy);
    background-color: var(--white);
    box-shadow: 0 3px 15px rgba(11, 37, 69, 0.07);
}

.week h3 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: 23px;
}

.question + .question {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.question h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.45;
}

.question p {
    margin: 0;
}

.calendar-placeholder,
.calendar-frame {
    width: 100%;
    min-height: 500px;
    border: 2px solid var(--navy);
    background-color: var(--white);
}

.calendar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 30px;
    color: var(--navy);
    text-align: center;
}

.calendar-placeholder span {
    color: var(--muted);
}

footer {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

/* Telefon ve dar ekran görünümü */
@media (max-width: 720px) {
    .page {
        grid-template-columns: 1fr;
        gap: 40px;
        width: min(100% - 32px, 650px);
        padding-top: 25px;
    }

    .profile-column {
        position: static;
    }

    .profile-photo {
        width: min(240px, 75%);
    }

    .page-navigation {
        margin-bottom: 45px;
    }

    .intro h1 {
        font-size: 50px;
    }

    .intro p {
        font-size: 19px;
    }

    .project-card {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .week {
        padding: 21px;
    }
}
