/* Reset and base styles for accessibility and consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header and navigation */
header {
    background-color: #2e7d32; /* Earthy green for a handyman/painting vibe */
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}

nav a:hover,
nav a:focus {
    background-color: #1b5e20; /* Darker green for hover/focus */
    border-radius: 0.25rem;
}

nav a[aria-current="page"] {
    background-color: #1b5e20;
    border-radius: 0.25rem;
}

/* Main content */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

section p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Call-to-action button */
.cta-button {
    display: inline-block;
    background-color: #d81b60; /* Vibrant pink for contrast, suggesting paint */
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #b71c1c; /* Darker shade for hover/focus */
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        display: block;
        padding: 0.75rem;
    }

    section h2 {
        font-size: 1.25rem;
    }

    section p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
    nav a,
    .cta-button {
        transition: none;
    }
}