html{
    scroll-behavior: smooth;
}

body{
    background-color: #121212;
    color: #e0e0e0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
    position: sticky;
    backdrop-filter: blur(10px);
    top: 0;
    box-shadow: 0 20px 20px rgba(0,0,0,0.05);
    width: 100%;
    height: 60px;
    z-index: 1000;
}
header ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:24px;
}
header li{
    color: #808080;
    font-size: 18px;
    list-style: none;
    transition: all 0.3s linear;

}
header a{
    color: #808080;
    text-decoration: none;
    margin-left: 9px;
}
header button{
    background-color: transparent;
    border: none;
    color: #808080;
    font-size: 20px;
    align-items: right;
}
header button:hover{
    color: rgb(255, 255, 255);

}
.dark-theme {
    background-color: #f5f6fa !important;
    color: #2f3640 !important;
}
.hover:hover {
    cursor: pointer;
    transform: translateY(-3px);
    transition-duration: 0.3s;
    color: rgb(50, 131, 238);
}
#hero{
    margin-top:240px;
} 
.p1{
    margin: 40px 0 0 32px;
    text-align: left;
    color: #ffc107;
    font-size: 22px;
    font-weight: bold;
}
.h1{
    margin: 16px 0 16px 32px ;
    color: #e0e0e0;
    font-size: 72px;
}
.h2{
    margin: 12px 0 0 32px;
    font-weight: bold;
    color: #808080;
    font-size: 42px;
}
.p2{
    max-width: 600px;
    margin-left: 38px;
    
}
.btn-projects{
    margin: 0 0 0 40px;
    width: 210px;
    height: 54px;
    background-color: rgb(50, 131, 238);
    border: 2px solid transparent;
    border-radius: 29px;
    transition: all 0.2s linear;
}

.btn-cv{
    background-color: rgba(0,0,0,0.05);
    border-radius: 29px;
    border: 2px solid white;
    width: 140px;
    height: 54px;
    transition: all 0.2s linear;
    --yazi-rengi-notu: #e0e0e0;

}
.btn-cv-text{
    color: var(--yazi-rengi-notu);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.btn-project-text{
    color: #e0e0e0;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.hero-button{
    display: flex;
    gap:20px;
}
.social-icons{
    margin: 20px 0 20px 50px;
    display: flex;
    gap:20px;
    font-size: 36px;
}
.icon-css{
    color: #e0e0e0;
    transition: all 0.2s linear;

}
.btn-projects:hover{
    transform:translateY(-2px);
    transition-duration: 0.2s;
    background-color: rgb(15, 98, 207);
}
.btn-cv:hover {
    transform: translateY(-2px);
    transition-duration: 0.2s;
    background-color: #e0e0e0;
    --yazi-rengi-notu: #383838;
}
.icon-css:hover{
    transform: translateY(-2px);
    transition-duration: 0.2s;
    color: rgb(50, 131, 238);
}
.btn-cv-text:hover {
    color: #383838;
}
#about{
    margin: 240px 0 0 0;
}
#about h2{
    text-align: center;
    color: #808080;
    font-size: 54px;
    font-weight: bold;
}
.about-grid{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:20px;
    padding: 40px;
}
.aboutme{
flex: 2;
}
.aboutme h3{
    color: rgb(15, 98, 207);
    font-size: 26px;
    font-weight: bold;
}
.skills h3{
    color: rgb(15, 98, 207);
    font-size:  26px;
    font-weight: bold;
}
.skills{
    flex: 1;
    text-align: left;
}

.skills-container {
    width: 100%;
    max-width: 300px; 
}

.skill-item {
    margin-bottom: 15px; 
}

.skill-name {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}


.progress-bar {
    background-color: #333; 
    width: 100%;
    height: 10px;
    border-radius: 10px;
    overflow: hidden; 
}

.progress {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out; 
}

.python { background-color: #264de4; } 
.css { background-color: #264de4; }    

#projects{
    margin: 180px 0 44px 0;
    font-weight: bold;
}
.projects-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}
.project-card{
    border:2px none #808080;
    border-radius: 24px;
    padding:40px;
    background-color: rgba(30, 30, 30, 0.9);
    transition: all 0.6s linear;
}
.project-head{
    text-align: center;
    margin: 12px 0 54px 32px;
    font-weight: bold;
    color: #808080;
    font-size: 54px;
}
.project-h3{
    font-size: 24px;
    font-weight: bold;
    color:#e0e0e0
}
.project-a{
    color: rgb(15, 98, 207);
    text-decoration: none;
}
#projects i{
    margin-left: 8px;
    justify-content: center;
    align-items: center;
}
.project-card:hover{
    transform: translateY(-10px);
    transition-duration: 0.6s;
}
.services-head{
    text-align: center;
    margin: 12px 0 54px 32px;
    font-weight: bold;
    color: #808080;
    font-size: 54px;
}
#services{
    padding: 50px 20px;
    margin-bottom: 150px;
}
.services-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
#services h4{
    font-size: 24px;
    font-weight: bold;
    color: #e0e0e0;
}
#services p{
    font-weight: bold;
}
.services-card{
    border-radius: 32px;
    padding: 23px;
    transition: all 0.3s linear;
}
#services i{
    font-size: 32px;
    color: rgb(15, 98, 207);
}
.services-card:hover{
    box-shadow: 25px 25px 25px rgba(30, 30, 30, 0.9);
    background-color: rgba(94, 82, 82, 0.05);
    transform: translateY(-4px);
    transition-duration: 0.3s;
    cursor: pointer;
    color: rgb(50, 131, 238);
}
#contact h2{
    text-align: left;
    margin: 12px 0 54px 320px;
    font-weight: bold;
    color: #808080;
    font-size: 54px;
}
#contact{
    margin-bottom: 120px;
    padding: 50px 0;
}
.contact-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    max-width: 1200px;
}
.location{
    flex: 1;
    max-width: 300px;
}
#contact form{
    flex: 2;
    display: flex;
    flex-direction: column;
    gap:15px;
}
form input{
    width: 100%;
    max-width: 500px;
    height: 42px;
    padding: 10px;
}
form textarea{
    width: 100%;
    max-width: 500px;
    padding: 10px;
    height: 180px;
}
#contact form a{
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
}
form button{
    max-width: 525px;
    height: 42px;
    border-radius: 40px;
    border: 2px solid rgba(30, 30, 30, 0.9);
    background-color:  rgb(50, 131, 238);
    transition: all 0.2s linear;
}
#contact form input, #contact form textarea{
    border-radius: 18px;
    color:#e0e0e0;
    background-color: rgba(30, 30, 30, 0.9);
    border: 2px solid rgba(82, 94, 85, 0.05);
}
#contact form input:hover, #contact form textarea:hover{
    border-color: transparent;
    outline: none;
}
#contact form input:focus, #contact form textarea:focus{
    border: 2px solid rgb(50, 131, 238);
    outline: none;
    box-shadow: 0 0 10px rgb(50, 131, 238);
}
#contact button:hover{
    transform: translateY(-3px);
    transition-duration: 0.2s;
    background-color: rgb(15, 98, 207);
}
footer{
    background-color: #070707;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    height: 80px;
    text-decoration: none;
}
.footer-ico{
    margin-left: 360px;
    font-size: 40px;
}
footer a{
    color: #808080;
    text-decoration: none;
}
footer p{
    font-size: 20px;
    font-weight: bold;
    margin-left: 18px;
}
#js-kutu {
    margin-top: 15px;
}



@media (max-width: 768px) {
    header ul {
        gap: 10px;
        padding: 0;
    }
    header li {
        font-size: 14px;
    }
    #darkThemeBtn {
        padding: 6px 14px;
        font-size: 13px;
        margin-top: 8px;
    }
    #hero {
        margin-top: 100px;
        text-align: center;
    }
    .p1, .h1, .h2, .p2 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        text-align: center;
    }
    .h1 { font-size: 48px; }
    .h2 { font-size: 28px; }
    .hero-button {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .btn-projects { margin-left: 0; }
    .social-icons {
        justify-content: center;
        margin-left: 0;
    }
    .about-grid {
        flex-direction: column;
        padding: 20px;
    }
    .skills-container {
        max-width: 100%;
    }

    .projects-container {
        flex-direction: column;
        padding: 20px;
    }
    .project-card {
        width: 90%;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    #contact h2 {
        margin-left: 0; 
        text-align: center;
    }
    .contact-container {
        flex-direction: column; 
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }
    .location {
        text-align: center;
    }
    #contact form {
        width: 100%;
        align-items: center;
    }
    form input, form textarea, form button {
        max-width: 100%; 
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .footer-ico {
        margin-left: 0;
        margin-top: 10px;
    }
}
#darkThemeBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
#darkThemeBtn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}
.aydinlik-mod #darkThemeBtn {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #2f3640 !important;
}
.aydinlik-mod #darkThemeBtn:hover {
    background-color: #ffffff;
    color: rgb(50, 131, 238) !important;
    border-color: rgb(50, 131, 238);
    box-shadow: 0 4px 10px rgba(50, 131, 238, 0.2);
}
body.aydinlik-mod {
    background-color: #f5f6fa !important;
    color: #2f3640 !important;
}
.aydinlik-mod .h1,
.aydinlik-mod .h2,
.aydinlik-mod .p1,
.aydinlik-mod .p2,
.aydinlik-mod .project-head,
.aydinlik-mod .project-h3,
.aydinlik-mod .services-head,
.aydinlik-mod #services h4,
.aydinlik-mod #services p,
.aydinlik-mod .skill-name,
.aydinlik-mod .aboutme h3,
.aydinlik-mod .skills h3,
.aydinlik-mod #contact h2,
.aydinlik-mod footer p,
.aydinlik-mod header a,
.aydinlik-mod header li,
.aydinlik-mod .btn-cv-text,
.aydinlik-mod .project-a {
    color: #2f3640 !important;
    -webkit-text-fill-color: #2f3640 !important; 
    background: none !important;
}
.aydinlik-mod .project-card,
.aydinlik-mod #contact form input,
.aydinlik-mod #contact form textarea {
    background-color: #ffffff !important;
    color: #2f3640 !important;
    border: 2px solid #dcdde1 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}
.aydinlik-mod header {
background-color: transparent !important;
    
    background-color: rgba(255, 255, 255, 0.2) !important; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}
.aydinlik-mod .icon-css {
    color: #2f3640 !important;
}
.aydinlik-mod header a:hover,
.aydinlik-mod header button:hover,
.aydinlik-mod .icon-css:hover,
.aydinlik-mod .project-a:hover {
    color: rgb(50, 131, 238) !important; 
    -webkit-text-fill-color: rgb(50, 131, 238) !important;
}
.aydinlik-mod .btn-cv:hover {
    background-color: #2f3640 !important;
    border-color: #2f3640 !important;
}
.aydinlik-mod .btn-cv:hover .btn-cv-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}