/* İleride kullanılacak card css kısmı, değiştirilebilir. */
/* Hata oldu ama asla duzeltemedim.*/

.project-card,
.skill-card {
    background: #ffffff;
    border-radius: 20px; 
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
    /* tilted efekti için */

    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.project-card:hover,
.skill-card:hover {
    /*  transform: translateY(-10px) scale(1.02); geçici olarak devre disi aliyorum cünkü hata veriyor */
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.project-card img {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Grid kullanılarak kolaylaştırıldı hem de projede grid de kullanmış olmak için kullandım. */
.projects-grid,
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Biraz daha genişletildi */
    gap: 2.5rem;
    margin-top: 3rem;
}

.btn {

    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    background-size: 200% auto; 
    color: white;
    text-decoration: none;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); 
    position: relative;
    overflow: hidden;

}

.btn:hover {
    transform: translateY(-3px);
     background-position: right center; 
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5); 

}


.btn:active {
    transform: translateY(-1px);

}

.text-center { text-align: center; }
.py-4 { padding: 4rem 0; }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }
.mx-auto-600 { max-width: 600px; margin: 0 auto; }

.typewriter-wrapper {

    min-height: 1.5em;
    font-size: 1.3rem;
    color: #4f46e5; 
    font-weight: 700;
    margin-top: 1rem;

}

.student-id {
    display: block;
    margin-bottom: 10px;
    color: #6366f1;
    font-weight: bold;
    letter-spacing: 1px;

}

.subtitle {
    opacity: 0.8;
    font-size: 1.1rem;
}

.btn-outline {

    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
    margin-left: 10px;
    box-shadow: none;

}

.btn-outline:hover {
    background: #6366f1;
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);

}

.socials {

    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;

}

.socials a {

    color: #475569;
    font-weight: 600;
    padding: 0.8rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;

}

.socials a:hover {
    color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #4f46e5;
}

.nav-links a.active-link {
    color: #667eea;
    font-weight: bold;

}

.nav-links a.active-link::before {
    width: 100%;
}