/* =========================
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: 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;
}

/* =========================
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: 100px;

    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;
}

/* =========================
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: 325px;
}   

/* =========================
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/background2.png");

    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: 20px;

    font-size: 28px;
    font-weight: bold;
}

/* =========================
MOBILE
========================= */

@media (max-width: 800px) {

    .site-header {
        height: auto;
        padding: 25px;
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 22px;
        font-weight: 900;
        letter-spacing: 2px;
        color: #12355b;
    }

    .call-today {
        align-items: center;
    }

    .top-nav ul {
        height: auto;
        flex-wrap: wrap;
    }

    .top-nav a {
        min-width: 160px;
        padding: 18px 20px;
        font-size: 16px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 21px;
    }
}

/* =========================
   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;
}

main {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   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: 40%;
}


/* TOP IMAGE */

.why-us-left .why-us-large-image {
    display: block;
    width: 800px;
    height: auto;
    max-width: 100%;
    margin: 0;
    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;
}
