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

:root {
    --primary: #1F2937;       /* Orta-Koyu Gri */
    --secondary: #111827;     /* Koyu Gri/Siyah */
    --light: #111827;         /* Arka Plan */
    --cream: #1F2937;         /* Kartlar */
    --accent: #6366F1;        /* İndigo (Vurgu Rengi) */
    --accent-light: #818CF8;  /* Açık İndigo */
    --text-dark: #F9FAFB;      /* Metin (Açık) */
    --text-light: #9CA3AF;     /* Metin (Soluk) */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--text-dark);
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.3s, background-color 0.3s;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-selector {
    display: flex;
    gap: 0.3rem;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.3);
}

.lang-btn.active {
    background: var(--accent);
}

.menu-icon {
    display: none; /* Masaüstünde gizli */
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero */
.hero {
    background: var(--secondary);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: var(--light);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-info .social-links {
    margin-top: 2rem;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 30px;
}

.contact-item .label {
    font-weight: 600;
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-item .value {
    display: block;
    font-size: 1rem;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    background: var(--cream);
}

.about-content > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, background 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.skill-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Projects Section */
.projects-section {
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.project-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.project-card h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: justify;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--light);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: #1F2937; /* Her modda aynı koyu renk */
}

.contact-section .section-title {
    color: white;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.social-link.linkedin {
    /* Hover'da renklenir */
}

.social-link.github {
    /* Hover'da renklenir */
}

.social-link.instagram {
    /* Hover'da renklenir */
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.social-link.linkedin:hover { background: #0077b5; }
.social-link.github:hover { background: #333; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 84, 61, 0.4);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 5s ease-in-out;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(20px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    background: #111827; /* Her modda aynı koyu renk */
    padding: 2rem 0;
    text-align: center;
    color: white;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo {
        margin: 0 auto;
    }

    .hero-info .social-links {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .menu-icon {
        display: block; /* Mobilde görünür */
    }

    .nav-links {
        display: none; /* Mobilde varsayılan olarak gizli */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 1rem 0;
        gap: 0;
        align-items: center;
    }

    .nav-links.active {
        display: flex; /* JavaScript ile bu class eklendiğinde görünür olacak */
    }

    .nav-links a {
        font-size: 1.1rem; /* Yazı boyutunu büyütür */
        padding: 1rem;     /* Tıklama alanını genişletir */
    }

    .hero-info h1 {
        font-size: 2rem;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}