﻿/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fc, #eef1f7);
    color: #333;
}

/* HEADER */
header {
    background: linear-gradient(120deg, #dfe9f3, #c3cfe2, #a1c4fd);
    color: #6a11cb;;
    padding: 40px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

    header h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
        background: linear-gradient(90deg, #6a11cb, #2575fc);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shine 6s infinite linear;
        background-size: 200%;
    }

@keyframes shine {
    from {
        background-position: 0%
    }

    to {
        background-position: 200%
    }
}

header p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
}

header nav a {
    margin: 0 15px;
    color: #6a11cb;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

    header nav a::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        background: #1abc9c;
        left: 0;
        bottom: -4px;
        transition: width 0.3s;
    }

    header nav a:hover {
        color: #1abc9c;
    }

        header nav a:hover::after {
            width: 100%;
        }

/* SECTIONS */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* PROJECTS */
.project {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .project:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    .project h3 {
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .project a {
        display: inline-block;
        margin-top: 10px;
        color: #2575fc;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

        .project a:hover {
            color: #1abc9c;
        }

/* SKILLS */
#skills ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 0;
}

#skills li {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* CONTACT */
#contact a {
    color: #2575fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

    #contact a:hover {
        color: #1abc9c;
    }

/* FOOTER */
footer {
    text-align: center;
    background: #1a2533;
    color: white;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
