* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #09090c;
    color: #f4f4f5;
    line-height: 1.6;
}

/* ===== HEADER ===== */

header {
    background: linear-gradient(170deg, #181824, #07070a);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #222;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #a78bfa;
    letter-spacing: 1px;
}

header p {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #b5b5c3;
}

/* ===== NAVIGATION ===== */

nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 18px;
    background: #12121a;
}

nav a {
    text-decoration: none;
    color: #f4f4f5;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    color: #a78bfa;
}

nav a.cv {
    background: #7c3aed;
    color: #ffffff;
    padding: 3px 13px;
    border-radius: 25px;
    transition: 0.3s ease;
}

nav a.cv:hover {
    background: #a78bfa;
    color: #09090c;
}

/* ===== SECTIONS ===== */

section {
    padding: 80px 10%;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 40px;
    color: #a78bfa;
    font-size: 2rem;
    font-weight: 500;
}

/* ===== PROJECTS ===== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    justify-items: center;
}

.project-card {
    background: #181824;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #242436;
    transition: transform 0.3s ease, border 0.3s ease;
    max-width: 800px;
}

.project-card:hover {
    transform: translateY(-6px);
    border: 1px solid #7c3aed;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(15%);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.45rem;
}

.project-content h4 {
    margin-bottom: 10px;
    color: #fcebff;
    font-weight: 500;
    font-size: 1.1rem;
}


.project-content p {
    font-size: 0.95rem;
    color: #b5b5c3;
}


.last-projects {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
/* ===== SKILLS ===== */

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    background: #15151f;
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid #242436;
    max-width: 60%;
    margin: 0 auto;
}

.skill {
    background: #2c2c42;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #2a2a40;
    font-size: 0.85rem;
    transition: 0.3s ease;
}

.skill:hover {
    border: 1px solid #7c3aed;
    color: #ffffff;
}

/* ===== BUTTON ===== */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: #7c3aed;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn:hover {
    background: #a78bfa;
    color: #0f0f14;
}

/* ===== FOOTER ===== */

footer {
    text-align: center;
    padding: 35px;
    background: #12121a;
    font-size: 0.9rem;
    color: #777792;
}