
/* AUTISTIC HANDYMAN — MT MILLS
   Main stylesheet
*/

:root {
    --charcoal: #26313b;
    --blue: #2878b8;
    --blue-light: #eaf3fa;
    --white: #ffffff;
    --text: #303840;
}

/* Basic page styling */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

/* Navigation */
.site-nav {
    background: var(--charcoal);
    color: var(--white);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.site-logo span {
    color: #78c2f0;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #9fd6fa;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    border: 1px solid #82909a;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 0 20px;
}

/* Mobile layout */
@media (max-width: 760px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 16px 20px;
    }

    .site-logo {
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-top: 1px solid #52606a;
    }

    main {
        padding: 40px 20px;
    }
}

/* MT Mills colour themes */

.theme-orange {
    --accent: #F29A38;
}

.theme-green {
    --accent: #65B32E;
}

/* Brand navigation */
.site-nav {
    background: #222B30;
}

/* Accent colour */
.site-logo span {
    color: var(--accent);
}

/* Navigation hover */
.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent);
}

/* ========================================
   MT Mills — Hero Section
   ======================================== */

.hero {
    background: #222B30;
    color: #F5F4EF;
    border-radius: 16px;
    padding: 80px 48px;
}

.hero-content {
    max-width: 900px;
}

.hero-eyebrow {
    color: #65B32E;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    color: #D4DDDF;
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}


.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease;
}

.btn-primary {
    background: #65B32E;
    color: #182018;
}

.btn-primary:hover {
    background: #83CF4D;
}

.btn-outline {
    border: 2px solid #F29A38;
    color: #F5F4EF;
}

.btn-outline:hover {
    background: #F29A38;
    color: #222B30;
}

/* Mobile adjustments */
@media (max-width: 760px) {
    .hero {
        padding: 48px 24px;
        border-radius: 12px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ========================================
   MT Mills — Services Section
   ======================================== */


/* ========================================
   MT Mills — Services Section
   ======================================== */

.services-section {
    padding: 64px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-eyebrow {
    color: #488A20;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.section-heading h2 {
    color: #222B30;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 14px;
}

.section-heading > p:last-child {
    color: #58636A;
    font-size: 1rem;
    margin: 0;
}

/* Service card grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-card p {
    color: #D4DDDF;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}



.service-card {
     color: #D4DDDF;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                border-color 0.2s ease,
                background 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    background: #FBF8F2;
    border-color: #F29A38;
    box-shadow: 0 12px 28px rgba(242, 154, 56, 0.18);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #222B30;
    color: #65B32E;
    border-radius: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-icon {
    background: #F29A38;
    color: #222B30;
}

.service-card h3 {
    color: #222B30;
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 10px;
}

.service-card p {
    color: #58636A;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive layout */

@media (max-width: 760px) {
    .services-section {
        padding: 48px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }

    .service-card:hover {
        transform: none;
    }
}


/* Mobile services layout */
@media (max-width: 760px) {
    .services-section {
        padding: 56px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }

    .service-card:hover {
        transform: none;
    }
}


/* ========================================
   MT Mills — Hero Background Artwork
   ======================================== */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #222B30;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('/assets/images/hero-silhouette.png?v=2');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    filter: grayscale(100%);
    opacity: 0.05;

    pointer-events: none;
    z-index: -1;
}

.hero-content {
    display: block;
    max-width: none;
}

.hero-text {
    position: relative;
    max-width: 760px;
}

/* Mobile adjustments */
@media (max-width: 760px) {
    .hero::before {
        opacity: 0.10;
        background-position: 65% center;
    }
}

/* ========================================
   MT Mills — About Section
   ======================================== */

.about-section {
    position: relative;
    overflow: hidden;
    background: #222B30;
    color: #F5F4EF;
    border-radius: 16px;
    padding: 64px 56px;
}

/* Subtle decorative accent */
.about-section::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 350px;
    height: 350px;
    border: 50px solid rgba(101, 179, 46, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.about-section .section-eyebrow {
    color: #83CF4D;
}

.about-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin: 0 0 24px;
    color: #FFFFFF;
}

.about-section h2 span {
    color: var(--accent, #F29A38);
}

.about-section p:not(.section-eyebrow) {
    color: #D4DDDF;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 18px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: var(--accent, #F29A38);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.about-link:hover,
.about-link:focus-visible {
    gap: 18px;
    border-color: currentColor;
}

/* Mobile layout */
@media (max-width: 760px) {
    .about-section {
        padding: 42px 24px;
        border-radius: 12px;
    }

    .about-section h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .about-section::after {
        width: 220px;
        height: 220px;
        right: -100px;
        bottom: -100px;
        border-width: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-link {
        transition: none;
    }
}

/* ========================================
   MT Mills — Professional Credentials
   ======================================== */

.credentials-section {
    padding: 28px 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #F5F4EF;
    border: 1px solid #E3E5E1;
    border-radius: 12px;
}

.credential-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #222B30;
    font-size: 1.5rem;
}

.fmb-icon {
    color: #65B32E;
}

.insurance-icon {
    color: #F29A38;
}

.credential strong,
.credential span:not(.credential-icon) {
    display: block;
}

.credential strong {
    color: #222B30;
    font-size: 0.95rem;
    line-height: 1.4;
}

.credential div > span {
    color: #58636A;
    font-size: 0.85rem;
    margin-top: 3px;
}

@media (max-width: 760px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .credential {
        padding: 16px;
    }
}

/* ========================================
   MT Mills — Contact Section
   ======================================== */

.contact-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #222B30;
    color: #F5F4EF;
    border-radius: 16px;
    padding: 64px 56px;
    margin-top: 32px;
}

/* Subtle green decoration */
.contact-section::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -100px;
    width: 360px;
    height: 360px;
    border: 50px solid rgba(101, 179, 46, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.contact-section .section-eyebrow {
    color: #83CF4D;
}

.contact-section h2 {
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin: 0 0 24px;
}

.contact-section h2 span {
    color: var(--accent, #F29A38);
}

.contact-intro {
    max-width: 660px;
    color: #D4DDDF;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 32px;
}

/* Contact cards */

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 24px;
    background: #354148;
    border: 1px solid #526168;
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.contact-option:hover,
.contact-option:focus-visible {
    background: #404E55;
    border-color: var(--accent, #F29A38);
    transform: translateY(-3px);
}

.contact-option:focus-visible {
    outline: 2px solid #F29A38;
    outline-offset: 3px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    background: #222B30;
    border-radius: 10px;
    color: #65B32E;
    font-size: 1.5rem;
}

.contact-option:nth-child(2) .contact-icon {
    color: #F29A38;
}

.contact-option strong {
    font-size: 1.1rem;
}

.contact-option > span:last-child {
    color: #D4DDDF;
    font-size: 0.95rem;
}

/* Mobile layout */

@media (max-width: 760px) {
    .contact-section {
        padding: 42px 24px;
        border-radius: 12px;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-option {
        padding: 20px;
    }

    .contact-section::before {
        width: 240px;
        height: 240px;
        border-width: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-option {
        transition: none;
    }

    .contact-option:hover,
    .contact-option:focus-visible {
        transform: none;
    }
}

/* ========================================
   MT Mills — Shared Footer
   ======================================== */

.site-footer {
    background: #222B30;
    color: #F5F4EF;
    margin-top: 64px;
    padding: 56px 24px 24px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand h2 {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin: 0 0 14px;
}

.footer-brand p {
    color: #C9D3D6;
    margin: 0 0 16px;
}

.footer-parent {
    color: #83CF4D;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
    color: #FFFFFF;
    font-size: 1rem;
    margin: 0 0 12px;
}

.footer-links a,
.footer-contact a {
    color: #C9D3D6;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent, #F29A38);
}

.footer-contact p {
    color: #C9D3D6;
    margin: 8px 0 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #526168;
    padding-top: 24px;
    color: #C9D3D6;
    font-size: 0.85rem;
}

.footer-bottom span:last-child {
    color: var(--accent, #F29A38);
}

/* Mobile footer */
@media (max-width: 760px) {
    .site-footer {
        margin-top: 40px;
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
}

