/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gritty background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 40% 40%, rgba(0, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00; }
    to { text-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00, 0 0 80px #00ff00; }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #00ff00;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00ff00;
}

.cta-button:hover {
    background-color: #00cc00;
    box-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
    min-height: 50vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00ff00;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px #00ff00;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(30, 30, 30, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff00;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #b0b0b0;
}

/* About and Contact */
#about p, #contact p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

#contact .cta-button {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

/* Footer */
footer {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 2rem 0;
    border-top: 1px solid #333;
}

footer p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}