/* Variables for easy color changes */
:root {
    --primary: #0658b0;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fefdfd;
    --white: #fefdfd;
    --border: #dddddd;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu Burger */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px;
}

/* Container & Sections */
.container {
    padding: 5rem 10%;
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* About Section */
.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 8rem;
}

.profile-container {
    flex: 1;
    text-align: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    background-color: #eee;
}

.about-text {
    flex: 2;
}

.about-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-small {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.project-card {
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

/* List Items */
.list-item {
    background: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-dark);
    color: var(--white);
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .header-section {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--bg-light);
    }

    .burger {
        display: block;
    }
}