:root {
    /*text color options*/
    --base-color: rgba(232, 232, 255, 0.8);
    --text-color-heading: #f4faff;
    --text-color-subheading: #cfd6f1;
    --text-color-small: #c2d2d8;

    --text-color-dark-heading: #000000FF;
    --text-color-dark-subheading: rgba(0, 0, 0, 0.74);
    /*font-size options */
    --fs-title: clamp(4rem, 3.5vw, 6rem);
    --fs-lower-title: clamp(2rem, 2vw, 3rem);
    --fs-card-title: 1.7rem;
    --fs-standard: 1rem;


    /*border and shadow options*/
    --panel-shadow: .35rem .5rem .5rem rgba(255, 255, 255, 0.055),
                    -8px -8px 24px rgba(0,0,0, .04),
                    inset 2px 2px 4px rgba(255,255,255, .1),
                    inset -2px -2px 4px rgba(0,0,0, .25);

    --section-shadow: 0 2px 8px rgba(150, 198, 252, 0.13),
                      0 5px 8px rgba(0, 0, 0, 0.6);

    /*generic accent colors*/
    --accent-color-red: rgba(255, 100, 113, 1);
    --accent-color-green: rgb(71, 255, 125);
}

/*REVERSE MEDIA QUERY LOGIC DURING NEXT SESSION BUILD UPWARD IN SIZE, NOT DOWNWARD*/
html {
    scroll-behavior: smooth;
}
* {
    font-family: 'Oswald', sans-serif;
    margin:0;
    padding:0;

}
body {
    background-color: var(--base-color);
    min-height: 100vh;
    overflow-x: hidden;
}
/* ── NAV ── */
.top-bar {
    height: 4rem;
    width: 100%;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: row;
    z-index: 3;
    justify-content: space-between;
    background-color: black;
    box-shadow: var(--section-shadow);
    border-bottom: .05rem solid var(--accent-color-red);
}
.top-bar div {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.top-bar .logo {
    padding-left: 1rem;
    gap: .75rem;
}
.top-bar img {
    height: 3.8rem;
}
.top-bar h2 {
    color: var(--text-color-heading);
    height: fit-content;
    font-size: 1.1rem;
}
.top-bar .links {
    justify-content: space-evenly;
    width: 20%;
    height: 100%;
    min-width: 220px;
}
.top-bar .links p {
    color: var(--text-color-subheading);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color .2s;
}
.top-bar .links p:hover {
    color: var(--accent-color-green);
}


/* ── HERO SECTION ── */
.top {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--accent-color-red);
    background: #0e0e0e url("images/black-background-image.jpg") bottom left repeat;
}
.top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 90%, black 100%);
    z-index: 1;
}

/* ── HERO CONTENT — mobile first ── */
.top-content {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 6rem 1.5rem 3rem; /* top padding clears the nav */
    gap: 2rem;
}
.top-content .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 1rem;
}
.top-content .hero-text span {
    display:block;
    font-family: "Playfair Display", serif;
}
.top-content .hero-image {
    display: none; /* hidden on mobile */
}

.top-content h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: -.05rem;
    line-height: 1.1; /* never hardcode rem here */
    text-shadow: 0 3px 15px rgba(0, 0, 0, .3);
    color: var(--text-color-heading);
}
.top-content h2 {
    color: var(--text-color-heading);
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    font-weight: 300;
}
.top-content p {
    color: var(--text-color-small);
    font-size: clamp(.9rem, 2.5vw, 1.2rem);
    letter-spacing: .1rem;
}
.top-content a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: var(--accent-color-green);
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: .65rem 1rem;
    border-radius: .3rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(71, 255, 125, 0.08);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.top-content a:hover {
    background-color: #83fda9;
    transform: translateY(-.1rem);
    box-shadow: 0 2px 8px rgba(71, 255, 125, 0.32);
}


/* ── TABLET: 700px+ ── */
@media (min-width: 700px) {
    .top-content {
        padding: 5rem 2.5rem 3rem;
    }
    .top-content h1 {
        font-size: clamp(3rem, 5vw, 5rem);
    }
    .top-content a {
        width: fit-content;
        font-size: 1.25rem;
        margin-top: 2rem;
    }
}


/* ── DESKTOP: 1024px+ — restore two-column layout ── */
@media (min-width: 1024px) {
    :root {
     --fs-title: clamp(4rem, 4.3vw, 8rem);
    }
    .top {
        min-height: 70vh;
    }
    .top-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;

        text-align: left;
        padding: 0 4rem 0 4rem;
        gap: 15%;
    }
    .top-content .hero-text {
        align-items: flex-start;
        text-align: left;
        justify-content: center;
        width: fit-content;
    }
    .top-content .hero-image {
        display: flex;
        width: fit-content;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
    }
    .top-content .hero-image img {
        border-radius: .5rem;
        width: 100%;
        height: auto;
        max-width: 800px;
        object-fit: contain;
    }
    .top-content h1 {
        font-size: var(--fs-title);
        line-height: 1.05;
    }
    .top-content a {
        margin-top: 3rem;
        font-size: var(--fs-card-title);
    }
}


/* ── NAV: hide links on small screens ── */
@media (max-width: 699px) {
    .top-bar .links {
        display: none;
    }
    .top-bar h2 {
        font-size: .95rem;
    }
}
/* mobile: stack vertically and go full width */

/*mid background config*/
.mid {
    position:relative;
    background: rgba(2, 2, 2, 0.96) url("/textures/nnnoise.svg");
    color:var(--text-color-heading);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
    border-bottom-style: solid;
    border-bottom-width: .05rem;
    border-bottom-color: rgba(255, 100, 113, 0.6);
    box-shadow:var(--section-shadow);
}
/*End mid background config*/
.mid-deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.mid .summary {
    text-align: center;
    position: relative;
    z-index: 1;
}
.mid .summary h2 {
    font-size: var(--fs-title);
    font-weight: 400;
    text-shadow: 0 3px 15px rgba(0, 0, 0, .3);
}
.mid .summary p {
    font-size: var(--fs-standard);
    color: var(--text-color-subheading);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 3rem 1rem;
    width: 90%;
    max-width: 920px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }
}
.service-card {
    position: relative;
    border-radius: 1rem;
    padding: 3rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem; /* room for the overhanging icon */
    background: rgba(8, 20, 12, 0.88);
    box-shadow: 0 8px 32px rgba(0,0,0,0.55),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(71,255,125,0.08);

    transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
    transform: translateY(-.3rem);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65),
                0 2px 8px rgba(0, 0, 0, .4),
                inset 0 1px 0 rgba(71, 255, 125, .18);
}

.service-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color-green);      /* #e2e2e2; matches card — erases border behind it */
    outline: 2px solid rgba(119, 118, 118, 0.5);
    outline-offset: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon svg { width: 22px; height: 22px; display: block; }

.service-card h3 {
    color: var(--text-color-subheading);
    font-size: var(--fs-card-title);
    font-weight: 500;
    text-align: center;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--accent-color-green);
}
.service-card p {
    color: var(--text-color-small);
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}
/*End services---------------------------*/

.bottom {
    background:url("/images/lawn-house.webp") center / cover no-repeat;
    width: 100%;
    height: fit-content;
    display:flex;
    flex-direction:column;
    align-content: center;
    justify-content: center;
}
.contact-header {
    text-align: center;
    padding: 3rem 0 2rem;
    background: rgba(15, 41, 24, 0.82);
    border-bottom: 5px inset rgba(71,255,125,0.1);
    width: 100%;
}
.contact-header h2 {
    display: inline-block;
    color: var(--text-color-heading);
    font-size: var(--fs-lower-title);
    font-weight: 600;
}
.contact-header p {
    display: inline-block;
    color: var(--text-color-subheading);
    font-size: var(--fs-standard);
    margin-top: .5rem;
    font-weight: 300;
}
/*CONTACT PAGE*/
.contact {
    position:relative;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 3vw, 5rem);
    gap: 2rem;
}

.contact-panel {
     margin-top: 4rem;
     width: 460px;
     min-height: 560px;
     background: rgba(8, 20, 12, 0.88);
     border-radius: 6px;
     border-left: 3px solid var(--accent-color-green);
     box-shadow: 0 8px 32px rgba(0,0,0,0.55),
     0 2px 8px rgba(0,0,0,0.4),
     inset 0 1px 0 rgba(71,255,125,0.08);
     overflow: hidden;
 }
.panel-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(71,255,125,0.15);
}
.panel-header h2 {
    color: var(--text-color-heading);
    font-size: var(--fs-card-title);
    font-weight: 600;
}
.panel-header p {
    color: rgba(71,255,125,0.7);
    font-size: .78rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    margin-top: .2rem;
    font-weight: 300;
}
.panel-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.info-row {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.panel-bottom {
    display: flex;
    flex-direction: row;
}
@media (max-width: 400px) {
    .panel-bottom {
        display:flex;
        flex-direction: column;
    }
    .info-row-hours {
        width: 100%;
    }
    .hours-grid {
        grid-template-columns: auto auto;
        gap: .15rem 1rem;
    }
    .time {
        white-space: nowrap;
    }
}
.info-row-hours {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    width: 50%;
}
.logo-contact {
    margin:0;
    padding: 1rem;
    width: 50%;
}
.logo-contact img {
    margin:0;
    padding:0;
    width: 100%;
}
.info-label {
    color: rgba(71,255,125,0.65);
    font-size: .72rem;
    letter-spacing: .14rem;
    text-transform: uppercase;
}
.info-value {
    color: var(--text-color-subheading);
    font-size: .95rem;
    font-weight: 300;
}
.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .15rem .75rem;
    margin-top: .2rem;
}
.day  { color: var(--text-color-heading); font-size: .88rem; font-weight: 400; }
.time { color: var(--text-color-small);   font-size: .88rem; font-weight: 300; }
.closed { color: var(--accent-color-red); font-weight: 400; }
.panel-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
}
.jobber-form-container {
    margin-top: 4rem;          /* matches contact-panel margin-top */
    width: 460px;              /* same width as contact-panel */
    max-height: 580px;         /* clamp to the panel's approximate height */
    overflow: hidden;          /* clip anything the iframe renders beyond this */
    border-radius: 1rem;
    border-left: 3px solid var(--accent-color-green);
    background: rgba(8, 20, 12, 0.88);
    box-shadow: 0 8px 32px rgba(0,0,0,0.55),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(71,255,125,0.08);
}

/* the div jobber targets — force it to fill the container */
.jobber-form-container > div {
    width: 100% !important;
}

/* the injected iframe itself */
.jobber-form-container iframe {
    width: 100% !important;
    min-width: 0 !important;
    height: 580px !important;
    border: none;
    display: block;
}
@media (max-width: 799px) {
    .contact-panel,
    .jobber-form-container {
        width: 100%;
        max-width: 460px;
        margin-top: 2rem;
    }
    .jobber-form-container {
        max-height: 520px;
    }
    .jobber-form-container iframe {
        height: 520px !important;
    }
}
/*END CONTACT PAGE*/
.about {
    display:flex;
    flex-direction: column;
    width: 100%;
    
    align-items: center;
    padding:3rem 0;
    margin-top:5rem;

    background-color: black;
    background-image: url("/textures/nnnoise.svg");
    box-shadow: var(--section-shadow);

    border-top-style: solid;
    border-top-width: .1rem;
    border-top-color: var(--accent-color-red);
}

.about .statement {
    display:flex;
    flex-direction: column;

    padding: 5rem 0;
    justify-content: center;
    
    text-align: left;
    row-gap:5rem;
}
.about .statement h2 {
    color: var(--accent-color-red);
    font-size: var(--fs-card-title);
}

.about .statement p {
    color: var(--base-color);
    font-size: var(--fs-standard);
}
.about .statement .statement-child {
    margin:0;
    padding:0;
}
@media (max-width: 600px) {
    .about .statement {
        padding: 3rem 1.5rem;
    }
}