/* Genel arka plan ve font */
body {
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: radial-gradient(circle at 30% 30%, #23244a 0%, #18192b 100%);
    color: #e3e6f3;
    min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #18192b;
    padding: 24px 48px;
    padding-right: 48px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;

}

.navbar-content{
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.menu-icon{
    display: none;
    cursor: pointer;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e3e6f3;
}
.logo span {
    background: linear-gradient(90deg, #ff6875, #c65adc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    margin-right: 100px;
    padding: 0;
}
.nav-links a {
    color: #e3e6f3;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #7b8cff;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    padding: 64px 0 32px 0;
}

.hero-left {
    max-width: 520px;
}

.badge.available {
    display: inline-block;
    background: #222e3c;
    color: #3ee98a;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(62,233,138,0.08);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #e3e6f3;
}
.highlight {
    background: linear-gradient(90deg, #687cff, #a25adc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wave {
    font-size: 2.2rem;
    vertical-align: middle;
    animation: wave 1.5s infinite;
}
@keyframes wave {
    0%, 60%, 100% { transform: rotate(0deg);}
    10% { transform: rotate(18deg);}
    20% { transform: rotate(-12deg);}
    30% { transform: rotate(18deg);}
    40% { transform: rotate(-8deg);}
    50% { transform: rotate(18deg);}
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #bfc8e6;
    margin-bottom: 18px;
}

.hero-left p {
    font-size: 1.1rem;
    color: #bfc8e6;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.btn.primary {
    background: #7b8cff;
    color: #fff;
}
.btn.primary:hover {
    background: #5a6fdc;
}
.btn.secondary {
        width: 70%;
        padding: 12px;
    background: #23244a;
    color: #e3e6f3;
    border: 1px solid #7b8cff;
}
.btn.secondary:hover {
    background: #18192b;
    color: #7b8cff;
}
.btn.coffee {
    padding: 12px;
    background: #ff9100;
    color: #fff;
}
.btn.coffee:hover {
    background: #ffb84d;
    color: #23244a;
}

.location {
    margin-top: 12px;
    color: #7b8cff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #7b8cff;
    background: #23244a;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(123,140,255,0.12);
}


.about{
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    margin-top: 100px;
    background-color: #18192b;
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 10px 0 52px 0;
    min-height: 600px;
    flex-direction: column;
}

.about h2{
    font-size: 2.5rem;
    color: #e3e6f35b;
    margin-bottom: 24px;
    font-weight: 700;
}

.about-main{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 100px;

}

.about-card {
    max-width: 90%;
    background-color: rgb(15 23 42/.5);
    border: 1px solid #2e324c;
    padding: 24px;
    margin: 15px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    transition: background 0.3s ease;
}


.about-card h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e3e6f3;
    margin-bottom: 12px;
    gap: 10px;
}



.about-card p {
    font-size: 1rem;
    color: #bfc8e6;
    line-height: 1.5;
    margin-bottom: 16px;
}














.projects{
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 20px 0 32px 0;
    min-height: 800px;
    flex-direction: column;
}

.projects h2{
    text-align: center;
    font-size: 2.5rem;
    color: #e3e6f35b;
    margin-bottom: 24px;
    font-weight: 700;
}


.projects-main{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;

}


.github-card {
    max-width: 70%;
    width: 350px;
    height: 200px;
    background-color: rgba(15, 23, 42, 0.185);
    border: 1px solid #2e324c;
    padding: 24px;
    margin: px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    transition-duration: 0.5s;
    font-weight: 100;
}

.github-card:hover{
    transform: scale(1.1);
    box-shadow: 0 -2px 16px rgba(255, 255, 255, 0.12);
}

.github-card hr{
    background-color: #e3e6f300;
    border-top: 5px dotted #4b4b4b00;
    margin-bottom: 15px;
}

.github-card h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e3e6f35b; /* Adjusted color for better visibility */
    margin-bottom: 12px;
    gap: 10px;
}

.github-card h3 a {
    color: #e3e6f3;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.github-card p {
    font-size: 1rem;
    color: #bfc8e6;
    line-height: 1.5;
    margin-bottom: 16px;
}

.github-card .github-card-details {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #bfc8e6;
    margin-bottom: 16px;
}

.github-card .github-card-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.github-card .github-card-details .language svg {
    vertical-align: middle;
}

.github-card .github-card-update {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #bfc8e6;
}








.contact{
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    background-color: #18192b;
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 10px 0 52px 0;
    flex-direction: column;
}

.contact h2{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2.5rem;
    color: #e3e6f35b;
    margin-bottom: 24px;
    font-weight: 700;
}

.contact .contact-main h2{
    width: 100%;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
}


.contact .contact-main{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 100px;

}

.contact .contact-main .contact-left,.contact-right{
    
    max-width: 500px;
    background-color: rgba(15, 23, 42, 0.185);
    border: 1px solid #2e324c;
    padding: 24px;
    margin: 15px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    transition-duration: 0.5s;
    font-weight: 100;
    justify-content: space-between;
    
    display: flex;
    flex-wrap: wrap;
}

.contact .contact-main h2{
    font-size: 1.5rem;
}

.input{
    display: flex;
    flex-direction: column;
    gap: 9px;
}


input, textarea {
    padding: 12px 16px;
    border: 1px solid #2e324c;
    border-radius: 8px;
    background-color: rgba(15, 23, 42, 0.185);
    color: #e3e6f3;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.SubjectBox , .MessageBox{
    width: 100%;
}

input:focus , textarea:focus {
    outline: none;
    border-color: #4b4b4b;
}


label {
    font-size: 1rem;
    font-weight: 400;
    color: #e3e6f35b;
    margin-bottom: 4px;
}

.MessageBox textarea{
    resize: none;
    height: 100px;
}


.btn.sendMessage {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #68a4ff, #c65adc);
    color: #fff;
    transition-duration: 0.3s;
}
.btn.sendMessage:hover {
    background: linear-gradient(90deg, #c65adc,#68a4ff );
    color: #23244a;
}


.contact-right .btn{
    display: flex;
    gap: 8px;
    align-items: center;
    color: #ffffff8c;
    margin-top: 30px;
    border: #e3e6f35b 1px solid;
    width: 100%;
    transition-duration: 0.3s;
}

.contact-right .btn.Resume{
    background: linear-gradient(90deg, #ff9100, #ffb84d);
    color: #ffffff;
}


.contact-right .btn:hover{
    background: linear-gradient(90deg, #2a45bb5b, #c65adc);
    color: #ffffff;
}

.contact-right .btn.Resume:hover{
    background: #ffb84d;
    color: #23244a;
}



.footer {
    background: #10111d;
    color: #e3e6f3;
    padding: 32px 48px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer .social-links a {
    color: #e3e6f3;
    transition: color 0.3s;
}

.footer .social-links a:hover {
    color: #c65adc;
}



@media (max-width: 900px) {
    .navbar-content{
        width: 100%;
    }
    .menu-icon {
        padding: 0px;
        border-radius: 5px;
        display: block;
    }
    
    .hero {
        margin-top: 120px;
        flex-direction: column-reverse;
        gap: 32px;
        padding: 32px 30px;
    }
    .hero-left .available{
        display: none;
    }
    .hero-left h1 {
        font-size: 2rem;
    }
    .navbar {
        flex-direction: column;
        gap: 18px;
        padding: 18px 0;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        text-align: center;
        margin-right: 0;
        
    }
    .input{
        width: 100%;
    }
    .contact-main{
        flex-direction: column-reverse;
    }
    .projects-main{
        margin-bottom: 150px;
    }
}

 .custom-alert {
    width: 50%;
      display: none;
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: #ff4d4d;
      color: white;
      padding: 16px 24px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      font-family: sans-serif;
      z-index: 9999;
    }

    .custom-alert .close-btn {
      position: absolute;
      top: 6px;
      right: 10px;
      cursor: pointer;
      font-weight: bold;
      font-size: 18px;
    }