/* styles.css */

/* Temel stiller */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #f0f0f0;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

.cv-container {
    max-width: 900px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: background 0.3s, color 0.3s;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.site-menu {
    display: flex;
    gap: 15px;
}

.site-menu a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    transition: color 0.3s;
}

.site-menu a:hover {
    color: #e74c3c;
}

.theme-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
}

#theme-button, #language-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-family: 'Montserrat', sans-serif;
}

#theme-button:hover, #language-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
}

#language-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

#language-button:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-pic {
    flex: 0 0 150px;
    height: 150px;
    margin-right: 30px;
}

.profile-pic img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #3498db;
}

.header-text {
    flex: 1;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #3498db;
}

header h2 {
    font-size: 1.5em;
    color: #333;
}

nav.social-media {
    text-align: left;
    margin-bottom: 30px;
}

nav.social-media a {
    margin: 0 10px;
    font-size: 1.5em;
    color: #3498db;
    transition: color 0.3s;
}

nav.social-media a:hover {
    color: #e74c3c;
}

section {
    margin-bottom: 30px;
}

section h3 {
    font-size: 1.75em;
    color: #e74c3c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

section h3 i {
    margin-right: 10px;
}

.job, .education-item {
    background: #ecf0f1;
    padding: 20px;
    border-left: 5px solid #3498db;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.job:hover, .education-item:hover {
    background-color: #bdc3c7;
}

.job h4, .education-item h4 {
    font-size: 1.25em;
    color: #333;
    margin-bottom: 5px;
}

.job p em, .education-item p em {
    font-size: 0.9em;
    color: #666;
}

.job ul {
    list-style-type: square;
    padding-left: 20px;
}

.job ul li {
    color: #333;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.skills-list li {
    background: #3498db;
    color: #fff;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
}

.skills-list li:hover {
    background: #2980b9;
    transform: translateY(-5px);
}

.contact-info p {
    font-size: 1em;
    color: #333;
    margin: 5px 0;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 30px;
}

/* Karanlık tema stilleri */
body.dark-theme {
    background: #2c3e50;
    color: #ecf0f1;
}

body.dark-theme .cv-container {
    background-color: #34495e;
    color: #ecf0f1;
}

body.dark-theme header h1 {
    color: #e74c3c;
}

body.dark-theme header h2 {
    color: #ecf0f1;
}

body.dark-theme .profile-pic img {
    border-color: #e74c3c;
}

body.dark-theme nav.social-media a {
    color: #e74c3c;
}

body.dark-theme nav.social-media a:hover {
    color: #3498db;
}

body.dark-theme section h3 {
    color: #3498db;
}

body.dark-theme .job, body.dark-theme .education-item {
    background: #2c3e50;
    border-left-color: #e74c3c;
}

body.dark-theme .job:hover, body.dark-theme .education-item:hover {
    background-color: #3b4a5a;
}

body.dark-theme .job h4, body.dark-theme .education-item h4 {
    color: #ecf0f1;
}

body.dark-theme .job p em, body.dark-theme .education-item p em {
    color: #bdc3c7;
}

body.dark-theme .job ul li {
    color: #ecf0f1;
}

body.dark-theme .skills-list li {
    background: #e74c3c;
}

body.dark-theme .skills-list li:hover {
    background: #c0392b;
}

body.dark-theme .contact-info p {
    color: #ecf0f1;
}

body.dark-theme footer {
    color: #bdc3c7;
}

body.dark-theme .site-menu a {
    color: #e74c3c;
}

body.dark-theme .site-menu a:hover {
    color: #3498db;
}

/* Karanlık tema buton stilleri */
body.dark-theme #theme-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

body.dark-theme #theme-button:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

body.dark-theme #language-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

body.dark-theme #language-button:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
}

@media (max-width: 768px) {
    .cv-container {
        padding: 30px;
        margin: 20px;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    .profile-pic {
        margin: 0 0 20px 0;
    }

    header h1 {
        font-size: 2em;
        text-align: center;
    }

    header h2 {
        font-size: 1.2em;
        text-align: center;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
    }

    .site-menu {
        flex-direction: column;
        align-items: center;
    }

    .site-menu a {
        margin-bottom: 10px;
    }

    .theme-toggle {
        margin-top: 15px;
        flex-direction: column;
        gap: 8px;
    }

    #theme-button, #language-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}
