:root {
    /* Light mode: backgrounds as 3 shades of white, text as 2 shades of black */
    --bg-dark: hsl(0, 0%, 85%);
    --bg: hsl(0, 0%, 90%);
    --bg-light: hsl(0, 0%, 95%);
    --text: hsl(190, 69%, 5%);
    --text-muted: hsl(190, 69%, 10%);
    --button-bg: hsl(190, 90%, 32%);
    --button-hover: hsl(190, 90%, 22%);
    --button-text: hsl(0, 0%, 100%);
    --accent: hsl(45, 88%, 48%);
    --accent-hover: hsl(45, 88%, 38%);
    --danger: hsl(359, 100%, 35%);
    --danger-hover: hsl(359, 100%, 25%);
    --blue: hsl(195, 100%, 15%);
    --slider-bg: var(--bg-light);
    --knob: var(--text);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Light mode: backgrounds as 3 shades of white, text as 2 shades of black */
.light {
    --bg-dark: hsl(0, 0%, 85%);
    --bg: hsl(0, 0%, 90%);
    --bg-light: hsl(0, 0%, 95%);
    --text: hsl(190, 69%, 5%);
    --text-muted: hsl(190, 69%, 10%);
    --button-bg: hsl(190, 90%, 32%);
    --button-hover: hsl(190, 90%, 22%);
    --button-text: hsl(0, 0%, 100%);
    --accent: hsl(45, 88%, 48%);
    --accent-hover: hsl(45, 88%, 38%);
    --danger: hsl(359, 100%, 35%);
    --danger-hover: hsl(359, 100%, 25%);
    --blue: hsl(195, 100%, 15%);
    --slider-bg: var(--bg-light);
    --knob: var(--text);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Basic styles */
*, *::before, *::after {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    color: var(--text);
    font-family: 'Roboto', Arial, sans-serif;
    padding-top: 80px;
}

/* Inline SVG icons */
svg.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    display: inline-block;
}

.page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
    flex: 1;
}

footer {
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
}

.flash-message {
    padding: 16px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Sidebar */
#sidebar-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

.sidebar {
    position: fixed;
    left: -200px;
    top: 0;
    width: 200px;
    height: 100%;
    background: var(--bg);
    color: var(--text);
    transition: left 0.3s;
    z-index: 999;
    padding-top: 50px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar.open {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.sidebar li:hover {
    background: var(--bg-light);
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
}

.home-page,
.areas-page {
    padding: 0;
}

.container .content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

.hero-split-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.hero-split-content h1 {
    font-size: 3em;
    color: hsl(222, 47%, 20%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.2;
}

.hero-split-content p {
    font-size: 1.3em;
    font-weight: bold;
    color: hsl(222, 47%, 20%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0;
    line-height: 1.4;
}

.hero-split-content .btn {
    background-color: red;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 1px;
    border: none;
    margin: 0;
    cursor: pointer;
    align-self: flex-start;
}

.hero-split-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-split-content {
        padding: 40px 30px;
    }

    .hero-split-content h1 {
        font-size: 2.2em;
    }

    .hero-split-content p {
        font-size: 1.1em;
    }

    .hero-split-image {
        min-height: 400px;
    }
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px 8px 0 0;
}

.container .background {
    width: 100%;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.container .background .image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container h1 {
    font-size: 4em;
    color: hsl(222, 47%, 20%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: left;
}

.container p {
    font-size: 1.5em;
    font-weight: bold;
    color: hsl(222, 47%, 20%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0;
    text-align: left;
}

.content-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.container .btn.red.large {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
    padding: 15px 30px;
    font-size: 1.2em;
}

.service-bar {
    max-width: 1300px;
    width: 100%;
    margin: 20px auto;
    min-height: 100px;
    background: hsl(222, 47%, 20%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    gap: 10px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--card-shadow);
}

.service-bar span {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
}

.map-container {
    max-width: 1300px;
    width: 100%;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bento Box */
.bento-box {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.bento-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-card {
    background: hsl(222, 47%, 20%);
    border: none;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.bento-card h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.bento-card ul {
    list-style: none;
    padding-left: 0;
    color: #ffffff;
    margin: 0;
}

.bento-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.bento-card.small {
    padding: 20px;
    flex: 1;
    background: linear-gradient(to bottom, hsl(0, 0%, 95%), hsl(0, 0%, 100%));
    border: 1px solid #e0e0e0;
    text-align: center;
}

.bento-card.small ul {
    margin: 0;
    color: var(--text);
    list-style: none;
    padding-left: 0;
}

.bento-right {
    flex: 1;
    display: flex;
    position: relative;
}

.bento-image {
    width: 100%;
    height: 100%;
    background-image: url('/static/img/overhead-door-repair.webp');
    background-size: cover;
    background-position: left center;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.bento-right .btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: red;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .bento-box {
        flex-direction: column;
    }
    
    .bento-left,
    .bento-right {
        flex: none;
        width: 100%;
    }
    
    .bento-right {
        order: -1;
    }
    
    .bento-image {
        aspect-ratio: 16 / 9;
    }
}

.info-bar {
    max-width: 1300px;
    width: 100%;
    margin: 12px auto 0;
    min-height: 100px;
    background-color: #ffffff;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.info-bar span {
    flex: 1 1 33.333%;
    color: #69a3f7;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
}

@media (max-width: 768px) {
    .info-bar {
        flex-direction: column;
        min-height: auto;
        padding: 15px;
    }
    
    .info-bar span {
        font-size: 1em;
    }
}

.two-col {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.two-col-left {
    flex: 1;
    display: flex;
    position: relative;
}

.two-col-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.two-col-left .btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: red;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 1px;
}

.two-col-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.two-col-right .card-content {
    background: hsl(222, 47%, 20%);
    border: none;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.two-col-right h2 {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.two-col-right ul {
    list-style: none;
    padding-left: 0;
    color: #ffffff;
}

.two-col-right li {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Two-col cards section */
.two-col-cards {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    gap: 30px;
}

.two-col-cards .col-card {
    flex: 1;
    background: hsl(0, 0%, 95%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.two-col-cards .col-card:first-child {
    background: hsl(222, 47%, 20%);
    border: none;
}

.two-col-cards .col-card:first-child h3,
.two-col-cards .col-card:first-child ul {
    color: #ffffff;
}

.two-col-cards .col-card h3 {
    color: hsl(222, 47%, 20%);
    font-size: 1.4em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.two-col-cards .col-card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.two-col-cards .col-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--text);
    margin: 0;
}

.two-col-cards .col-card ol li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.two-col-cards .col-card a {
    color: #69a3f7;
    text-decoration: none;
}

.two-col-cards .col-card a:hover {
    text-decoration: underline;
}

/* Dark blue cards in two-col layout */
.two-col-left .col-card,
.two-col-right .col-card {
    background: hsl(222, 47%, 20%);
    border: none;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
}

.two-col-left .col-card h3,
.two-col-right .col-card h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.two-col-left .col-card p,
.two-col-right .col-card p {
    color: white;
}

.two-col-left .col-card ul,
.two-col-right .col-card ul {
    list-style: none;
    padding-left: 0;
    color: white;
}

.two-col-left .col-card li,
.two-col-right .col-card li {
    margin-bottom: 15px;
    line-height: 1.5;
    color: white;
}

.two-col-left .col-card a,
.two-col-right .col-card a {
    color: white;
}

.two-col-left .col-card a:hover,
.two-col-right .col-card a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .two-col-cards {
        flex-direction: column;
    }
    
    .two-col-cards .col-card {
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Brand Logos */
.brand-logos {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.brand-logos img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Testimonial Bar */
.testimonial-bar {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    background: hsl(222, 47%, 20%);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.testimonial-bar h2 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 30px;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.testimonial-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-content {
    flex: 1;
    max-width: 800px;
    min-height: 100px;
    position: relative;
}

.testimonial {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.6;
    font-style: italic;
    display: none;
    margin: 0;
}

.testimonial.active {
    display: block;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s;
}

.testimonial-dots .dot.active {
    background: #ffffff;
}

@media (max-width: 768px) {
    .testimonial-bar {
        padding: 30px 15px;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    
    .testimonial {
        font-size: 1em;
    }
}

/* Call to Action Box */
.cta-box {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto;
    padding: 60px 24px;
    background: hsl(222, 47%, 20%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.cta-phone {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-phone:hover {
    color: #ffe066;
}

.cta-text {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 10px 0 20px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-fish {
    width: 200px;
    height: auto;
    color: #ffffff;
    opacity: 0.9;
}

/* Site Footer */
.site-footer {
    width: 100%;
    background-color: hsl(359, 100%, 35%);
    padding: 30px 0;
}

.site-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 0 0 auto;
}

.site-footer p {
    color: #ffffff;
    font-weight: bold;
    margin: 0;
    font-size: 1em;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.site-footer a:hover {
    background-color: #69a3f7;
}

.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

svg.icon-large {
    width: 2.5em;
    height: 2.5em;
}

@media (max-width: 768px) {
    .site-footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
    }
    
    .cta-phone {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
    
    .cta-fish {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .two-col {
        flex-direction: column;
    }
    
    .two-col-left,
    .two-col-right {
        flex: none;
        width: 100%;
    }
}

/* Responsive styles for container */
@media (max-width: 768px) {
    .container,
    .service-bar,
    .bento-box,
    .info-bar,
    .two-col,
    .two-col-cards,
    .testimonial-bar,
    .cta-box,
    .areas-section,
    .business-info {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
    }
    
    .container h1 {
        font-size: 2.5em;
    }
    
    .container p {
        font-size: 1.2em;
    }
    
    .content-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-bar {
        flex-direction: column;
        min-height: auto;
        padding: 15px;
    }
    
    .service-bar span {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 1.8em;
    }
    
    .container p {
        font-size: 1em;
    }
    
    .container .btn.red.large {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .service-bar span {
        font-size: 1em;
    }
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-bottom: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--slider-bg);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--knob);
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--blue);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Link */
.link {
    color: var(--text);
    text-decoration: none;
    margin: 10px;
    display: inline-block;
}

.link:hover {
    text-decoration: underline;
    text-decoration-color: var(--accent);
}

/* Button */
.btn {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 1px;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--button-hover);
}

.btn.red {
    background-color: hsl(359, 100%, 35%);
}

.btn.red:hover {
    background-color: hsl(359, 100%, 25%);
}

.btn.large {
    padding: 15px 30px;
    font-size: 1.2em;
}

/* Image Comparison */
.image-comparison {
    position: relative;
    width: 500px;
    height: 300px;
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid var(--border);
    border-radius: 8px;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-after {
    width: 50%;
}

.image-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--text);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-2px);
}

/* Button variants */
.btn.danger {
    background-color: var(--danger);
    color: var(--button-text);
}

.btn.danger:hover {
    background-color: var(--danger-hover);
}

.btn.accent {
    background-color: var(--accent);
    color: var(--button-text);
}

.btn.accent:hover {
    background-color: var(--accent-hover);
}

.btn.ghost {
    background-color: transparent;
    border: 1px solid var(--button-bg);
    color: var(--button-bg);
}

.btn.ghost:hover {
    background-color: var(--button-bg);
    color: var(--button-text);
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 60px; /* Below nav bar */
    left: -250px; /* Hidden by default */
    width: 250px;
    height: calc(100vh - 60px);
    background-color: var(--bg);
    transition: left 0.3s;
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
}

#sidebar.open {
    left: 0;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar li {
    margin: 10px 0;
}

#sidebar a {
    color: var(--text);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

#sidebar a:hover {
    background-color: var(--bg-light);
}

/* Nav */
nav {
    height: 60px;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}

/* Nav links styles removed to avoid conflict with newer styles at bottom */

/* Sidebar toggle in nav */
#sidebar-toggle {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s;
}

#sidebar-toggle:hover {
    background-color: var(--button-hover);
}

/* Card component */
.card {
    background-color: var(--bg);
    color: var(--text);
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title {
    background-color: var(--bg-light);
    color: var(--text);
    padding: 10px 20px;
    margin: -20px -20px 15px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.2em;
}

/* Three-card component */
.three-card {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.three-card .card {
    flex: 1;
    margin: 0 10px;
}

/* Two-column component */
.two-column {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

.text-block {
    flex: 1;
    padding: 20px;
}

.text-block h2 {
    color: var(--text);
    margin-bottom: 10px;
}

.text-block p {
    color: var(--text-muted);
    line-height: 1.6;
}

.slider-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Two-column reverse component */
.two-column-reverse {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .three-card {
        flex-direction: column;
    }

    .three-card .card {
        margin: 10px 0;
    }

    .two-column,
    .two-column-reverse {
        flex-direction: column;
        gap: 20px;
    }

    .text-block,
    .slider-container {
        flex: none;
        width: 100%;
    }

    .slider-container {
        order: -1; /* For two-column-reverse, but since both have same, wait */
    }
}

/* Hero component */
.hero {
    background-color: var(--bg-dark);
    color: var(--text);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    color: var(--text-muted);
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Button group */
.button-group {
    margin: 20px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    width: 100%;
}

.logo {
    height: 50px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(222, 47%, 20%);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
    flex-shrink: 1;
    position: relative;
}

.nav-links a {
    color: hsl(222, 47%, 11%);
    text-decoration: none;
    position: relative;
    z-index: 2;
    padding: 8px 12px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: hsl(222, 47%, 30%);
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.nav-links a:hover {
    color: hsl(0, 0%, 90%);
}

/* Responsive navbar */
@media (max-width: 768px) {
    .navbar {
        background-color: #ffffff;
    }
    .navbar-inner {
        width: 100%;
        padding: 10px 15px;
        justify-content: space-between;
    }
    .logo {
        height: 40px;
        margin-left: 0;
    }
    .hamburger {
        display: flex;
        margin-right: 0;
        padding: 5px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 10px 0;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 14px;
        padding: 12px 20px;
        background-color: transparent;
        border-radius: 0;
        transition: background-color 0.2s, color 0.2s;
    }
    .nav-links a:hover {
        background-color: hsl(222, 47%, 30%);
        color: hsl(0, 0%, 90%);
    }
    .nav-bg {
        display: none;
    }
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    body {
        padding: 70px 10px 20px;
    }
}

/* Areas Served Page */
.areas-hero .image {
    background-size: cover;
    background-position: center;
}

.areas-section {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    background: hsl(222, 47%, 20%);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.areas-content {
    flex: 2;
    padding: 40px;
}

.areas-content h2 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.areas-columns {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.areas-col {
    flex: 1;
    text-align: center;
}

.areas-col p {
    margin: 8px 0;
    font-size: 1.1em;
    color: #ffffff;
}

.areas-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.newdoor-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/newdoor.png');
    background-size: cover;
    background-position: center;
}

/* Business Info Section */
.business-info {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.business-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.overhead-door-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/overhead-door-repair.webp');
    background-size: cover;
    background-position: center;
}

.business-content {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.business-content h2 {
    color: hsl(222, 47%, 20%);
    font-size: 1.8em;
    margin-bottom: 30px;
}

.business-content .address-label {
    color: var(--text);
    font-size: 1em;
    margin-bottom: 5px;
}

.business-content .address {
    color: var(--text);
    font-size: 1em;
    margin-bottom: 30px;
}

.business-content .business-statement {
    color: hsl(222, 47%, 20%);
    font-size: 2em;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 768px) {
    .areas-section {
        flex-direction: column-reverse;
    }

    .areas-image {
        min-height: 250px;
    }

    .areas-columns {
        flex-direction: column;
        gap: 0;
    }

    .areas-content {
        padding: 30px 20px;
    }

    .business-info {
        flex-direction: column;
    }
    
    .business-image {
        min-height: 250px;
    }
    
    .business-content {
        padding: 30px 20px;
    }
    
    .business-content .business-statement {
        font-size: 1.5em;
    }
}

.no-bg {
    background-image: none;
}

.no-bg::before {
    display: none;
}

.card img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.card .top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9em;
    color: #666;
    text-shadow: none;
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        aspect-ratio: auto;
    }
    
    .two-col {
        flex-direction: column;
    }
    
    .card .top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Article page styles */
.article-page.container {
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
    padding-bottom: 20px;
}

.article-page article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.article-page h1 {
    font-size: 2.5em;
    color: var(--text);
    margin-bottom: 10px;
    text-align: center;
}

.article-page h2 {
    font-size: 1.8em;
    color: var(--text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-page p {
    font-size: 1.1em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.article-page header small {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.article-page .article-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

/* News page styles */
.news-page.container {
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
    padding-bottom: 20px;
}
