/* =========================
   BASIC RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER
========================= */

.site-header {
    height: 110px;
    background: darkgrey;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 60px;

    border-bottom: 5px solid #000;
}


/* =========================
   LOGO
========================= */

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #12355b;
}


/* =========================
   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: flex-end;
}

.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;
}


/* =========================
   LEFT NAVIGATION
========================= */

.top-nav {
    width: 190px;
    background: #1c1c1c;

    position: absolute;
    top: 0;
    left: 0;

    min-height: calc(100vh - 108px);

    z-index: 100;
}

.top-nav ul {
    list-style: none;

    display: flex;
    flex-direction: column;

    width: 100%;

    margin: 0;
    padding: 0;
}

.top-nav li {
    width: 100%;
}


/* =========================
   NORMAL NAV BUTTONS
========================= */

.top-nav li:not(.things-we-have-done-phone) > a {
    width: 100%;
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px 10px;

    box-sizing: border-box;

    color: #ffffff;
    background: #1c1c1c;

    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 li:not(.things-we-have-done-phone) > a:hover {
    background: #b00000;
    color: #ffffff;
}


/* =========================
   CALL US 24/7
========================= */

.top-nav .things-we-have-done-phone {
    width: 100%;

    padding: 18px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #1c1c1c;

    border-bottom: 2px solid #666666;

    box-sizing: border-box;
}

.top-nav .things-we-have-done-phone span {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
}

.top-nav .things-we-have-done-phone a {
    display: block;

    width: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    background: none;

    color: #ff0000;

    font-size: 18px;
    font-weight: 900;

    text-decoration: none;

    border: none;
}

.top-nav .things-we-have-done-phone a:hover {
    background: none;
    color: #ffffff;
}

/* =========================
   NEED DIRECTIONS
========================= */

.top-nav .directions-button {
    color: white;
}

.top-nav .directions-button:hover {
    color: red;
}

/* =========================
   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: #111;

    border-radius: 10px;

    box-sizing: border-box;

    z-index: 99999;
}


/* =========================
   SERVICES POPUP HEADING
========================= */

.services-popup h2 {
    margin-top: 0;
    margin-bottom: 20px;

    font-size: 30px;
    font-weight: 900;

    text-decoration: underline;

    color: white;
}


/* =========================
   SERVICES LIST
========================= */

.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: #111;
}


/* =========================
   POPUP CLOSE BUTTON
========================= */

.services-close {
    position: absolute;

    top: 10px;
    left: 465px;

    right: auto;

    background: none;

    border: none;

    font-size: 30px;

    color: black;

    cursor: pointer;
}


/* =========================
   POPUP PHONE NUMBER
========================= */

.services-popup .emergency {
    margin-top: 10px;

    text-align: center;
}

.services-popup .emergency span {
    font-size: 28px;
    font-weight: 900;

    line-height: 1.2;

    color: red;
}

/* =========================
   LOCATION PAGE
========================= */

.location-page {
    background: #d3d3d3;
    min-height: 100vh;
}


/* =========================
   MAIN LOCATION CONTENT
========================= */

.location-main {
    width: calc(100% - 190px);
    margin-left: 190px;

    padding: 40px;

    box-sizing: border-box;
}


/* =========================
   LOCATION HEADING
========================= */

.location-heading {
    text-align: center;

    margin-bottom: 35px;
}

.location-heading h1 {
    font-size: 38px;
    font-weight: 900;

    color: #12355b;

    margin-bottom: 15px;
}

.location-heading p {
    font-size: 20px;
    line-height: 1.5;

    color: #222;
}


/* =========================
   ADDRESS
========================= */

.location-address {
    text-align: center;

    margin-bottom: 40px;
}

.location-address h2 {
    font-size: 28px;

    color: #12355b;

    margin-bottom: 15px;
}

.location-address p {
    font-size: 20px;
    line-height: 1.5;
}


/* =========================
   LOCATION BUTTONS
========================= */

.location-actions {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 25px;
}

.location-directions,
.location-call {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 200px;

    padding: 15px 25px;

    background: #12355b;
    color: white;

    font-size: 17px;
    font-weight: 900;

    text-decoration: none;

    border-bottom: 4px solid red;
    border-radius: 5px;
}

.location-directions:hover,
.location-call:hover {
    background: #1c1c1c;
}


/* =========================
   GOOGLE MAP
========================= */

.location-map {
    width: 750px;
    max-width: 90%;

    margin: 40px auto;

    text-align: center;
}

.location-map h2 {
    font-size: 28px;
    font-weight: 900;

    color: #12355b;

    margin-bottom: 20px;
}

.location-map iframe {
    display: block;

    width: 100%;
    height: 525px;

    margin: 0 auto;

    border: 0;
    border-radius: 8px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* =========================
   PICKING UP A VEHICLE
========================= */

.location-pickup {
    padding: 35px 50px;
}

.location-pickup h2 {
    text-align: center;

    font-size: 34px;
    font-weight: 900;

    color: #12355b;

    margin-bottom: 25px;
}

.location-pickup p {
    text-align: left;

    font-size: 21px;
    font-weight: 600;
    line-height: 1.6;

    color: #000;

    margin-bottom: 20px;
}


/* =========================
   24/7 TOWING SECTION
========================= */

.location-hours {
    padding: 35px 50px;
}

.location-hours h2 {
    text-align: center;

    font-size: 34px;
    font-weight: 900;

    color: #12355b;

    margin-bottom: 25px;
}

.location-hours p {
    text-align: left;

    font-size: 21px;
    font-weight: 600;
    line-height: 1.6;

    color: #000;

    margin-bottom: 20px;
}


/* =========================
   NEED HELP FINDING US
========================= */

.location-help {
    padding: 35px 50px;
}

.location-help h2 {
    text-align: center;

    font-size: 34px;
    font-weight: 900;

    color: #12355b;

    margin-bottom: 25px;
}

.location-help p {
    margin: 0 0 15px;

    text-align: center;

    font-size: 28px;
    font-weight: 700;

    color: #000;
}

.location-help .location-phone-link {
    display: block;

    width: fit-content;
    margin: 20px auto 0;

    text-align: center;

    font-size: 32px;
    font-weight: 900;

    color: #b00000;

    text-decoration: none;

    cursor: pointer;
}

.location-help .location-phone-link:hover {
    color: red;
}   

.location-help a:hover {
    color: #b00000;
}

/* =========================
   LOCATION NAV VIDEO
========================= */

.top-nav .location-nav-video {
    width: 190px;

    padding: 0;
    margin: 0;

    overflow: visible;

    background: #1c1c1c;
}

.top-nav .location-nav-video video {
    display: block;

    width: 400px;
    height: 300px;

    object-fit: cover;

    margin: 0;
    padding: 0;
}

/* =========================
   BOTTOM VIDEO - DESKTOP
========================= */

.location-bottom-video {
    display: none;
}

/* =========================
   LOCATION PAGE - MOBILE
========================= */

@media (max-width: 800px) {


    /* =========================
       HIDE TOP HEADER
    ========================= */

    .site-header {
        display: none;
    }


    /* =========================
       MOBILE NAVIGATION
       ONE BUTTON PER ROW
    ========================= */

    .top-nav {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;
        min-height: 0;

        margin: 0;

        background: #1c1c1c;
    }

    .top-nav ul {
        display: flex;
        flex-direction: column;

        width: 100%;

        margin: 0;
        padding: 0;
    }

    .top-nav li {
        width: 100%;
    }


    /* NORMAL NAV BUTTONS */

    .top-nav li:not(.things-we-have-done-phone):not(.location-nav-video) > a {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 55px;

        padding: 10px;

        background: #1c1c1c;
        color: white;

        border-bottom: 1px solid #666;

        font-size: 15px;
        font-weight: 900;
        letter-spacing: 1px;

        text-align: center;
        text-decoration: none;

        box-sizing: border-box;
    }

    .top-nav li:not(.things-we-have-done-phone):not(.location-nav-video) > a:hover {
        background: #b00000;
    }


    /* =========================
       NAV PHONE
    ========================= */

    .top-nav .things-we-have-done-phone {
        width: 100%;

        padding: 14px 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        background: #1c1c1c;

        border-bottom: 1px solid #666;

        text-align: center;
    }

    .top-nav .things-we-have-done-phone span {
        margin-bottom: 5px;

        font-size: 14px;
        font-weight: 900;

        color: white;
    }

    .top-nav .things-we-have-done-phone a {
        width: auto;
        min-height: 0;

        margin: 0;
        padding: 0;

        background: none;

        color: red;

        font-size: 20px;
        font-weight: 900;

        border: none;

        text-decoration: none;
    }


    /* =========================
       HIDE NAV VIDEO
       VIDEO WILL APPEAR AT BOTTOM
    ========================= */

    .top-nav .location-nav-video {
        display: none;
    }


    /* =========================
       MAIN LOCATION CONTENT
    ========================= */

    .location-main {
        width: 100%;

        margin: 0;
        padding: 25px 15px;

        box-sizing: border-box;
    }


    /* =========================
       MAIN HEADING
    ========================= */

    .location-heading {
        width: 100%;

        margin: 0 0 30px;

        text-align: center;
    }

    .location-heading h1 {
        font-size: 30px;
        line-height: 1.15;

        margin-bottom: 15px;
    }

    .location-heading p {
        font-size: 18px;
        line-height: 1.5;
    }


    /* =========================
       ADDRESS
    ========================= */

    .location-address {
        width: 100%;

        margin: 0 0 30px;

        text-align: center;
    }

    .location-address h2 {
        font-size: 27px;

        margin-bottom: 15px;
    }

    .location-address p {
        font-size: 18px;
        line-height: 1.5;
    }


    /* =========================
       GET DIRECTIONS / CALL NOW
    ========================= */

    .location-actions {
        display: flex;
        flex-direction: column;

        width: 100%;

        gap: 12px;

        margin-top: 20px;
    }

    .location-directions,
    .location-call {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;
        max-width: 320px;

        min-height: 52px;

        margin: 0 auto;

        padding: 10px 15px;

        font-size: 16px;
        font-weight: 900;

        box-sizing: border-box;
    }


    /* =========================
       GOOGLE MAP
    ========================= */

    .location-map {
        width: 100%;
        max-width: 100%;

        margin: 30px auto;

        text-align: center;
    }

    .location-map h2 {
        font-size: 27px;

        margin-bottom: 15px;
    }

    .location-map iframe {
        display: block;

        width: 100% !important;
        max-width: 100%;

        height: 300px;

        margin: 0 auto;

        border: 0;
        border-radius: 6px;

        box-sizing: border-box;
    }


    /* =========================
       PICKING UP A VEHICLE
    ========================= */

    .location-pickup {
        width: 100%;

        padding: 30px 5px;

        box-sizing: border-box;
    }

    .location-pickup h2 {
        margin-bottom: 25px;

        text-align: center;

        font-size: 28px;
        font-weight: 900;
        line-height: 1.2;
    }

    .location-pickup p {
        margin-bottom: 20px;

        text-align: left;

        font-size: 19px;
        font-weight: 600;
        line-height: 1.55;

        color: #000;
    }


    /* =========================
       24/7 TOWING
    ========================= */

    .location-hours {
        width: 100%;

        padding: 30px 5px;

        box-sizing: border-box;
    }

    .location-hours h2 {
        margin-bottom: 25px;

        text-align: center;

        font-size: 28px;
        font-weight: 900;
        line-height: 1.2;
    }

    .location-hours p {
        margin-bottom: 20px;

        text-align: left;

        font-size: 19px;
        font-weight: 600;
        line-height: 1.55;

        color: #000;
    }


    /* =========================
       NEED HELP FINDING US
    ========================= */

    .location-help {
        width: 100%;

        padding: 30px 5px;

        text-align: center;

        box-sizing: border-box;
    }

    .location-help h2 {
        margin-bottom: 20px;

        text-align: center;

        font-size: 28px;
        font-weight: 900;
        line-height: 1.2;
    }

    .location-help p {
        margin-bottom: 15px;

        text-align: center;

        font-size: 25px;
        font-weight: 700;

        color: #000;
    }

    .location-help .location-phone-link {
        display: block;

        width: fit-content;

        margin: 15px auto 0;

        text-align: center;

        font-size: 27px;
        font-weight: 900;

        color: #b00000;

        text-decoration: none;
    }


    /* =========================
       BOTTOM VIDEO
    ========================= */

    .location-bottom-video {
        display: flex;

        width: 100%;

        justify-content: center;

        padding: 30px 15px;

        background: #d3d3d3;

        box-sizing: border-box;
    }

    .location-bottom-video video {
        display: block;

        width: 100%;
        max-width: 500px;

        height: auto;

        margin: 0 auto;

        object-fit: cover;
    }


    /* =========================
       SERVICES POPUP
    ========================= */

    .services-popup {
        width: 90%;
        max-width: 340px;

        max-height: 90vh;

        padding: 25px 20px;

        overflow-y: auto;
    }

    .services-popup h2 {
        font-size: 21px;
        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;
    }

    .services-close {
        top: 7px;
        right: 8px;
        left: auto;

        font-size: 25px;
    }

    .services-popup .emergency {
        display: block;

        margin-top: 8px;
    }

    .services-popup .emergency span {
        font-size: 19px;

        line-height: 1.15;
    }

}