/* --- Root Variables for easy color changes --- */
:root {
    --primary-green: #00ff41;
    --dark-bg: #000000;
    --text-color: #eaeaea;
    --header-font: 'VT323', monospace;
    --body-font: 'Roboto Mono', monospace;
}

/* --- General Body & Reset --- */
body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* --- Matrix Canvas Background --- */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts it behind everything else */
    opacity: 0.3; /* Makes it subtle */
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--primary-green);
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.nav-logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--header-font);
    font-size: 1.5rem;
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 0 20px;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    color: var(--primary-green);
    text-shadow: 0 0 15px var(--primary-green);
    margin: 10px 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Content Sections --- */
.content-section {
    max-width: 900px;
    margin: 100px auto;
    padding: 20px;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--primary-green);
    border-radius: 5px;
}

.content-section h2 {
    font-family: var(--header-font);
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    border: 1px solid #333;
    padding: 20px;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.service-card h3 {
    font-family: var(--header-font);
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-top: 0;
}

/* --- Contact Form --- */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 12px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* --- Buttons & Footer --- */
.cta-button {
    background-color: var(--primary-green);
    color: var(--dark-bg);
    border: none;
    padding: 12px 25px;
    font-family: var(--header-font);
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    margin-top: 50px;
    font-size: 0.9rem;
}
