/* Professional Industrial Color Scheme */
:root {
    --primary-dark: #2B353E;   /* Dark slate - for headers/footers */
    --primary-main: #3A4A5D;   /* Muted navy-slate */
    --primary-light: #4E5D6C;  /* Lighter slate */
    
    --secondary-dark: #8C6A3D;  /* Dark bronze */
    --secondary-main: #B38B4D;  /* Warm bronze - primary accent */
    --secondary-light: #D4B57D; /* Light bronze */
    
    --accent-dark: #5A6A7A;    /* Dark steel */
    --accent-main: #7D8FA1;    /* Steel blue - secondary accent */
    --accent-light: #A0B1C1;   /* Light steel */
    
    --text-dark: #1A1A1A;      /* Almost black for text */
    --text-medium: #3D3D3D;    /* Dark gray */
    --text-light: #F5F5F5;     /* Off-white for light backgrounds */
    
    --shadow-color: rgba(43, 53, 62, 0.15);
    --border-radius: 4px;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    letter-spacing: -0.5px;
    color: #d4b57d;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-main);
}

h3 {
    font-size: 1.25rem;
    color: var(--primary-main);
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    color: var(--text-light);
    padding: 1.75rem 0;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.trust-signal {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0.75rem 0 1.5rem;
    color: var(--accent-light);
}

/* Navigation */
nav {
    background-color: var(--primary-main);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px var(--shadow-color);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-main);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    padding: 3rem 0;
    background-color: var(--text-light);
}

.hero-content {
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.shadow-effect {
    box-shadow: 0 4px 12px var(--shadow-color);
    border-radius: var(--border-radius);
    display: block;
    max-width: 100%;
    height: auto;
}

/* Services Grid */
#services {
    padding: 3rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

article {
    background-color: var(--text-light);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-main);
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

/* About Section */
#about {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

#about ul {
    margin: 1.75rem 0;
    padding-left: 1.5rem;
    list-style-type: none;
}

#about li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
}

#about li::before {
    content: '•';
    color: var(--secondary-main);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* Coverage Section */
#coverage {
    padding: 3rem 0;
    background-color: white;
}

#coverage ul {
    margin: 1.75rem 0;
    padding-left: 1.5rem;
    columns: 2;
    column-gap: 2rem;
}

#coverage li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    color: var(--text-light);
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

footer a {
    color: var(--secondary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-main);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 3px 8px rgba(179, 139, 77, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(179, 139, 77, 0.4);
}

.cta-button.secondary {
    background-color: var(--accent-main);
    box-shadow: 0 3px 8px rgba(125, 143, 161, 0.3);
}

.cta-button.secondary:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 5px 12px rgba(125, 143, 161, 0.4);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-main);
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--shadow-color);
}

.mobile-sticky-cta .cta-button {
    width: 100%;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        margin-bottom: 0;
        flex: 1;
    }

    #hero .container {
        display: flex;
        align-items: center;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #coverage ul {
        columns: 3;
    }
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    #coverage ul {
        columns: 1;
    }
}

/* Accessibility Enhancements */
a:focus-visible,
button:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid var(--secondary-light);
    outline-offset: 3px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}