//* General Reset */
* { margin: 0; padding: 0; box-box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0b0b0b;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 { font-family: 'Orbitron', sans-serif; text-transform: uppercase; color: #ff3131; }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
	box-sizing: border-box; /* Crucial: ensures padding is included in width calculation */
}
.logo-container { display: flex; align-items: center; }
.logo-container img { height: 90px; margin-right: 15px; }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 10px; }
nav ul li { margin-right:15px; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; transition: 0.3s; }
nav ul li a:hover { color: #ff3131; }

/* Hero Section */
.hero {
    height: 100vh;
    /* The linear-gradient acts as a "dark mode" filter over the image */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4)), url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates a parallax scrolling effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }

/* Responsive Services Grid */
.services { padding: 80px 10% 40px; text-align: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    padding: 30px;
    border: 1px solid #333;
    background: #151515;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-10px); border-color: #ff3131; }

/* Contact Form */
.contact { padding: 80px 10%; background: #0f0f0f; }
form { max-width: 600px; margin: auto; display: flex; flex-direction: column; }
input, textarea {
    padding: 15px; margin-bottom: 15px;
    background: #222; border: 1px solid #444; color: white;
}
.btn {
    background: #ff3131; color: white; padding: 15px 30px;
    border: none; cursor: pointer; text-decoration: none; font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    nav ul { display: none; } /* Consider adding a burger menu here later */
}

.success-msg {
    color: #2ecc71;
    border-color: #2ecc71 !important;
    background: rgba(46, 204, 113, 0.1);
}

.error-msg {
    color: #ff3131;
    border-color: #ff3131 !important;
    background: rgba(255, 49, 49, 0.1);
}