/* =========================
RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
BODY
========================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

.home-page {
    background-color: darkgrey;
}

/* =========================
HEADER
========================= */

.site-header {
    height: 110px;
    background: darkgrey;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 60px;

    gap: 70px;

    border-bottom: 5px solid #000;
}

/* =========================
   LOGO
========================= */

.logo {
    width: 220px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 140px;
}

.logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================
EMERGENCY
========================= */

.emergency {
    font-size: 30px !important;
    letter-spacing: 2px !important;
    color: red !important;
    font-weight: 900;
}

/* =========================
CALL TODAY
========================= */

.call-today {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 230px;

    white-space: nowrap;
}

.call-today strong a {
    white-space: nowrap;
}

.call-today span {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #555;
}

.call-today strong {
    font-size: 28px;
    font-weight: 900;
    color: #b00000;
    margin-top: 5px;
}

/* =========================
TOP NAVIGATION - LEFT SIDEBAR
========================= */

.top-nav {
    width: 190px;
    background: #1c1c1c;

    position: absolute;
    left: 0;

    min-height: calc(100vh - 130px);

    z-index: 100;
}

.top-nav ul {
    list-style: none;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    width: 100%;
}

.top-nav li {
    width: 100%;
}

.top-nav a {
    width: 100%;
    min-height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px 10px;

    box-sizing: border-box;

    color: #ffffff;
    text-decoration: none;

    text-align: center;

    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;

    border-bottom: 2px solid #666666;

    transition: background 0.2s ease;
}

.top-nav a:hover {
    background: #b00000;
}

/* =========================
   HOME PAGE VISITOR COUNTER
========================= */

.visitor-counter {
    width: 100%;
    padding: 14px 5px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    background: #1c1c1c;

    border-top: 1px solid #666;

    text-align: center;
}

.visitor-counter span {
    color: white;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.visitor-counter strong {
    color: #ff0000;

    font-size: 13px;
    font-weight: 900;
}

/* =========================
MAIN PAGE NAV POSITION
========================= */

.top-nav.main-page-nav {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 1000;
}

/* =========================
MAIN PAGE EMERGENCY TEXT
========================= */

.main-page-emergency {
    margin-left: 25px;
}   

/* =========================
HERO
========================= */

.hero {
    height: 600px;
    min-height: 600px;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("images/Why-us-6.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* =========================
HERO CONTENT
========================= */

.hero-content {
    color: #ffffff;

    text-shadow:
        2px 2px 5px #000000;

    max-width: 900px;
    padding: 30px;
    position: relative;
    top: 80px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 3px;
    position: relative;
    top: 20px;
}

.hero-content p {
    margin-top: 170px;

    font-size: 28px;
    font-weight: bold;
}

/* =========================
   SERVICES POPUP
========================= */

.services-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 500px;
    max-width: 90%;

    padding: 40px;

    background: #3C4043;
    color: #111111;

    border-radius: 10px;

    box-sizing: border-box;

    z-index: 99999;
}

    .roadside-services {
    margin-top: 20px;
}

.roadside-service {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.roadside-service img {
    width: 75px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

.roadside-service span {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111111;
}

.services-close {
    position: absolute;
    top: 10px;
    left: 465px;
    right: auto;
    background: none;
    border: none;
    font-size: 30px;
    color: black;
    cursor: pointer;
}

.services-popup h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 900;
    text-decoration: underline;
    color: white;
}

.services-popup .emergency {
    margin-top: 10px;
    text-align: center;
}

.services-popup .emergency span {
    font-size: 28px;
    font-weight: 900;
    color: red;
    line-height: 1.2;
}

/* =========================
   WHY PICK US PAGE
========================= */
.why-pick-us-page {
    background-color: grey;
}

.why-pick-us-page main {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   MAIN PAGE LAYOUT
========================= */

.home-page main {
    width: calc(100% - 190px);
    margin-left: 190px;
    padding: 0;
    max-width: none;
}


/* =========================
   PAGE TITLE
========================= */

main h1 {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
    color: #12355b;
    margin-bottom: 30px;
    letter-spacing: 2px;
}


/* =========================
   TOP IMAGE + TEXT
========================= */

.why-us-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}


/* LEFT SIDE */

.why-us-left {
    width: 70%;
}


/* TOP IMAGE */

.why-us-left .why-us-large-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


/* TEXT UNDER TOP IMAGE */

.why-us-under-image {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
}


/* =========================
   RIGHT SIDE CONTENT
========================= */

.why-us-content {
    width: 60%;
}

.why-us-content p {
    width: 100%;
    margin: 0px 90px 30px 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    color: black;

}


/* =========================
   BULLET POINTS
========================= */

.why-us-bullets {
    margin: 0 0 40px 0;
    padding-left: 30px;
}

.why-us-bullets li {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 10px;
}

.about-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
}


/* =========================
   OTHER WHY US IMAGES
========================= */

.why-us-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 35px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.after-accident-steps p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #222;
}



/* =========================
THINGS WE HAVE DONE PAGE
========================= */

.things-we-have-done-page {
    margin-left: 155px;

    background: #f5f5f5;

    min-height: 100vh;
}


/* =========================
TEXT SECTIONS
========================= */

.things-we-have-done-intro {
    max-width: 1100px;

    margin: 0 auto;

    padding: 25px 50px 45px;

    text-align: center;
}

.things-we-have-done-intro h1,
.things-we-have-done-intro h2 {
    color: #1c1c1c;

    font-size: 44px;
    font-weight: 700;

    margin-bottom: 20px;
}

.things-we-have-done-intro p {
    max-width: 850px;

    margin: 0 auto;

    color: #555;

    font-size: 19px;
    line-height: 1.7;
}


/* SECOND TEXT AREA */

.things-we-have-done-intro-second {
    padding-top: 80px;
}


/* =========================
IMAGE GALLERY
========================= */

.things-we-have-done-gallery {
    width: 88%;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0;
}


/* INDIVIDUAL IMAGE AREA */

.things-we-have-done-image {
    height: 330px;

    overflow: hidden;

    background: #222;
}


/* IMAGES */

.things-we-have-done-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    filter: blur(6px);

    transform: scale(1.04);

    transition:
        filter 0.4s ease,
        transform 0.4s ease;
}


/* HOVER EFFECT */

.things-we-have-done-image:hover img {
    filter: blur(0);

    transform: scale(1);
}

/* =========================
THINGS WE HAVE DONE - NAV POSITION
========================= */

.top-nav.things-we-have-done-page-nav {
    position: fixed;

    top: 0;
    left: 0;

    height: 100vh;
    min-height: 100vh;

    z-index: 1000;
}
    /* =========================
THINGS WE HAVE DONE - SIDEBAR PHONE
========================= */

.things-we-have-done-phone {
    width: 100%;
    padding: 20px 5px;

    box-sizing: border-box;

    text-align: center;

    background: #1c1c1c;
}

.things-we-have-done-phone span {
    display: block;

    margin-bottom: 8px;

    color: white;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.things-we-have-done-phone a {
    width: auto;
    min-height: 0;

    display: block;

    padding: 0;

    color: #ff0000;

    font-size: 18px;
    font-weight: 900;

    border-bottom: none;

    white-space: nowrap;
}

.things-we-have-done-phone a:hover {
    background: transparent;
    color: #ff0000;
}

/* =========================
THINGS WE HAVE DONE LIGHTBOX
========================= */

.things-we-have-done-image img {
    cursor: pointer;
}

.things-lightbox {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.92);
}

.things-lightbox.open {
    display: flex;
}

.things-lightbox img {
    display: block;

    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    filter: none;
    transform: none;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);

    animation: thingsImageExpand 0.25s ease;
}

.things-lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    border: none;
    background: transparent;

    color: white;

    font-size: 50px;
    font-weight: 300;

    cursor: pointer;
}

@keyframes thingsImageExpand {
    from {
        transform: scale(0.75);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* LIGHTBOX ARROWS */

.things-lightbox-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: rgba(0, 0, 0, 0.45);

    color: white;

    font-size: 55px;
    line-height: 1;

    padding: 15px 20px;

    cursor: pointer;

    z-index: 100001;

    transition: background 0.2s ease;
}

.things-lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.things-lightbox-prev {
    left: 25px;
}

.things-lightbox-next {
    right: 25px;
}

.mobile-designer-credit {
    display: none;
}



/* =========================
   MOBILE - TOWTRUCK SITE
========================= */

@media (max-width: 800px) {



    /* =========================
       MOBILE HERO TEXT
    ========================= */

    .hero h1 {
        font-size: 22px !important;
        line-height: 1.1;
        letter-spacing: 1px;
        bottom: 60px;
    }

    .hero p {
        position: relative;
        font-size: 14px !important;
    }


    /* =========================
       MOBILE NAVIGATION
    ========================= */

    .top-nav,
    .top-nav.main-page-nav {
        position: relative !important;
        top: auto !important;
        left: auto !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        background: #1c1c1c;
    }

    .top-nav ul {
        display: flex;
        flex-direction: column;

        width: 100%;

        margin: 0;
        padding: 0;
    }

    .top-nav li {
        width: 100%;
        flex: none;
    }

    .top-nav a {
        width: 100% !important;

        height: 48px !important;
        min-height: 48px !important;

        padding: 0 10px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 13px;
        line-height: 1.1;
        letter-spacing: 1px;

        text-align: center;

        border-bottom: 1px solid #666;
    }


    /* =========================
       HIDE SIDEBAR PHONE BOX
    ========================= */

    .top-nav .phone-box {
        display: none;
    }


    /* =========================
       MOBILE VISITOR COUNTER
    ========================= */

    .top-nav .visitor-counter {
        width: 100%;

        padding: 8px 5px 10px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5px;

        background: #1c1c1c;

        border-top: 1px solid #555;
        border-bottom: none;

        text-align: center;
    }

    .top-nav .visitor-counter span {
        color: white;

        font-size: 10px;
        font-weight: bold;
        letter-spacing: 0.3px;
    }

    .top-nav .visitor-counter strong {
        color: #ff0000;

        font-size: 11px;
        font-weight: 900;
    }


    /* =========================
       SERVICES POPUP - MOBILE
    ========================= */

    .services-popup {
        width: 90% !important;
        max-width: 340px !important;

        max-height: 90vh;
        overflow-y: auto;

        padding: 25px 20px !important;
    }

    .services-popup h2 {
        font-size: 21px !important;
        line-height: 1.2;

        margin-bottom: 12px;
        padding-right: 25px;
    }

    .roadside-services {
        margin-top: 12px;
    }

    .roadside-service {
        gap: 10px;
        margin-bottom: 9px;
    }

    .roadside-service img {
        width: 55px;
        height: 42px;
    }

    .roadside-service span {
        font-size: 16px !important;
        letter-spacing: 0;
    }

    .services-close {
        top: 7px !important;
        right: 8px !important;
        left: auto !important;

        font-size: 25px !important;
    }

    .services-popup .emergency {
        margin-top: 8px !important;
    }

    .services-popup .emergency span {
        font-size: 19px !important;
        line-height: 1.15;
    }


    /* =========================
       WHY PICK US - MOBILE
    ========================= */

    .why-pick-us-page main {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 20px 0 !important;
    }

    .why-pick-us-page main h1 {
        font-size: 28px !important;
        margin: 10px 15px 25px;
    }

    .why-us-intro {
        display: flex;
        flex-direction: column;

        width: 100%;
        gap: 0;

        margin: 0;
    }

    .why-us-left,
    .why-us-content {
        width: 100% !important;
    }

    .why-us-left .why-us-large-image,
    .why-us-image {
        display: block;

        width: 85% !important;
        max-width: 320px !important;
        height: auto !important;

        margin: 15px auto !important;

        object-fit: contain;

        border-radius: 6px;
    }

    .why-us-content p,
    .why-us-under-image,
    .about-text,
    .after-accident-steps p {
        width: auto !important;

        margin: 15px 18px 25px !important;

        font-size: 17px !important;
        line-height: 1.5;

        text-align: left;
    }

    .why-us-bullets {
        margin: 15px 20px 25px 35px !important;
        padding-left: 15px;
    }

    .why-us-bullets li {
        font-size: 17px !important;
        line-height: 1.5;

        margin-bottom: 15px;
        padding-left: 3px;
    }


    /* =========================
       MAIN PAGE
    ========================= */

    .home-page main {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* =========================
       MOBILE HERO / TRUCK IMAGE
    ========================= */

    .hero {
        width: 100% !important;

        height: 150px !important;
        min-height: 150px !important;

        margin: 0 !important;
        padding: 0 !important;

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;

        overflow: hidden;

    }


    /* =========================
   MOBILE TOP HEADER
========================= */

.site-header {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 10px 12px 14px !important;

    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    background: #ddd;
}   


/* =========================
   MOBILE LOGO
========================= */

.logo {
    width: 150px !important;
    height: 85px !important;

    margin: 0 auto 4px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
}


/* =========================
   MOBILE EMERGENCY TEXT
========================= */

.main-page-emergency,
.site-header .emergency {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: none !important;

    font-size: 18px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;

    text-align: center !important;
}


/* =========================
   MOBILE PHONE NUMBER
========================= */

.call-today {
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    text-align: center !important;
}

.call-today span {
    font-size: 11px !important;
}

.call-today strong {
    font-size: 19px !important;
}

.call-today strong a {
    white-space: nowrap !important;
}

    .site-header + * {
        margin-top: 0 !important;
    }


    /* =========================
       THINGS WE HAVE DONE - MOBILE
    ========================= */

    .things-we-have-done-page {
        margin-left: 0;
        width: 100%;
    }

    .things-we-have-done-intro {
        width: 100%;
        padding: 35px 20px;
    }

    .things-we-have-done-intro h1,
    .things-we-have-done-intro h2 {
        font-size: 34px;
    }

    .things-we-have-done-intro p {
        font-size: 17px;
        line-height: 1.6;
    }

    .things-we-have-done-intro-second {
        padding-top: 55px;
    }

    .things-we-have-done-gallery {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .things-we-have-done-image {
        width: 100%;
        height: 280px;
    }

    .things-we-have-done-image img {
        filter: none;
        transform: none;
    }


    /* =========================
       THINGS LIGHTBOX - MOBILE
    ========================= */

    .things-lightbox {
        padding: 20px;
    }

    .things-lightbox img {
        max-width: 92vw;
        max-height: 80vh;
    }

    .things-lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 42px;
    }

    .things-lightbox-arrow {
        font-size: 38px;
        padding: 10px 12px;
    }

    .things-lightbox-prev {
        left: 5px;
    }

    .things-lightbox-next {
        right: 5px;
    }
    /* =========================
   DESIGNER CREDIT - MOBILE
========================= */

.mobile-designer-credit {
    display: block !important;

    width: fit-content !important;
    max-width: calc(100% - 20px) !important;

    margin: 12px auto !important;
    padding: 14px 12px !important;

    box-sizing: border-box !important;

    background: white;

    border-radius: 7px;

    font-family: "Bruno Ace", sans-serif;
    font-size: 14px;
    font-weight: 500;

    text-align: center;

    color: #222;
}

.mobile-rainbow-credit {
    margin-left: 4px;

    font-family: "Bruno Ace", sans-serif;
    font-weight: 700;

    text-decoration: none;

    background: linear-gradient(
        90deg,
        #ff0000,
        #ff7a00,
        #ffff00,
        #00ff66,
        #00e5ff,
        #0066ff,
        #8a2be2,
        #ff00aa,
        #ff0000
    );

    background-size: 300% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;

    animation: mobile-credit-rainbow 14s linear infinite;
}

@keyframes mobile-credit-rainbow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

}