@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
}

/* HEADER */
header {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 1s ease;
}

nav {
    width: 90%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* MENU */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: 0.3s;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00e5ff;
    left: 0;
    bottom: -5px;
    transition: 0.4s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #00e5ff;
}

/* MAIN */
main {
    width: 90%;
    margin: 60px auto;
    animation: fadeIn 1.5s ease;
}

/* SECTIONS */
section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(8px);
    transition: transform 0.4s, box-shadow 0.4s;
}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.2);
}

section h2 {
    margin-bottom: 15px;
    font-weight: 500;
}

section p,
section ul li {
    opacity: 0.9;
}

/* LIST */
section ul {
    margin-left: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
section h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 2px;
    background: #00e5ff;
    border-radius: 5px;
}

/* Paragraflara daha rahat okuma */
section p {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 10px;
}

/* İlgi alanları listesi biraz daha modern */
section ul li {
    padding-left: 10px;
    position: relative;
}

section ul li::before {
    content: "▹";
    position: absolute;
    left: -10px;
    color: #00e5ff;
}

/* Sayfa açılışında kartlara gecikmeli animasyon hissi */
section {
    animation: fadeUp 1.2s ease both;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.4s;
}

/* Ek animasyon */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
main section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
    padding: 0;
}

/* Tek tek ödev kartları */
main section ul li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeUp 1s ease both;
}

/* Kart hover efekti */
main section ul li:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.25);
}

/* Link görünümü */
main section ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

/* Link hover rengi */
main section ul li:hover a {
    color: #00e5ff;
}

/* Kartlara sıralı animasyon gecikmesi */
main section ul li:nth-child(1) { animation-delay: 0.1s; }
main section ul li:nth-child(2) { animation-delay: 0.2s; }
main section ul li:nth-child(3) { animation-delay: 0.3s; }
main section ul li:nth-child(4) { animation-delay: 0.4s; }
main section ul li:nth-child(5) { animation-delay: 0.5s; }
main section ul li:nth-child(6) { animation-delay: 0.6s; }
main section ul li:nth-child(7) { animation-delay: 0.7s; }
main section ul li:nth-child(8) {
    animation-delay: 0.8s;
}