:root {
    /* Light theme variables */
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-color: #333333;
    --text-secondary: #6c757d;
    --accent: #0066ff;
    --border: #e0e0e0;
}

.dark {
    /* Dark theme variables */
    --bg-color: #121212;
    --bg-secondary: #1e1e1e;
    --text-color: #e0e0e0;
    --text-secondary: #b0b0b0;
    --accent: #64ffda;
    --border: #333333;
}

/* Base Styles */
body {
    background-color: #ffffff;
    color: #e0e0e0;
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #b0b0b0;
}

a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background-color: #1e1e1e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #64ffda;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.primary-button,
.secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.primary-button {
    background-color: #64ffda;
    color: white;
    border: none;
}

.secondary-button {
    background-color: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #121212;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #64ffda;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
    background-color: #1e1e1e;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background-color: #121212;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.skill-bar {
    height: 10px;
    background-color: #1e1e1e;
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #64ffda;
    border-radius: 5px;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background-color: #121212;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background-color: #121212;
    color: #b0b0b0;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

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

.project-link {
    color: #64ffda;
    font-weight: 500;
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background-color: #1e1e1e;
}

/* Footer */
footer {
    background-color: #1e1e1e;
    padding: 2rem 0;
    border-top: 1px solid #333333;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #121212;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s;
        z-index: 99;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}