
/* =========================================
   BRONSON TREE SERVICE
   Main stylesheet
========================================= */

:root {
    --bg-dark: #171c19;
    --bg-green: #254b36;
    --bg-green-light: #315c41;
    --accent: #a5c58a;
    --text-dark: #202923;
    --text-light: #f4f3ed;
    --text-muted: #a5ada5;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.12);
    --container: 1180px;
}

/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--text-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    touch-action: manipulation;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section-padding {
    padding: 110px 0;
}

.eyebrow {
    color: var(--bg-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(3.3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.3rem, 4.5vw, 4.1rem);
}

h3 {
    font-size: 1.5rem;
}

h1 span,
h2 span {
    color: var(--accent);
}

p {
    font-size: 1rem;
}

/* BUTTONS */

.button {
    min-height: 54px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 700;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.button-primary:hover {
    background: #bad6a3;
}

.button-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.button-outline:hover {
    color: var(--bg-dark);
    background: var(--white);
    border-color: var(--white);
}

.button-dark {
    color: var(--white);
    background: var(--bg-green);
}

.button-dark:hover {
    background: var(--bg-dark);
}

.button-light {
    background: var(--text-light);
    color: var(--bg-dark);
}

.button-light:hover {
    background: var(--accent);
}

/* HEADER */

.site-header {
    height: 86px;
    background: var(--bg-dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-weight: bold;
}
.brand-logo {
      width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
@media (max-width: 760px) {
    .brand-logo {
        width: 40px;
        height: 40px;
    }
}
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name strong {
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.brand-name small {
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links > a {
    font-size: 0.88rem;
    color: #d3d9d3;
    transition: color 0.2s ease;
}

.nav-links > a:hover {
    color: var(--accent);
}

.nav-links .nav-cta {
    color: var(--bg-dark);
    background: var(--accent);
    padding: 12px 18px;
    font-weight: 700;
}

.nav-links .nav-cta:hover {
    background: var(--white);
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    min-height: 690px;
    min-height: min(780px, calc(100svh - 86px));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);

    background:
        radial-gradient(
            ellipse at 75% 35%,
            rgba(104, 139, 87, 0.35),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #121915 0%,
            #203d2b 60%,
            #17241b 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 110px,
            rgba(255, 255, 255, 0.025) 111px,
            transparent 112px
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(14, 20, 16, 0.48),
        rgba(14, 20, 16, 0.08)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 65px;
    padding-bottom: 100px;
    animation: fade-up 0.8s ease both;
}

.hero .eyebrow {
    color: var(--accent);
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 560px;
    color: #d7dfd7;
    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    color: #dce4d9;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(165, 197, 138, 0.7);
}

.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px max(24px, calc((100% - var(--container)) / 2));
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: #d2dacf;
    background: rgba(15, 22, 17, 0.35);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
}

/* INTRO */

.intro {
    background: var(--text-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.intro h2 span {
    color: var(--bg-green);
}

.intro-copy p {
    color: #5c655d;
    line-height: 1.95;
    margin-bottom: 25px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bg-green);
    font-size: 0.88rem;
    font-weight: 800;
    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 16px;
}

/* SERVICES */

.services {
    background: #e9ece5;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading h2 span {
    color: var(--bg-green);
}

.section-heading > p {
    max-width: 340px;
    color: #626b63;
    line-height: 1.9;
    padding-bottom: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    background: #f8f8f3;
    border: 1px solid rgba(37, 75, 54, 0.1);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    background: var(--white);
    box-shadow: 0 18px 35px rgba(24, 43, 30, 0.09);
}

.service-number {
    color: #8c9c8d;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.service-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 24px 0;
    border: 1px solid #b6c9ad;
    color: var(--bg-green);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 14px;
}

.service-card p {
    color: #687169;
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-card .text-link {
    margin-top: auto;
    font-size: 0.78rem;
}

/* ABOUT */

.about {
    background: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 100px;
}

.about-visual {
    position: relative;
    min-width: 0;
    padding: 0 25px 25px 0;
}

.about-image-placeholder {
    min-height: 480px;
    display: grid;
    place-items: center;
    padding: 30px;
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 30%,
            rgba(165, 197, 138, 0.2),
            transparent 55%
        ),
        linear-gradient(145deg, #365c40, #17271d);
    color: #dfe9d9;
    letter-spacing: 2px;
    font-size: 0.72rem;
    font-weight: 700;
}

.experience-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 23px;
    background: var(--accent);
    color: var(--bg-dark);
}

.experience-badge strong {
    font-size: 2.5rem;
    line-height: 1;
}

.experience-badge span {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--bg-green);
}

.about-content > p:not(.eyebrow) {
    margin-bottom: 20px;
    color: #606a61;
    line-height: 1.95;
}

.about-content .button {
    margin-top: 12px;
}

/* CONTACT CTA */

.contact-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 90% 10%,
            rgba(165, 197, 138, 0.17),
            transparent 40%
        ),
        var(--bg-green);
    color: var(--white);
    text-align: center;
}

.contact-inner {
    position: relative;
    z-index: 1;
}

.contact-cta .eyebrow {
    color: var(--accent);
}

.contact-cta h2 {
    margin-bottom: 24px;
}

.contact-cta > .container > p:not(.eyebrow) {
    max-width: 550px;
    margin: 0 auto;
    color: #d4dfd4;
    line-height: 1.9;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* FOOTER */

.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 38px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-inner > p {
    color: #aab4aa;
    font-size: 0.82rem;
}

.copyright {
    color: #aab4aa;
    font-size: 0.78rem;
}

/* ANIMATIONS */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .section-padding {
        padding: 85px 0;
    }

    .intro-grid,
    .about-grid {
        gap: 55px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        min-height: 280px;
    }

    .section-heading {
        gap: 30px;
    }

    .nav-links {
        gap: 22px;
    }
}

/* MOBILE NAVIGATION */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }

    .site-header {
        height: 74px;
    }

    .brand-icon {
        width: 39px;
        height: 39px;
    }

    .brand-name strong {
        font-size: 0.95rem;
    }

    .brand-name small {
        font-size: 0.6rem;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: transparent;
        border: 1px solid var(--border);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--white);
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px 22px;
        background: var(--bg-dark);
        border-top: 1px solid var(--border);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links > a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-cta {
        margin-top: 15px;
        padding: 13px 18px;
        text-align: center;
        border-bottom: none;
    }

    .hero {
        min-height: 720px;
        min-height: min(760px, calc(100svh - 74px));
    }

    .hero-content {
        padding-top: 55px;
        padding-bottom: 115px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 12vw, 5rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-bottom {
        padding: 17px 18px;
        gap: 12px;
        flex-wrap: wrap;
        font-size: 0.57rem;
        letter-spacing: 1px;
    }

    .intro-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 35px;
    }

    .section-heading > p {
        max-width: 520px;
    }

    .about-visual {
        padding-right: 15px;
    }

    .about-image-placeholder {
        min-height: 360px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .section-padding {
        padding: 70px 0;
    }

    .container {
        width: calc(100% - 32px);
    }

    h2 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        font-size: clamp(3rem, 12.5vw, 4rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-bottom {
        justify-content: flex-start;
    }

    .hero-bottom span {
        width: calc(50% - 8px);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 250px;
        padding: 27px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .button {
        width: 100%;
    }

    .experience-badge {
        padding: 17px;
    }

    .experience-badge strong {
        font-size: 2rem;
    }
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.hero-image {
      width: 500px;
    height: 750px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    position: relative;
    left: -100px;
}


@media (max-width: 760px) {
    .hero {
        display: block;
        min-height: auto;
    }

    .hero-content {
        width: auto;
        padding: 45px 22px 25px;
    }

    .hero-image {
        width: calc(100% - 44px);
        height: auto;
        max-height: 380px;
        object-fit: contain;
        position: static;
        left: auto;
        margin: 20px auto 35px;
    }
}

@media (max-width: 760px) {
    .hero-image {
        max-height: none;
        height: auto;
        object-fit: contain;
        margin-bottom: 45px;
    }
}


/* TODD'S ABOUT SECTION PHOTO */

.abouttodd {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 14px;
}



.about-todd-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    top: -120px;
}

