
/* GENERAL PAGE STYLING */
body {
    background-color: #eeeeee;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
    max-width: 1100px;
    line-height: 1.6;
}

/* HEADER SECTION */
#header {
    background-color: #111111;
    color: white;
    text-align: center;
    padding: 35px;
    border-bottom: 7px solid #39e600;
}

#header h1 {
    font-size: 38px;
    letter-spacing: 3px;
    margin-bottom: 0;
}

#header p {
    color: #39e600;
    font-size: 19px;
    font-style: italic;
}

/* NAVIGATION SECTION */
#navigation {
    background-color: #252525;
    text-align: center;
    padding: 18px;
}

#navigation a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    margin: 5px;
    display: inline-block;
    font-weight: bold;
}

/* DIFFERENT HYPERLINK STATES */
#navigation a:link {
    color: white;
}

#navigation a:visited {
    color: #aaff99;
}

#navigation a:hover {
    background-color: #39e600;
    color: black;
    border-radius: 8px;
}

#navigation a:active {
    background-color: white;
    color: #111111;
}

#navigation a:focus {
    outline: 2px solid #39e600;
}

/* HOME SECTION */
#home {
    background-color: white;
    padding: 30px;
    margin: 25px auto;
    border: 2px solid #cccccc;
    overflow: auto;
}

#home h2 {
    color: #208500;
    font-size: 28px;
}

/* GREEN BMW PICTURE */
.main-image {
    width: 42%;
    float: right;
    margin: 10px 0 15px 25px;
    border: 5px solid #222222;
    border-radius: 10px;
}

/* INVENTORY BUTTON */
.button-link {
    display: inline-block;
    background-color: #208500;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
}

.button-link:hover {
    background-color: #111111;
}

/* INVENTORY SECTION */
#inventory {
    background-color: #151515;
    color: white;
    padding: 25px;
    margin: 20px auto;
    overflow: auto;
    border-left: 7px solid #39e600;
}

#inventory h2 {
    color: #39e600;
    text-align: center;
}

/* VEHICLE COLUMNS */
.vehicle {
    background-color: #303030;
    width: 43%;
    float: left;
    margin: 1.5%;
    padding: 2%;
    border-radius: 10px;
    border-bottom: 4px solid #39e600;
    box-sizing: border-box;
}

.vehicle h3 {
    color: #66ff33;
}

/* SERVICES SECTION */
#services {
    background-color: white;
    width: 45%;
    float: left;
    padding: 20px;
    margin: 15px 1%;
    box-sizing: border-box;
    border: 2px solid #39e600;
    min-height: 330px;
}

#services h2 {
    color: #208500;
}

/* ABOUT US SECTION */
#about {
    background-color: #dddddd;
    width: 49%;
    float: right;
    padding: 20px;
    margin: 15px 1%;
    box-sizing: border-box;
    border: 2px solid #444444;
    min-height: 330px;
}

#about h2 {
    color: #208500;
}

/* CUSTOMER REVIEWS SECTION */
#reviews {
    background-color: #252525;
    color: white;
    padding: 25px;
    margin: 20px auto;
    clear: both;
    text-align: center;
    border-radius: 10px;
}

#reviews h2 {
    color: #39e600;
}

/* FOOTER / CONTACT SECTION */
#contact {
    background-color: #111111;
    color: white;
    padding: 30px;
    text-align: center;
    border-top: 7px solid #39e600;
    clear: both;
}

#contact h2 {
    color: #39e600;
}

.copyright {
    border-top: 1px solid #777777;
    padding-top: 15px;
    margin-top: 25px;
    font-size: 13px;
    color: #bbbbbb;
}

/* RESPONSIVE MEDIA QUERY */
@media screen and (max-width: 700px) {

    body {
        width: 95%;
    }

    #header {
        padding: 20px;
    }

    #header h1 {
        font-size: 25px;
    }

    #navigation {
        padding: 10px;
    }

    #navigation a {
        display: block;
        margin: 5px auto;
    }

    /* Adjust BMW picture for smaller screens */
    .main-image {
        width: 100%;
        float: none;
        margin: 10px 0;
        box-sizing: border-box;
    }

    /* Stack vehicle columns */
    .vehicle {
        width: 100%;
        float: none;
        margin: 12px 0;
    }

    /* Stack services and about sections */
    #services,
    #about {
        width: 100%;
        float: none;
        margin: 15px 0;
    }

}
