/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles - dark theme */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0d0d0d;
    color: #e5e5e5;
    line-height: 1.6;
}

/* Main container - centered content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Header section - centered */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Avatar / profile image placeholder */
.avatar {
    width: 100px;
    height: 100px;
    background: #1e1e1e;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-image: url('images/favicon.png');
    background-size: cover;
    background-position: center;
    text-indent: -9999px;
}

/* Main title */
h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

/* Subtitle / tagline */
.tagline {
    color: #888;
    font-size: 1rem;
}

/* Card component - dark elevated container */
.card {
    background: #141414;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #252525;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect for cards */
.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Card headings */
.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #38bdf8;
    letter-spacing: -0.3px;
}

/* Card paragraph text */
.card p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Skills container - flex layout */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Individual skill tag */
.skill {
    background: #1e1e1e;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ccc;
    border: 1px solid #2a2a2a;
    user-select: none;
}

/* Project container */
.project {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #252525;
}

/* Remove border from last project */
.project:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Project title */
.project h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

/* Project metadata (language, status) */
.project-meta {
    font-size: 0.75rem;
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

/* Project GIF image */
.project-gif {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    margin: 0.75rem auto;
    border: 1px solid #2a2a2a;
    display: block;
    transition: transform 0.2s ease;
}

/* Hover effect for GIF */
.project-gif:hover {
    transform: scale(1.02);
}

/* Links container - flex layout */
.links {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Individual link button */
.link {
    background: #1e1e1e;
    color: #38bdf8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-decoration: none;
    border: 1px solid #2a2a2a;
    transition: background 0.2s;
}

/* Link hover effect */
.link:hover {
    background: #2a2a2a;
    color: #7dd3fc;
}

/* Project technology tags */
.project-tag {
    background: #1a1a1a;
    color: #888;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    user-select: none;
    border: 1px solid #252525;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid #1e1e1e;
    font-size: 0.75rem;
    color: #555;
}