/* CSS Variables for C64 Professional Aesthetic */
:root {
    --c64-blue: #4040E0;
    --c64-light-blue: #A0A0FF;
    --bg-color: #FFFFFF;
    --text-color: #111111;
    --text-light: #555555;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, .logo, .section-heading, code, .card-icon {
    font-family: var(--font-mono);
}

a {
    color: var(--c64-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--c64-light-blue);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background-color: var(--c64-blue);
    color: var(--bg-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid var(--c64-light-blue);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--bg-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--c64-light-blue);
}

.lang-selector {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.lang-selector a {
    color: var(--bg-color);
}

.lang-selector .active {
    color: var(--c64-light-blue);
    font-weight: bold;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid #eee;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--c64-blue);
}

.cursor {
    animation: blink 1s step-end infinite;
    font-weight: bold;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--c64-blue);
    color: var(--bg-color);
    font-family: var(--font-mono);
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border: 2px solid var(--c64-blue);
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: var(--c64-light-blue);
    border-color: var(--c64-light-blue);
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #fafafa;
}

.section-heading {
    font-size: 1.5rem;
    color: var(--c64-blue);
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--c64-blue);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-color);
    padding: 2rem;
    border: 1px solid #ddd;
    border-top: 4px solid var(--c64-blue);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--c64-light-blue);
}

.card-icon {
    font-size: 1.2rem;
    color: var(--c64-light-blue);
    margin-bottom: 1rem;
    font-weight: bold;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--c64-blue);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

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

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about code {
    background-color: #f4f4f4;
    color: var(--c64-blue);
    padding: 0.2rem 0.4rem;
    font-size: 0.95rem;
    border: 1px solid #ddd;
}

/* Footer */
.footer {
    background-color: var(--c64-blue);
    color: var(--bg-color);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--c64-light-blue);
    font-family: var(--font-mono);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-tagline {
    color: var(--c64-light-blue);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--c64-light-blue);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--c64-light-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
