@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Roboto+Mono:wght@400;700&display=swap');

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

body {
    background: #1a1a1a;
    color: #d4d4d4;
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #2a2a2a;
    border: 1px solid #404040;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero {
    padding: 60px 40px;
    border-bottom: 1px solid #404040;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    text-align: right;
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.lang-toggle {
    background: #1a1a1a;
    border: 1px solid #404040;
    color: #d4d4d4;
    padding: 10px 10px 10px 10px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-toggle:hover {
    background: #404040;
    border-color: #666;
}

.section {
    padding: 40px;
    border-bottom: 1px solid #404040;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #404040;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    background: #1a1a1a;
    border: 1px solid #404040;
    padding: 25px;
    transition: all 0.2s;
}

.project-card:hover {
    border-color: #666;
    background: #222;
}

.project-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.project-card p {
    color: #999;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-tag {
    background: #2a2a2a;
    border: 1px solid #404040;
    color: #d4d4d4;
    padding: 4px 12px;
    font-size: 0.75rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-item {
    background: #1a1a1a;
    border: 1px solid #404040;
    padding: 20px;
    text-align: center;
    align-content: center;
    transition: all 0.2s;
}

.skill-item:hover {
    border-color: #666;
    background: #222;
}

.skill-item h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.skill-item p {
    color: #888;
    font-size: 0.85rem;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-text p {
    color: #999;
    margin-bottom: 15px;
}

.about-info {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #404040;
    padding: 20px;
}

.info-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.info-label {
    color: #888;
}

.info-value {
    color: #d4d4d4;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-item {
    background: #1a1a1a;
    border: 1px solid #404040;
    padding: 20px;
    text-align: center;
}

.contact-item h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-item a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
}

.contact-item a:hover {
    color: #d4d4d4;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        text-align: center;
    }

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: column;
    }

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