/* Four Brothers Logistics LLC - Single Page Website */

:root {
    --navy: #071f3f;
    --navy-soft: #0d2b52;
    --red: #df1f1f;
    --red-dark: #b81818;
    --white: #ffffff;
    --light: #f4f6f9;
    --gray: #5b6470;
    --dark: #111827;
    --shadow: 0 18px 40px rgba(7, 31, 63, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.section-anchor {
    scroll-margin-top: 95px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.navbar {
    min-height: 90px;
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    align-items: center;
    gap: 20px;
    padding: 4px 48px 0 20px;
    background: var(--navy);
}

.brand {
    align-self: start;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
}

.logo {
    height: 82px;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-link {
    position: relative;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.quote-btn,
.primary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: var(--red);
    color: var(--white);
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.quote-btn {
    align-self: center;
    justify-self: end;
}

.quote-btn:hover,
.primary-btn:hover,
.contact-form button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("images/logo.png");
    background-size: 50% 100%;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #000;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.96) 35%,
        rgba(0, 0, 0, 0.72) 50%,
        rgba(0, 0, 0, 0.28) 64%,
        rgba(0, 0, 0, 0.00) 78%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(560px, 92%);
    margin-left: clamp(24px, 5vw, 72px);
    color: var(--white);
}

.eyebrow,
.section-label {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 4.1rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    max-width: 620px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.94);
    max-width: 460px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-soft);
    color: var(--white);
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 900;
    text-decoration: none;
}

.phone-mobile {
    display: none;
}

/* Trust Bar */

.trust-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 34px 50px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    display: block;
    font-size: 2.1rem;
    margin-bottom: 8px;
}

.trust-item h3 {
    color: var(--navy);
    text-transform: uppercase;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.trust-item p {
    color: var(--gray);
    font-size: 0.88rem;
}

/* About */

.about-section {
    padding: 72px 50px 54px;
    background: var(--white);
}

.section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    gap: 44px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
}

.section-copy h2,
.coverage-copy h2,
.contact-copy h2 {
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-copy p {
    margin-bottom: 16px;
}

.about-image-wrap {
    min-height: 390px;
    background: #e9edf3;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

/* Services */

.services-section {
    padding: 56px 50px 72px;
    background: var(--light);
}

.centered,
.centered-heading {
    text-align: center;
}

.centered-heading {
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    text-transform: uppercase;
    margin-bottom: 34px;
}

.service-grid {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.service-card {
    background: var(--white);
    padding: 34px 24px;
    text-align: center;
    min-height: 230px;
    box-shadow: 0 10px 26px rgba(7, 31, 63, 0.07);
    border: 1px solid rgba(7, 31, 63, 0.05);
}

.service-icon {
    display: block;
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--navy);
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.94rem;
}

/* Coverage */

.coverage-section {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    background: linear-gradient(135deg, #061a35, #0d2b52);
    color: var(--white);
    padding: 44px 72px;
    gap: 64px;
}

.coverage-image-wrap {
    overflow: hidden;
    border: none;
    background: transparent;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverage-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
}

.coverage-copy h2 {
    color: var(--white);
}

.coverage-copy p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.88);
}

/* Contact */

.contact-section {
    padding: 62px 54px 28px;
    background: var(--white);
}

.contact-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    gap: 46px;
    align-items: start;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    font-weight: 700;
}

.contact-line a {
    text-decoration: none;
}

.contact-icon {
    color: var(--navy);
    font-size: 1.35rem;
    min-width: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d7dce2;
    border-radius: 2px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 2px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}


.contact-form button:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.hidden {
    display: none !important;
}

.form-result {
    min-height: 24px;
    font-weight: 800;
    font-size: 0.95rem;
}

.form-success {
    color: #178a2f;
}

.form-error {
    color: var(--red);
}

.form-warning {
    color: var(--navy);
}

.copyright {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #edf0f3;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 980px) {
    .navbar {
        grid-template-columns: auto auto;
        padding: 10px 22px;
        min-height: 82px;
    }

    .logo {
        height: 64px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        justify-self: end;
        background: var(--red);
        color: var(--white);
        border: none;
        padding: 10px 13px;
        border-radius: 4px;
        font-size: 1.2rem;
        cursor: pointer;
    }

    .nav-links,
    .desktop-quote {
        display: none;
    }

    .nav-links.open {
        display: flex;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .hero {
        min-height: 575px;
        background-size: 85% 100%;
        background-position: right center;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 24px;
    }

    .trust-bar,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-grid,
    .coverage-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .coverage-section {
        gap: 28px;
    }

    .phone-desktop {
        display: none;
    }

    .phone-mobile {
        display: inline-flex;
    }
}

@media (max-width: 620px) {
    .logo {
        height: 58px;
    }

    .hero {
        min-height: 640px;
        background-size: cover;
        background-position: center top;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .trust-bar,
    .service-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-section,
    .contact-section,
    .coverage-section {
        padding-left: 22px;
        padding-right: 22px;
    }

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

    .primary-btn,
    .hero-phone {
        width: 100%;
    }
}
