/* --- Core Styles & Variables (DeWalt Yellow & Black Theme) --- */
:root {
    --bg-dark: #000000; /* Black */
    --bg-light: #1A1A1A; /* Dark Grey for contrast */
    --text-light: #F5F5F5; /* Off-White */
    --accent-yellow: #FFB81C; /* DeWalt Yellow */
    --accent-yellow-darker: #fca600; /* Darker Yellow for hover */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout & Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3 {
    line-height: 1.2;
    color: var(--accent-yellow);
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: 25px; }
h3 { font-size: 1.4rem; color: var(--text-light); }
p { margin-bottom: 1rem; }
a { color: var(--accent-yellow); text-decoration: none; }
a:hover { color: var(--accent-yellow-darker); }

/* --- Header --- */
.site-header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid var(--accent-yellow);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}
.site-header .phone-number a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}
.site-header .phone-number a:hover {
    color: var(--accent-yellow-darker);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}
.hero-text h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Sections --- */
section { padding: 60px 0; }
section:nth-of-type(odd) { background-color: var(--bg-light); }

/* --- Services --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.service-item {
    background: #111;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.service-item h3 { margin-bottom: 10px; }

/* --- Why Us Section --- */
.why-us ul {
    list-style: none;
    padding-left: 0;
}
.why-us li {
    font-size: 1.1rem;
    padding: 10px 0 10px 30px;
    position: relative;
}
.why-us li::before {
    content: '✔'; /* Checkmark for accessibility */
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
    top: 10px;
    font-weight: bold;
}

/* --- Testimonials --- */
.testimonial {
    background: #111;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-yellow);
}
.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    border: none;
    padding: 0;
}
.testimonial cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    color: var(--text-light);
}

/* --- Call to Action (CTA) --- */
.cta { text-align: center; }
.cta-phone a {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--bg-dark); /* Black text on yellow button */
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}
.cta-phone a:hover { background-color: var(--accent-yellow-darker); }

/* --- Footer --- */
.site-footer {
    background: var(--bg-light);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #bdc3c7;
    border-top: 3px solid #333;
}
.footer-link {
    font-size: 0.7rem; /* Make it small and less noticeable */
    color: #7f8c8d; /* Low contrast color */
    text-decoration: none;
    opacity: 0.6;
}
.footer-link:hover { opacity: 1; }

/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .site-header .container {
        flex-direction: column;
        gap: 10px;
    }
    .site-header .phone-number a {
        font-size: 1.8rem;
    }
    .hero { height: 40vh; }
}