/* --- Global Reset ve Tipografi --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
    background: #0d1117; /* Koyu tema başlangıcı */
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

a {
    color: #a0c4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* --- Arka Plan (Sıvı Etki) --- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Büyük, yumuşak, hareketli blob'lar */
.blob {
    position: absolute;
    width: 50vw;
    height: 50vh;
    border-radius: 50%;
    filter: blur(80px); /* Yoğun bulanıklık */
    opacity: 0.6;
    animation: moveBlob 15s infinite alternate ease-in-out;
}

.blob-1 {
    background: #090de6; /* Mavi/Cyan */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    background: #2482bc; 
    bottom: -10%;
    right: -10%;
    animation-delay: 3s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20vw, 20vh) scale(1.1); }
}

/* --- Glassmorphism Teması --- */
.glass-card {
    /* Arkaplan Bulanıklığı - Can Alıcı Nokta */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    /* Yarı şeffaf beyaz/açık renk */
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekti (Sıvı Etki) */
.glass-card:hover {
    transform: translateY(-1px); 
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
}

/* --- Genel Düzen --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 125px; /* Navbar'ın altından başlar */
    padding-bottom: 50px;
}

.section-padding {
    padding: 40px 0;
}

/* --- Navbar (Responsive) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0px; /* Navbar tam genişlik olduğu için */
}

.navbar h1 {
    font-size: 1.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    font-weight: 600;
    padding: 5px 10px;
}

/* --- Hero Bölümü --- */
.hero-section {
    padding: 60px 30px;
    margin-bottom: 40px;
    text-align: center;
}

.hero-content .my-image {
    height: auto;      
    border-radius: 50%; /* Görseli yuvarlak yapar */
    margin: 0 auto 20px auto; /* Ortalar ve altına biraz boşluk verir */
    display: block;    /* Ortalamak için blok seviyesine getir */
    border: 3px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); 
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 4rem); /* Duyarlı font boyutu */
    margin-bottom: 10px;
}

.slogan {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #a0c4ff;
    color: #0d1117;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    color: #0d1117;
}

/* --- Yetenekler ve Projeler Grid (Responsive) --- */
.skills-grid, .projects-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.skill-card ul {
    list-style: none;
    padding-left: 0;
    opacity: 0.9;
}

.project-card a {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

/* --- İletişim --- */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.content-wrapper {
    text-align: center;
    padding: 30px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2); /* Hafif gölgeli zemin */
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Mobil Uyum (Media Queries) --- */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .navbar h1 {
        margin-bottom: 10px;
    }

    .navbar ul {
        gap: 10px;
        padding: 0;
        justify-content: center;
        display: none;
    }

    .container {
        padding-top: 100px;
        width: 95%;
    }

    

    .hero-section {
        padding: 40px 15px;
    }

    .blob {
        width: 80vw;
        height: 80vh;
    }
    
    @keyframes moveBlob {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(10vw, 10vh) scale(1.1); }
    }
}