/* ============================================================
   Dawson's Recycling & Disposal, Inc. — Legacy Pages Stylesheet
   Matches DudaMobile/DudaOne (2024) visual design
   Color palette from Duda theme:
     --color_1: #0394C8 (primary blue)
     --color_2: #4F9CD1 (secondary blue)
     --color_3: #B7D6EC (light blue)
     --color_4: #000000 (black)
     --color_5: #FFFFFF (white)
     --color_6: #EAF2F6 (very light blue-grey)
   Fonts: Epilogue (headings), Source Sans Pro (body)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans Pro', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0394C8; text-decoration: none; }
a:hover { color: #026d94; text-decoration: underline; }

/* ---------- Container ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Site Header ---------- */
.site-header {
    background: #1a1a1a;
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.header-contact {
    font-size: 0.85rem;
    color: #ccc;
}

.header-contact a {
    color: #4F9CD1;
    font-weight: 600;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.header-logo .logo-text {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.header-logo .logo-text span {
    color: #4F9CD1;
}

.header-phone {
    background: #0394C8;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.header-phone:hover {
    background: #026d94;
    color: #fff;
    text-decoration: none;
}

/* ---------- Navigation ---------- */
.site-nav {
    background: #0394C8;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-list li a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.nav-list li a:hover {
    background: rgba(0,0,0,0.2);
    text-decoration: none;
}

/* ---------- Hero / Page Banner ---------- */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('../images/dawsonrecycling-bg.jpg') center/cover no-repeat;
    background-color: #1a3040;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 3px 4px rgba(0,0,0,0.4);
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.85rem;
    color: #888;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #0394C8;
}

.breadcrumbs span {
    margin: 0 6px;
    color: #bbb;
}

/* ---------- Article / Blog Post Layout ---------- */
.article-content {
    padding: 40px 0 60px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta .category-tag {
    background: #EAF2F6;
    color: #0394C8;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.featured-image {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-body h2 {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #EAF2F6;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 25px 0 10px;
}

.article-body p {
    margin-bottom: 18px;
    color: #444;
}

.article-body ul, .article-body ol {
    margin: 15px 0 20px 25px;
    color: #444;
}

.article-body li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.article-body strong {
    color: #1a1a1a;
}

.article-body blockquote {
    border-left: 4px solid #0394C8;
    margin: 20px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* ---------- Service Page Layout (DudaMobile era) ---------- */
.service-content {
    padding: 40px 0 60px;
}

.service-content h1 {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.service-content h2 {
    font-family: 'Epilogue', 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #EAF2F6;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0394C8;
    margin: 25px 0 10px;
}

.service-content p {
    margin-bottom: 18px;
    color: #444;
}

.service-content ul {
    margin: 15px 0 20px 25px;
    color: #444;
}

.service-content li {
    margin-bottom: 8px;
}

/* ---------- Service Cards Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-card-icon {
    font-size: 2.5rem;
    color: #0394C8;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-card p, .service-card ul {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0394C8;
    font-weight: 700;
}

/* ---------- Feature Blocks ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-block {
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
}

.feature-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0394C8;
    margin-bottom: 8px;
}

.feature-block p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* ---------- Reviews Section ---------- */
.reviews-section {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.review-stars {
    color: #f9a825;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.review-author {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
}

/* ---------- Dumpster Size Cards ---------- */
.dumpster-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.dumpster-card {
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.dumpster-card.highlighted {
    border-color: #0394C8;
}

.dumpster-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0394C8;
    margin-bottom: 5px;
}

.dumpster-card .dimensions {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.dumpster-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.dumpster-card li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.9rem;
}

.dumpster-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0394C8;
    font-weight: 700;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: #0394C8;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 8px;
}

.cta-banner h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    border: none;
    padding: 0;
    color: #fff;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #fff;
}

.cta-phone {
    display: inline-block;
    background: #fff;
    color: #0394C8;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.cta-phone:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: #026d94;
}

/* ---------- Contact Info Block ---------- */
.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.contact-info h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #555;
}

.contact-info a {
    color: #0394C8;
    font-weight: 600;
}

/* ---------- Hours Table ---------- */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.hours-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.hours-table td:first-child {
    font-weight: 600;
    color: #333;
}

.hours-table td:last-child {
    text-align: right;
    color: #555;
}

/* ---------- Areas Served Grid ---------- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 25px 0;
}

.area-link {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    color: #0394C8;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s;
}

.area-link:hover {
    background: #EAF2F6;
    border-color: #0394C8;
    text-decoration: none;
}

/* ---------- Location Page ---------- */
.location-intro {
    background: #EAF2F6;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #0394C8;
}

.location-intro h2 {
    border: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 1.3rem;
}

/* ---------- Tagline Banner ---------- */
.tagline-banner {
    background: #1a1a1a;
    color: #4F9CD1;
    text-align: center;
    padding: 25px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Epilogue', sans-serif;
}

/* ---------- Site Footer ---------- */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 6px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #4F9CD1;
}

.footer-col a:hover {
    color: #B7D6EC;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 10px;
}

/* ---------- Reduce Reuse Recycle ---------- */
.rrr-banner {
    background: linear-gradient(135deg, #026d94, #0394C8);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Epilogue', sans-serif;
}

.rrr-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    border: none;
    padding: 0;
    margin: 0;
}

/* ---------- Contact Form ---------- */
.contact-form {
    max-width: 600px;
    margin: 20px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0394C8;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    background: #0394C8;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #026d94;
}

/* ---------- Map Embed ---------- */
.map-embed {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
    margin: 20px 0;
}

/* ---------- Blog Post CTA ---------- */
.article-cta {
    background: #EAF2F6;
    border: 1px solid #B7D6EC;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.article-cta p {
    color: #333;
    margin-bottom: 12px;
}

.article-cta .cta-phone {
    font-size: 1.1rem;
    padding: 10px 25px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-list li a {
        padding: 10px 15px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .article-header h1,
    .service-content h1 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .dumpster-sizes {
        grid-template-columns: 1fr;
    }

    .tagline-banner {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .rrr-banner h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .page-hero {
        padding: 40px 15px;
    }

    .page-hero h1 {
        font-size: 1.3rem;
    }

    .article-header h1 {
        font-size: 1.3rem;
    }

    .cta-banner {
        padding: 25px 15px;
    }

    .cta-phone {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
}
