/* Global styles */
:root {
    --dark-bg: #121212;
    --header-bg: #202020;
    --text-color: #e0e0e0;
    --accent-color: #4caf50;
    --header-height: 60px;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 0 20px;
}

.menu-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    z-index: 102;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--text-color);
    text-decoration: none;
}

/* Navigation menu */
.nav-container {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: var(--dark-bg);
    transition: left 0.3s ease;
    z-index: 101;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.nav-container.open {
    left: 0;
}

.nav-menu {
    padding-top: calc(var(--header-height) + 20px);
    list-style-type: none;
}

.nav-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-color);
}

/* Main content */
.content {
    margin-top: calc(var(--header-height) + 20px);
    padding: 20px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-image {
    max-width: 500px;
    width: 90%;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
}

.center-image img {
    width: 100%;
    display: block;
}

.text-module {
    max-width: 700px;
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Project links */
.project-link {
    display: block;
    padding: 15px;
    margin: 10px 0;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s, transform 0.2s;
}

.project-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .center-image {
        max-width: 90%;
    }
}

/* Overlay for when menu is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99;
}

.overlay.show {
    display: block;
}


/* Footer styles */
.site-footer {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    margin-top: 40px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
}

.copyright {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}