:root {
    --primary: #4f46e5;
    --text: #1f2937;
    --bg: #ffffff;
    --bg-light: #f9fafb;
}

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

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    background: white;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Home */
.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.home-text h1 span {
    color: var(--primary);
}

.socials a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--primary);
}

/* Avatar */
.home-avatar img {
    width: 100%;
    max-width: 320px;
    border-radius: 50%;
    margin: auto;
    display: block;
}

/* About */
.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.about-info i {
    color: var(--primary);
    margin-right: 8px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.skill-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.icon-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav {
        position: absolute;
        top: 64px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
    }

    .nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
