/* ==========================================================
   S&F Construction LLC
   Main Theme Styles
   ========================================================== */

:root {
    --sf-orange: #ff5a00;
    --sf-orange-bright: #ff6900;
    --sf-black: #0b0c0d;
    --sf-charcoal: #151719;
    --sf-white: #ffffff;
    --sf-muted: #c6c6c6;
    --sf-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sf-black);
    color: var(--sf-white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.sf-container {
    width: min(92%, var(--sf-container));
    margin: 0 auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 18px 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 7, 8, .92),
        rgba(5, 7, 8, .50),
        transparent
    );
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-right: auto;
}

.brand-mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border: 3px solid #bdbdbd;
    color: var(--sf-orange);
    font-weight: 900;
    font-size: 25px;
    transform: rotate(30deg);
    background: rgba(10, 10, 10, .75);
}

.brand-mark::first-line {
    transform: rotate(-30deg);
}

.brand-name {
    font-size: 34px;
    line-height: .9;
    font-weight: 900;
    letter-spacing: 4px;
}

.brand-company {
    margin-top: 7px;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.brand-tagline {
    margin-top: 5px;
    color: #ddd;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 12px;
    font-weight: 800;
}

.main-nav a {
    position: relative;
    padding: 10px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--sf-orange);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 30px;
    height: 2px;
    background: var(--sf-orange);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-link {
    white-space: nowrap;
    font-weight: 800;
    font-size: 14px;
}

.phone-icon {
    color: var(--sf-orange);
    margin-right: 6px;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    font-weight: 900;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-orange {
    background: linear-gradient(135deg, #ff7100, #f24b00);
    border: 2px solid var(--sf-orange);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 90, 0, .20);
}

.btn-orange:hover {
    background: #ff6a00;
}

.btn-outline {
    border: 2px solid var(--sf-orange);
    background: rgba(5, 5, 5, .65);
}

.btn-outline:hover {
    background: var(--sf-orange);
}

.btn-header {
    min-height: 46px;
    padding: 0 18px;
    white-space: nowrap;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    position: relative;
    min-height: 545px;
    display: flex;
    align-items: center;
    overflow: hidden;

    /*
     * hero-home.png will be added next.
     * Temporary fallback keeps the page usable until upload.
     */
    background: #0b0c0d url("../images/hero-home.png") center center / cover no-repeat;
     
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 6, 7, .98) 0%,
            rgba(4, 6, 7, .90) 22%,
            rgba(4, 6, 7, .55) 47%,
            rgba(4, 6, 7, .12) 75%,
            rgba(4, 6, 7, .18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .55) 0%,
            transparent 38%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 115px;
}

.hero-content {
    width: 55%;
    max-width: 650px;
}

.eyebrow {
    color: var(--sf-orange);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.6px;
    margin-bottom: 9px;
}

.hero h1 {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(48px, 5.4vw, 72px);
    line-height: .91;
    letter-spacing: -2px;
    font-weight: 900;
    text-shadow: 0 3px 10px rgba(0,0,0,.65);
}

.hero h1 span,
.hero h1 strong {
    display: block;
}

.hero h1 strong {
    color: var(--sf-orange);
}

.hero h2 {
    margin: 19px 0 9px;
    font-size: 21px;
    letter-spacing: .4px;
}

.hero-services {
    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: .7px;
}

.hero-services span {
    color: var(--sf-orange);
    padding: 0 7px;
}

.hero-actions {
    display: flex;
    gap: 17px;
    margin-top: 22px;
}

.tool-icon {
    font-size: 17px;
}

.service-area-badge {
    position: absolute;
    right: 0;
    bottom: -7px;
    min-width: 275px;
    padding: 17px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background:
        linear-gradient(135deg, #1b1d1f, #080909);
    border-left: 1px solid #444;
    border-top: 1px solid #444;
    box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.service-area-badge .pin {
    color: var(--sf-orange);
    font-size: 31px;
}

.service-area-badge small,
.service-area-badge strong,
.service-area-badge span {
    display: block;
}

.service-area-badge small {
    font-size: 12px;
    font-weight: 900;
}

.service-area-badge strong {
    color: var(--sf-orange);
    font-size: 28px;
    line-height: 1;
    margin: 3px 0;
}

.service-area-badge span {
    font-size: 10px;
    font-weight: 800;
}


/* ==========================================================
   TRUST STRIP
   ========================================================== */

.trust-strip {
    position: relative;
    z-index: 5;
    background:
        linear-gradient(rgba(18,20,21,.97), rgba(12,13,14,.99));
    border-top: 1px solid #343434;
    border-bottom: 1px solid #272727;
}

.trust-grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.trust-item {
    min-height: 50px;
    padding: 0 27px;
    display: flex;
    align-items: center;
    gap: 17px;
    border-right: 1px solid #454545;
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    color: var(--sf-orange);
    font-size: 35px;
    width: 42px;
    text-align: center;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    font-size: 14px;
    letter-spacing: .4px;
}

.trust-item span {
    color: #d0d0d0;
    font-size: 9px;
    margin-top: 5px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .hero-content {
        width: 68%;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: absolute;
    }

    .brand-name {
        font-size: 25px;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
    }

    .brand-company,
    .brand-tagline,
    .phone-link {
        display: none;
    }

    .header-inner {
        gap: 10px;
    }

    .btn-header {
        font-size: 10px;
        padding: 0 12px;
    }

    .hero {
        min-height: 660px;
    }

    .hero-inner {
        padding-top: 115px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-area-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: fit-content;
        margin-top: 35px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        padding: 15px 0;
    }

    .trust-item {
        padding: 15px;
        border-right: 0;
    }

    .trust-item:first-child {
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
