/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-theme {/* Reset styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        transition: background-color 0.3s, color 0.3s;
    }
    
    body.dark-theme {
        background-color: #333;
        color: #fff;
    }
    
    header {
        background: #333;
        color: #fff;
        padding: 1rem;
        position: sticky;
        top: 0;
        z-index: 999;
        transition: background-color 0.3s;
    }
    
    header.scrolled {
        background: #555;
    }
    
    .logo img {
        height: 50px;
        width: auto;
    }
    
    .nav-links {
        list-style: none;
        display: flex;
        justify-content: flex-end;
    }
    
    .nav-links li {
        margin-right: 1rem;
        transition: transform 0.3s, opacity 0.3s;
    }
    
    .nav-links li a,
    .nav-links li button {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .nav-links li a:hover,
    .nav-links li button:hover {
        color: #ff6347;
    }
    
    body.dark-theme .nav-links li a,
    body.dark-theme .nav-links li button {
        color: #fff;
    }
    
    body.dark-theme .nav-links li a:hover,
    body.dark-theme .nav-links li button:hover {
        color: #ff6347;
    }
    
    .section {
        padding: 2rem;
        background: #fff;
        margin-bottom: 1rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
    }
    
    .section h2 {
        color: #333;
    }
    
    .section:nth-child(even) {
        background: #f9f9f9;
    }
    
    body.dark-theme .section {
        background: #444;
        color: #fff;
    }
    
    body.dark-theme .section h2 {
        color: #fff;
    }
    
    body.dark-theme .section:nth-child(even) {
        background: #333;
    }
    
    .content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    button {
        background: #333;
        color: #fff;
        border: none;
        padding: 0.5rem 1rem;
        cursor: pointer;
        margin-top: 1rem;
        transition: background-color 0.3s;
    }
    
    button:hover {
        background: #555;
    }
    
    body.dark-theme button {
        background: #222;
        color: #fff;
    }
    
    body.dark-theme button:hover {
        background: #444;
    }
    
    progress {
        width: 100%;
        height: 20px;
        margin-top: 0.5rem;
    }
    
    footer {
        background: #333;
        color: #fff;
        padding: 1rem;
        text-align: center;
    }
    
    body.dark-theme footer {
        background: #222;
    }
    
    .social-icons {
        margin-top: 1rem;
    }
    
    .social-icons a {
        margin: 0 0.5rem;
    }
    
    .social-icons img {
        width: 24px;
        height: 24px;
        transition: transform 0.3s;
    }
    
    .social-icons img:hover {
        transform: scale(1.2);
    }
    
    .profile-picture {
        display: block;
        margin: 0 auto;
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 1rem;
    }
    
    body.dark-theme .profile-picture {
        border: 2px solid #fff;
    }
    
    /* Mobile menu styles */
    @media (max-width: 768px) {
        .nav-links {
            flex-direction: column;
            align-items: center;
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 100%;
            background: #333;
            z-index: 998;
            overflow-y: auto;
            transform: translateY(-100%);
            transition: transform 0.3s ease-in-out;
        }
    
        .nav-links.active {
            transform: translateY(0);
        }
    
        .nav-links li {
            margin-right: 0;
            margin-bottom: 1rem;
        }
    }
    
    .project-details {
        display: none;
        margin-top: 1rem;
        transition: all 0.3s;
    }
    
    .project-details img {
        max-width: 100%;
        height: auto;
        margin-top: 1rem;
    }
    
    background-color: #333;
    color: #fff;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background-color 0.3s;
}

header.scrolled {
    background: #555;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li {
    margin-right: 1rem;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-links li a,
.nav-links li button {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li button:hover {
    color: #ff6347;
}

body.dark-theme .nav-links li a,
body.dark-theme .nav-links li button {
    color: #fff;
}

body.dark-theme .nav-links li a:hover,
body.dark-theme .nav-links li button:hover {
    color: #ff6347;
}

.section {
    padding: 2rem;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.section h2 {
    color: #333;
}

.section:nth-child(even) {
    background: #f9f9f9;
}

body.dark-theme .section {
    background: #444;
    color: #fff;
}

body.dark-theme .section h2 {
    color: #fff;
}

body.dark-theme .section:nth-child(even) {
    background: #333;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

button {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background: #555;
}

body.dark-theme button {
    background: #222;
    color: #fff;
}

body.dark-theme button:hover {
    background: #444;
}

progress {
    width: 100%;
    height: 20px;
    margin-top: 0.5rem;
}

footer {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

body.dark-theme footer {
    background: #222;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    margin: 0 0.5rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.profile-picture {
    display: block;
    margin: 0 auto;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

body.dark-theme .profile-picture {
    border: 2px solid #fff;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: #333;
        z-index: 998;
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.project-details {
    display: none;
    margin-top: 1rem;
    transition: all 0.3s;
}

.project-details img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
}
