/* ===================================
   Waller Concrete Co - Global Styles
   Mobile-First Responsive Design
   =================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #eda425;
    --primary-dark: #c16d34;
    --secondary-color: #7b7e7ebe;
    --accent-color: #f39b4e;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dfe6e9;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    background: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 20px 0.25rem 4px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: block;
    line-height: 0;
}

.logo img {
    height: 225px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 135px;
    width: auto;
    margin-bottom: 1rem;
}

/* Navigation */
.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav ul {
    list-style: none;
}

.main-nav a {
    color: var(--bg-white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs li:last-child::after {
    content: '';
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
}

.hero-home {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/waller-concrete-co-hero.jpg') center/cover no-repeat;
    padding: 4rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-home .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-home h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-home p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.phone-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.phone-link:hover {
    color: var(--primary-dark);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1rem -2rem;
}

/* Location Cards */
.location-card {
    background: var(--bg-light);
}

/* CTA Blocks */
.cta-block {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.cta-block h2,
.cta-block h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.required::after {
    content: ' *';
    color: #e74c3c;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* Trust Indicators */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    background: var(--bg-light);
}

.trust-badge {
    text-align: center;
    padding: 1rem;
}

.trust-badge-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-badge h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.trust-badge p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* FAQ */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* Map Container */
.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--bg-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-note {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.content-wrapper {
    padding: 2rem 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

/* Sticky Mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.sticky-cta a {
    color: var(--bg-white);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
        color: var(--text-dark);
    }
    
    .main-nav a:hover {
        color: var(--primary-color);
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
        color: var(--text-dark);
    }
    
    .dropdown-menu a:hover {
        background: var(--bg-white);
        color: var(--primary-color);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .sticky-cta {
        display: block;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 4rem 0;
    }
}
