/* GENEL AYARLAR VE DEĞİŞKENLER */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --icon-color: #1a1a1a;
    --hover-color: #555555;
    --transition-speed: 0.3s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* İÇERİK KUTUSU */
.container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.contact-page {
    align-items: center;
}

.contact-page .container {
    text-align: center;
    max-width: 1200px;
    padding-top: 20px;
}

/* ÜST NAVİGASYON */
.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    top: -40px;
}

.contact-page .top-nav {
    top: 50px;
    margin-bottom: 24px;
}

.top-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    text-decoration: none;
    color: var(--icon-color);
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    transition: color 0.2s, transform 0.2s;
}

.top-nav a:hover {
    background: none;
    border-color: transparent;
    color: var(--hover-color);
    transform: translateY(-1px);
}

.top-nav .nav-icon {
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    color: var(--icon-color);
}



/* CONTACT LAYOUT */
.contact-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 70px auto 30px;
    width: 100%;
    max-width: 800px;
}

.contact-subtext {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

.contact-right {
    max-width: 520px;
    text-align: left;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 18px 22px;
    margin-top: 10px;
}

.contact-right h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 128, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    align-self: center;
    padding: 12px 18px;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.contact-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #0c1220;
}

.contact-form button:active {
    transform: translateY(0);
    box-shadow: none;
}

.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.contact-page #theme-toggle {
    margin: 28px auto 0;
}

@media (max-width: 900px) {
    .contact-page .container {
        text-align: center;
        padding-top: 20px;
    }
    .contact-layout {
        justify-content: center;
        margin-top: 8px;
        grid-template-columns: 1fr;
        transform: none;
    }
    .contact-left,
    .contact-right,
    .contact-intro {
        max-width: 100%;
        margin-top: 0;
        padding-top: 0;
    }
    .contact-right {
        width: 100%;
    }
    .contact-note {
        justify-content: center;
        text-align: center;
    }
}

/* MOBILE TWEAKS */
@media (max-width: 640px) {
    .contact-page .top-nav {
        top: 0;
        margin-bottom: 16px;
        gap: 16px;
    }
    .contact-layout {
        margin: 24px auto 20px;
        padding: 0 16px;
        max-width: 100%;
        gap: 12px;
    }
    .contact-subtext {
        padding: 0 8px;
    }
    .contact-right {
        width: 100%;
        max-width: 520px;
        padding-top: 26px;
    }
    .contact-social {
        margin-top: 28px;
    }
    .contact-form {
        gap: 20px;
    }
    .contact-form label {
        margin-bottom: 8px;
    }
}

/* PROFİL FOTOĞRAFI */
.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: var(--profile-position, 50% 1%);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* YAZILAR */
h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* SOSYAL MEDYA LİNKLERİ */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: var(--icon-color);
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
}

.social-links .bsky-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: block;
}

.social-links .bsky-icon path {
    fill: currentColor;
}

.social-links a:hover {
    color: var(--hover-color);
    transform: translateY(-3px);
}

/* TEMA BUTONU */
#theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 24px auto 0;
    background: rgba(128, 128, 128, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-color);
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

#theme-toggle:hover {
    background-color: rgba(128, 128, 128, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

body.dark-mode #theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

body.dark-mode #theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.2);
}

/* GİRİŞ ANİMASYONU */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
