/* --- RESET --- */

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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* --- HEADER --- */

header {
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* --- PROFILE PICTURE --- */

.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* --- SECTIONS --- */

section {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    text-align: center;
}

p, li {
    font-size: 1.1rem;
}

/* --- SKILLS LIST --- */

#skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#skills li {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- PROJECTS --- */

.project {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Make the entire project div act like a clean clickable card */

#projects a {
    text-decoration: none;
    color: inherit;
    display: block; /* makes the a-tag behave like a block element */
}

#projects a .project {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

/* Hover effect for the whole project card */

#projects a:hover .project {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* --- FOOTER --- */

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}