:root {
    --primary: #F4F4F4;
    --secondary: #028090;
    --accent: #00BFB2;
    --accent2: #EC9A29; 
    --background: #FAFAFA;
    --text: #1e1e1e;
    --navbar: #E8E8E8;
    --nav-width: 200px;
}

a
{
    color: var(--accent2)
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background-color: var(--background);
    color: var(--text);
    display: flex;
}

nav {
    background-color: var(--navbar);
    width: var(--nav-width);
    height: 100vh;
    position: fixed;
    padding: 2rem;
    border-right: 2px solid var(--primary);
}

.nav-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.nav-header h1 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.nav-header p {
    color: var(--text);
    font-size: 0.9rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0;
}

nav a:hover {
    color: var(--accent);
    background-color: var(--primary);
    transform: translateX(5px);
}

main {
    margin-left: var(--nav-width);
    flex-grow: 1;
    padding: 2rem;
    max-width: 1200px;
}

.section-title {
    color: var(--accent);
    margin: 2rem 0;
    font-size: 2rem;
}

.project-card {
    background-color: var(--primary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    transition: transform 0.3s;
}

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

.project-image {
    width: 400px;
    height: 300px;
    min-height: 300px;
    object-fit: cover;
}

.project-content {
    padding: 2rem;
}

.project-title {
    color: var(--accent2);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.contact-section {
    text-align: center;
    margin-top: 4rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.3s;
}

.button:hover {
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary);
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    nav {
        position: static;
        width: 100%;
        height: auto;
    }

    main {
        margin-left: 0;
        padding: 1.5rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}