/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0d1117;
    --text-color: #e6edf3;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --accent-hover: #79c0ff;
    --border-color: #30363d;
    --card-bg: #161b22;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header / About Section */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin-bottom: 20px;
    object-fit: cover;
}

.profile-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin: 0 auto 20px;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: bold;
    color: var(--text-secondary);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-color);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Header social küçük bölme - KÜÇÜK ve YAN YANA olacak şekilde */
.header-socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; /* yan yana, taşarsa taşma yapmasın */
}

/* Genel small sosyal link ayarları (küçültme ve hizalama) */
.header-socials .social-link.small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;            /* küçük padding */
    background-color: rgba(88, 166, 255, 0.04);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;           /* küçük yazı */
    line-height: 1;
    min-height: 28px;
    min-width: 28px;
    transition: all 0.16s ease;
}

/* Hover'da hafif vurgulama */
.header-socials .social-link.small:hover {
    border-color: var(--accent-color);
    background-color: rgba(88, 166, 255, 0.10);
}

/* SVG ikon boyutu garanti altına alındı */
.header-socials .social-svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* İsim / metin stili (küçük, ince) */
.header-socials .social-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
    display: inline-block;
}

/* Section Styles */
.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

/* Education Section */
.education-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.education-item h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.degree {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.details {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.skill-category h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-category li:hover {
    color: var(--text-color);
}

/* Projects Section */
.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.project-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.project-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.project-item a:hover {
    color: var(--accent-hover);
}

/* Socials Section (tekil olarak kullanılırsa) */
.socials-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-color);
    background-color: rgba(88, 166, 255, 0.06);
}

.social-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-list {
        grid-template-columns: 1fr;
    }

    .profile-image,
    .profile-placeholder {
        width: 150px;
        height: 150px;
    }

    .profile-placeholder {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }

    .bio {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.4rem;
    }

    /* Mobilde isimleri gizle, sadece ikon göster */
    .header-socials .social-text {
        display: none;
    }

    /* İkonları biraz daha küçük yap */
    .header-socials .social-svg {
        width: 16px;
        height: 16px;
    }
}
