/* Hack Font Setup */
@font-face {
    font-family: 'Hack';
    src: url('fonts/hack/web/fonts/hack-regular.woff2') format('woff2'),
         url('fonts/hack/web/fonts/hack-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('fonts/hack/web/fonts/hack-bold.woff2') format('woff2'),
         url('fonts/hack/web/fonts/hack-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('fonts/hack/web/fonts/hack-italic.woff2') format('woff2'),
         url('fonts/hack/web/fonts/hack-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('fonts/hack/web/fonts/hack-bolditalic.woff2') format('woff2'),
         url('fonts/hack/web/fonts/hack-bolditalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hack', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Navigation */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#nav a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b0b0b0;
}

#nav a:hover,
#nav a.active {
    color: #ffffff;
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.subtitle {
    font-size: 1rem;
    color: #888888;
    margin-bottom: 0.5rem;
}

.subtitle a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
}

.subtitle a:hover {
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

.social-links {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #666666;
}

.social-links a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
}

.social-links span {
    margin: 0 0.5rem;
}

/* Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* About Section */
.about-content {
    color: #b0b0b0;
}

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.button:hover {
    background-color: #ffffff;
    color: #0a0a0a;
    opacity: 1;
}

/* Resume Section */
.resume-item {
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.resume-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.resume-item .info {
    font-size: 0.875rem;
    color: #888888;
    margin-bottom: 0.75rem;
}

.resume-item .info span {
    margin: 0 0.5rem;
}

.resume-item .info em {
    font-style: normal;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: all 0.2s ease;
}

.portfolio-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.02);
}

.portfolio-item a {
    display: block;
    color: inherit;
}

.portfolio-item h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.portfolio-item p {
    font-size: 0.875rem;
    color: #888888;
    margin: 0;
}

/* Contact Section */
.contact-content {
    color: #b0b0b0;
    text-align: center;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666666;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

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

    #nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.75rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

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

    .subtitle {
        font-size: 0.875rem;
    }
}

