/* Global Styles & Dark Mode Setup */
:root {
    --primary-color: #310404; /* Deep Maroon/Black */
    --background-dark: #121212;
    --surface-dark: #1e1e1e;
    --text-light: #e0e0e0;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--text-light);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--surface-dark);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0 15px;
    display: block;
    transition: color 0.3s;
}

nav li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--surface-dark);
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #388e3c; /* Slightly darker green on hover */
}

/* --- General Sections --- */
.section-padding {
    padding: 80px 0;
    text-align: center;
}

.section-padding h2 {
    color: var(--text-light);
}

.bg-alt {
    background-color: var(--surface-dark);
}

/* --- Grid Layout (Services) --- */
.service-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.service-card {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* --- Form & Contact --- */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 30px auto 0;
}

input[type="text"], input[type="email"] {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #2a2a2a;
    color: var(--text-light);
    font-size: 1em;
}

/* --- Footer --- */
footer {
    background-color: var(--surface-dark);
    color: var(--text-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
}

/* --- Responsiveness (Basic) --- */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden by default on mobile */
        text-align: center;
        background-color: var(--surface-dark);
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3);
    }

    nav ul.active {
        display: flex;
    }

    nav li a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: block; /* Show menu button on mobile */
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        max-width: 100%;
    }

    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}
