/* ==========================================
   TRUCKS2B LLC — Public Website Styles
   ========================================== */

/* 1. DESIGN TOKENS */
:root {
    --t2b-primary: #075a9c;
    --t2b-primary-hover: #034678;
    --t2b-accent: #e87722;
    --t2b-text: #202d3a;
    --t2b-text-muted: #64748b;
    --t2b-background: #ffffff;
    --t2b-surface: #f5f7fa;
    --t2b-border: #e2e8f0;
    --t2b-header-height: 72px;
    --t2b-radius: 6px;
    --t2b-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* 2. BASE */
html {
    color-scheme: light;
}

body.t2b-public {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--t2b-background);
    color: var(--t2b-text);
    font-family: var(--t2b-font);
    font-size: 16px;
    line-height: 1.6;
}

.t2b-public h1,
.t2b-public h2,
.t2b-public h3 {
    font-family: var(--t2b-font);
    letter-spacing: -0.025em;
}

.t2b-public .t2b-page-title {
    font-size: clamp(36px, 3.5vw, 52px);
    font-weight: 400;
    line-height: 1.2;
}

.t2b-public .t2b-page-lead {
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.5;
}

.t2b-public .t2b-page-section {
    padding: 80px 0;
}

/* 3. HEADER */
.t2b-public .t2b-header {
    min-height: var(--t2b-header-height);
    background: var(--t2b-background);
    border-bottom: 1px solid var(--t2b-border);
}

.t2b-public .navbar {
    min-height: var(--t2b-header-height);
    padding: 12px 24px;
}

.t2b-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    background: #ffffff;
    color: var(--t2b-primary);
    border: 2px solid var(--t2b-primary);
    border-radius: var(--t2b-radius);
}

    .t2b-skip-link:focus {
        top: 12px;
    }

/* 4. BRAND */
.t2b-public .navbar-brand {
    color: var(--t2b-primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

    .t2b-public .navbar-brand:hover,
    .t2b-public .navbar-brand:focus-visible {
        color: var(--t2b-primary-hover);
    }

/* 5. NAVIGATION */
.t2b-public .navbar-nav .nav-link {
    position: relative;
    color: var(--t2b-text);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    transition: color 0.2s ease;
}

    .t2b-public .navbar-nav .nav-link:hover,
    .t2b-public .navbar-nav .nav-link:focus-visible {
        color: var(--t2b-primary-hover);
    }

    .t2b-public .navbar-nav .nav-link[aria-current="page"],
    .t2b-public .navbar-nav .nav-link[aria-current="location"],
    .t2b-public .navbar-nav .nav-link.active {
        color: var(--t2b-primary);
    }

        .t2b-public .navbar-nav .nav-link[aria-current="page"]::after,
        .t2b-public .navbar-nav .nav-link[aria-current="location"]::after,
        .t2b-public .navbar-nav .nav-link.active::after {
            content: "";
            position: absolute;
            bottom: 2px;
            left: 16px;
            right: 16px;
            height: 2px;
            background: var(--t2b-primary);
        }

    .t2b-public .navbar-nav .nav-link:focus-visible,
    .t2b-public .navbar-brand:focus-visible,
    .t2b-public .btn:focus-visible,
    .t2b-public .dropdown-item:focus-visible {
        outline: 2px solid var(--t2b-accent);
        outline-offset: 3px;
    }

/* 6. BUTTONS */
.t2b-public .btn-primary {
    background: var(--t2b-primary);
    border-color: var(--t2b-primary);
    border-radius: var(--t2b-radius);
    padding: 9px 22px;
    font-weight: 600;
}

    .t2b-public .btn-primary:hover,
    .t2b-public .btn-primary:focus-visible {
        background: var(--t2b-primary-hover);
        border-color: var(--t2b-primary-hover);
    }

/* 7. LANGUAGE SELECTOR */
.t2b-public .dropdown .btn-link {
    color: var(--t2b-text);
    text-decoration: none;
    font-weight: 500;
}

    .t2b-public .dropdown .btn-link:hover,
    .t2b-public .dropdown .btn-link:focus-visible {
        color: var(--t2b-primary-hover);
    }

.t2b-public .dropdown-item:active {
    background: var(--t2b-primary);
    color: #ffffff;
}

/* 8. MAIN CONTENT */
.t2b-public #main-content {
    flex: 1;
    width: 100%;
}

/* 9. FOOTER */
.t2b-public .t2b-footer {
    padding: 24px 16px;
    background: var(--t2b-surface);
    border-top: 1px solid var(--t2b-border);
    color: var(--t2b-text-muted);
}

/* 10. MOBILE NAVIGATION */
@media (max-width: 991.98px) {
    .t2b-public .navbar {
        padding: 12px 16px;
    }

    .t2b-public .navbar-collapse {
        padding-top: 16px;
    }

    .t2b-public .navbar-nav .nav-link {
        padding: 12px 8px;
    }

    .t2b-public .navbar-brand {
        font-size: 20px;
    }

    .t2b-public .navbar-nav .nav-link[aria-current="page"]::after,
    .t2b-public .navbar-nav .nav-link[aria-current="location"]::after,
    .t2b-public .navbar-nav .nav-link.active::after {
        left: 0;
        right: auto;
        top: 10px;
        bottom: 10px;
        width: 2px;
        height: auto;
    }
}

/* 11. HOME PAGE — HERO SECTION */
.t2b-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-color: #eaf3fb;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 27%, rgba(255, 255, 255, 0) 52%), url("../images/trucks2b_hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.t2b-hero-content {
    position: relative;
    z-index: 1;
}

.t2b-hero-text {
    max-width: 490px;
    padding: 40px 0;
}

    .t2b-hero-text h1 {
        font-size: clamp(32px, 3.5vw, 52px);
        font-weight: 700;
        color: var(--t2b-text);
        margin-bottom: 18px;
    }

    .t2b-hero-text h2 {
        font-size: clamp(20px, 2vw, 28px);
        font-weight: 400;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .t2b-hero-text p {
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 32px;
    }

.t2b-hero-button {
    padding: 12px 28px;
    border-radius: 30px;
}

@media (max-width: 991.98px) {
    .t2b-hero {
        min-height: 560px;
        background-position: 60% center;
    }

    .t2b-hero-text {
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .t2b-hero {
        min-height: 640px;
        align-items: flex-start;
        background-position: 65% center;
    }

    .t2b-hero-text {
        max-width: 100%;
        padding-top: 40px;
        padding-bottom: 24px;
    }

        .t2b-hero-text p {
            font-size: 16px;
        }
}

/* 12. HOME AND SERVICES — SERVICE CARDS */
.t2b-services {
    padding: 80px 0;
    background: #ffffff;
}

.t2b-services-heading {
    text-align: center;
    margin-bottom: 42px;
}

    .t2b-services-heading h1,
    .t2b-services-heading h2 {
        font-size: 34px;
        font-weight: 700;
        color: var(--t2b-text);
        margin-bottom: 12px;
    }

    .t2b-services-heading p {
        color: var(--t2b-text-muted);
        font-size: 17px;
    }

.t2b-service-card {
    height: 100%;
    padding: 32px;
    background: var(--t2b-surface);
    border: 1px solid var(--t2b-border);
    border-radius: var(--t2b-radius);
    transition: box-shadow 0.2s ease;
}

    .t2b-service-card:hover {
        box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08);
    }

    .t2b-service-card h3 {
        font-size: 21px;
        font-weight: 600;
        color: var(--t2b-primary);
        margin-bottom: 16px;
    }

    .t2b-service-card p {
        color: var(--t2b-text-muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

@media (max-width: 767.98px) {
    .t2b-services {
        padding: 56px 0;
    }

    .t2b-services-heading h1,
    .t2b-services-heading h2 {
        font-size: 28px;
    }
}

/* 13. ABOUT US PAGE */
.t2b-about {
    padding: 90px 0;
    background: #ffffff;
}

.t2b-about-content {
    max-width: 980px;
    margin: 0 auto;
}

.t2b-about h1 {
    font-size: clamp(36px, 3.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--t2b-text);
    text-align: center;
    margin-bottom: 24px;
}

.t2b-about-content .t2b-about-lead {
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--t2b-primary);
    text-align: center;
    margin-bottom: 36px;
}

.t2b-about-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.t2b-about h2 {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-top: 48px;
    margin-bottom: 24px;
}

@media (max-width: 767.98px) {
    .t2b-about {
        padding: 50px 0;
    }

        .t2b-about h2 {
            font-size: 26px;
        }
}

/* 14. CONTACT US PAGE */
.t2b-contact {
    padding: 90px 0;
    background: #ffffff;
}

.t2b-contact-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.t2b-contact h1 {
    font-size: clamp(36px, 3.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 24px;
}

.t2b-contact-content .t2b-contact-lead {
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--t2b-primary);
    margin-bottom: 32px;
}

.t2b-contact-content p {
    line-height: 1.8;
    margin-bottom: 22px;
}

@media (max-width: 767.98px) {
    .t2b-contact {
        padding: 50px 0;
    }
}

/* 15. CONTACT OPTIONS */
.t2b-contact-options {
    max-width: 1140px;
    margin: 80px auto 0;
}

    .t2b-contact-options > h2 {
        font-size: clamp(30px, 2.8vw, 40px);
        font-weight: 400;
        text-align: center;
        margin-bottom: 16px;
    }

.t2b-contact-options-intro {
    color: var(--t2b-text-muted);
    text-align: center;
    margin-bottom: 48px;
}

.t2b-contact-option {
    height: 100%;
    padding: 32px;
    background: #f7f9fc;
    border-radius: 4px;
}

    .t2b-contact-option h3 {
        font-size: 21px;
        font-weight: 500;
        color: var(--t2b-primary);
        margin-bottom: 20px;
    }

    .t2b-contact-option p {
        font-size: 15px;
        line-height: 1.8;
        color: var(--t2b-text);
        margin-bottom: 0;
    }

@media (max-width: 767.98px) {
    .t2b-contact-options {
        margin-top: 48px;
    }

    .t2b-contact-option {
        padding: 26px;
    }
}

/* 16. SERVICES — ADDITIONAL CONTENT */
.t2b-services-extra {
    padding: 70px 0 100px;
    background: #ffffff;
}

    .t2b-services-extra > .container {
        max-width: 980px;
    }

    .t2b-services-extra h2 {
        font-size: clamp(27px, 2.5vw, 34px);
        font-weight: 400;
        margin-bottom: 24px;
    }

    .t2b-services-extra h3 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 18px;
    }

    .t2b-services-extra p {
        font-size: 16px;
        line-height: 1.9;
        color: var(--t2b-text-muted);
        margin-bottom: 22px;
    }

.t2b-services-intro,
.t2b-service-detail {
    margin-bottom: 85px;
}

    .t2b-service-detail ul {
        padding-left: 22px;
        margin-top: 20px;
    }

    .t2b-service-detail li {
        margin-bottom: 12px;
        line-height: 1.7;
        color: var(--t2b-text-muted);
    }

.t2b-service-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

    .t2b-service-steps > div {
        padding: 28px;
        background: var(--t2b-surface);
        border: 1px solid var(--t2b-border);
        border-radius: var(--t2b-radius);
    }

    .t2b-service-steps h3 {
        color: var(--t2b-primary);
    }

    .t2b-service-steps p {
        margin-bottom: 0;
    }

.t2b-services-cta {
    text-align: center;
    padding: 60px 36px;
    background: var(--t2b-surface);
    border-radius: var(--t2b-radius);
}

    .t2b-services-cta p {
        max-width: 650px;
        margin: 0 auto 30px;
    }

@media (max-width: 767.98px) {
    .t2b-services-extra {
        padding: 45px 0 65px;
    }

    .t2b-services-intro,
    .t2b-service-detail {
        margin-bottom: 55px;
    }

    .t2b-service-steps {
        grid-template-columns: 1fr;
    }

    .t2b-services-cta {
        padding: 40px 24px;
    }
}

/* Chevron-style up arrow */
.t2b-back-to-top-chevron {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    transform: rotate(45deg) translate(2px, 2px);
}

.t2b-back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t2b-primary);
}

    .t2b-back-to-top.is-visible {
        opacity: 0.6;
        visibility: visible;
        pointer-events: auto;
    }

        .t2b-back-to-top.is-visible:hover,
        .t2b-back-to-top.is-visible:focus-visible {
            opacity: 1;
        }

    .t2b-back-to-top:focus-visible {
        outline: 3px solid var(--t2b-accent);
        outline-offset: 3px;
    }

/* 17. BACK TO TOP — CENTERED */
.t2b-back-to-top {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--t2b-primary);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease, visibility 0.2s ease;
}

@media (max-width: 767.98px) {
    .t2b-back-to-top {
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t2b-back-to-top {
        transition: none;
    }
}
/* Public header logo */
.t2b-header-logo {
    display: block;
    width: auto;
    height: 42px;
    object-fit: contain;
}
