/* Accurate Striping & Painting - Global Styles */

:root {
    --primary-yellow: #f9c80e; /* Safety Yellow */
    --dark-bg: #111111;
    --light-bg: #ffffff;
    --gray-bg: #f4f4f4;
    --text-main: #333333;
    --text-muted: #666666;
    --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--primary-yellow); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 80px 0; }
.section-gray { background-color: var(--gray-bg); }

/* Header & Nav */
header {
    background: var(--dark-bg);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-yellow);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li { margin-left: 25px; }
nav ul li a { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }
nav ul li a:hover { color: var(--primary-yellow); }

.btn-nav {
    background: var(--primary-yellow);
    color: var(--dark-bg) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 800 !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary { background: var(--primary-yellow); color: var(--dark-bg); }
.btn-primary:hover { background: #e0b40d; transform: translateY(-2px); }

.btn-outline { border: 2px solid var(--primary-yellow); color: var(--primary-yellow); background: transparent; }
.btn-outline:hover { background: var(--primary-yellow); color: var(--dark-bg); }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('./images/hero.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0;
    text-align: center;
}

.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 800px; margin-left: auto; margin-right: auto; color: #ddd; }

/* Grid Systems */
.grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }

/* Service Cards */
.card {
    background: white;
    padding: 40px;
    border-radius: 4px;
    border-bottom: 5px solid var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h3 { margin-bottom: 15px; font-size: 1.25rem; }

/* Contact Form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo { margin-bottom: 25px; font-weight: 900; font-size: 1.6rem; color: var(--primary-yellow); }
.footer-links h4 { color: var(--primary-yellow); margin-bottom: 25px; font-size: 1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; font-size: 0.95rem; color: #ccc; }
.footer-links ul li a:hover { color: var(--primary-yellow); }

.footer-bottom { border-top: 1px solid #222; padding-top: 30px; text-align: center; font-size: 0.85rem; color: #777; }

@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .nav-container { flex-direction: column; text-align: center; }
    nav ul { margin-top: 25px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 8px 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    section { padding: 60px 0; }
}