/* Sun icon color in dark theme */
body.dark-theme .sun-icon {
    color: #fde047; /* light yellow */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "JetBrains Mono", monospace;
    line-height: 1.6;
    color: #000000;
    background-color: #f5f5f5;
    transition: background 0.5s ease, color 0.5s ease;
}

body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

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

/* Header & Navigation */
header {
    background-color: #e0e0e0;
    padding: 1rem;
    border-bottom: 1px solid #d0d0d0;
    transition: all 0.3s ease;
}

body.dark-theme header {
    background-color: #2d2d2d;
    border-bottom-color: #404040;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

body.dark-theme .logo a {
    color: #ffffff;
}

.logo a:hover {
    text-decoration: underline;
}

.theme-toggle {
    margin-right: 2rem;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

body.dark-theme .theme-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sun-icon, .moon-icon {
    transition: all 0.3s ease;
}

/* Main Content */
main {
    padding: 2rem;
}

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

.introduction h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #4fc3f7;
}

.introduction p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

body.dark-theme .introduction p {
    color: #cccccc;
}

/* Projects Section */
.projects {
    margin-top: 2rem;
}

.projects h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #4fc3f7;
}

.projects ul {
    list-style: none;
    padding-left: 0;
}

.projects li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.projects li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #cccccc;
    font-size: 1.2rem;
}

body.dark-theme .projects li::before {
    color: #ffffff;
}

.projects li strong {
    font-weight: 600;
}

.projects li a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.projects li a:hover {
    color: #29b6f6;
    text-decoration: underline;
}

.project-description {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

body.dark-theme .project-description {
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .introduction h1 {
        font-size: 2rem;
    }
    
    .introduction p {
        font-size: 1.1rem;
    }
    
    .projects li {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .introduction h1 {
        font-size: 1.8rem;
    }
    
    .introduction p {
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
}
