/* Genel Ayarlar */
.container {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    height: 100%;
    background: url("bg0.jpg") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}



.container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.349);
    z-index: -1;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    margin: 10px 0;
}

/* Linkler ve Paragraflar */
a, p {
    color: #BB86FC;
    text-decoration: none;
}

a:hover {
    color: #03DAC6;
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* Main Section */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 50px 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 20px;
    height: 70px; /* header yüksekliği */
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    border-radius: 15px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
}

.nav-links a {
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #BB86FC;
    color: #121212;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

/* Profil Fotoğrafı */
.foto img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #BB86FC;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

/* Büyük Yazı */
.buyuk_yazi {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Çizgi */
.line {
    width: 80%;
    height: 3px;
    background-color: #03DAC6;
    margin: 30px auto;
    border-radius: 3px;
}

/* About Section */
.about {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(1px);
}

.about-content {
    max-width: 800px; /* Metin daha kolay okunur */
    background: rgba(0, 0, 0, 0.5); /* Yarı saydam kutu */
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #BB86FC;
}

.about-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #fff;
}

/* Footer */
.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
}

.socials {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(30,30,30,0.5);
    color: #c8b5f5;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.socials a:hover {
    background-color: #BB86FC;
    color: #121212;
    transform: translateY(-2px);
}

.github {
    background-image: url("https://cdn-icons-png.flaticon.com/512/25/25231.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px 24px;
    padding-right: 30px;
}

.linkedin {
    background-image: url("https://cdn-icons-png.flaticon.com/512/174/174857.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px 24px;
    padding-right: 30px;
}

.alternate-p{
    color: rgb(144, 11, 11);
    font-weight: 600;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(1px);
}

.project-sect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}

.projects {
    display: flex;
    flex-wrap: wrap;      /* yan yana sığmazsa alta geçsin */
    gap: 30px;
    justify-content: center;
    padding: 60px;
    max-width: 1200px;
}

.project {
    width: 250px;         /* sabit genişlik */
    height: 200px;        /* sabit yükseklik */
    background-color: #121212;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.project:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.prj1 {
    background: url(https://avatars.mds.yandex.net/i?id=6eca7e60e5d3375306731c8d3727bc0ac583b2fd-5666576-images-thumbs&n=13);
    background-size: cover;
    background-position: center;
}
