/* =========================================================
   GLOBAL / RESET
   ========================================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: #f4f4f4;
    color: #333;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

header {
    display: flex;
    justify-content: center;
    width: 100%;
    background-image: url('Images/BackgroundImages/NewCamoBackground03_Full.png');
    background-size:contain;
}

header h1 {
    color: #F4B400;
    text-align: center;
}

.headerIMG {
    display: block;
    width: 180px;
    max-width: 80vw;
    height: auto;
    margin: 0 auto;
    padding-top: 5px;
}


/* Bootstrap navbar */
header .navbar {
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}



/* Main navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding-top: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

nav a:hover {
    color: #F4B400;
}

h2 a{
    color: #c0ad8c;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

h2 a:hover{
    color: #F4B400;
    text-decoration: underline;
}

.header-left{
    left: 70%;
    width: 30%;
}

.header-right{
    right: 70%;
    width: 30%;
}

.header-contact {
    position: absolute;
    color: white;
    top: 2px;
    right: 5%;
    /* transform: translateY(-50%); */
    /* text-align: center; */
    font-weight: bold;
    line-height: 1.2;
}

.header-contact div {
    font-size: 18px;
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.header-contact a:hover {
    text-decoration: underline;
}

.header-icon-image{
    position: absolute;
    color: white;
    /* width: 10%; */
    top: 15px;
    left: 5%;
    /* transform: translateY(-50%); */
    /* text-align: center; */
    /* font-weight: bold; */
    /* line-height: 1.2; */
}

/* Hamburger button */
.menu-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
}


/* Mobile navigation menu */
#navMenu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 12px; */
    width: 100%;
    /* margin-top: 5px;
    padding-bottom: 5px; */
}

#navMenu.show {
    display: flex;
}

.menuToggle {
    align-self: center;
}


/* =========================================================
   MAIN BACKGROUND
   ========================================================= */

.mainBackground {
    padding-top: 110px;
    background-color: #c0ad8c;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;
    color: white;
    text-align: center;
    padding: 30px 10px;
    background-color: #555;
    background-image: url('Images/JobImages/SidingJob01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h2 {
    font-size: clamp(30px, 7vw, 48px);
    line-height: 1.15;
}

.hero h3 {
    font-size: clamp(18px, 4vw, 28px);
    line-height: 1.35;
}

.hero h4 {
    font-size: clamp(16px, 3.5vw, 22px);
    line-height: 1.4;
}

.hero p {
    margin: 20px 0;
    font-size: clamp(16px, 3vw, 20px);
}


/* =========================================================
   GENERAL BACKGROUNDS
   ========================================================= */

.basicBackground {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    border-radius: 10px;

    background-image: url('Images/BackgroundImages/OliveGreenBG04_Full.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* Nested background */
.basicBackground .basicBackground {
    width: 100%;
}


/* =========================================================
   HOME TEXT
   ========================================================= */

.homeFont {
    font-family: 'Franklin Gothic Medium',
                 'Arial Narrow',
                 Arial,
                 sans-serif;
}

.homeSpacing {
    padding-top: 20px;
}

.homeLabel {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.4;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;
    background: #F4B400;
    color: black;
    padding: 13px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    max-width: 100%;
}

.button:hover {
    background: #d99f00;
    color: black;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px 10px;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
    /* background-size: cover; */
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.card h3 {
    color: #c0ad8c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.card p {
    color: #c0ad8c;
    line-height: 1.6;
}

.card img{
    width: 50%;
}


/* Prevent decorative images from overflowing */
.card img,
.basicBackground img,
.hero img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   FACEBOOK
   ========================================================= */


.fb-root {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 4px;

    border-radius: 8px;
    text-align: center;

    overflow: hidden;
}


/* Horizontal scrolling area */
.fb-scroll-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
}


/*
   Facebook's actual content.

   Keep this wider than a very small phone so the user
   can swipe horizontally when necessary.
*/
.fb-container {
    width: 500px;
    max-width: none;
    margin: 0 auto;
}


/* Facebook plugin */
.fb-page {
    width: 500px;
    max-width: none;
    margin: 0 auto;
}
#fbContactScrollContainer{
    width: 100%;
    /* width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto; */
}
#fbContactPage{
    width: 100%;
    text-align: center;
}
#fbContactHeader{
    right: 0%;
    width: 100%;
    color: white;
    text-align: center;
}


/* =========================================================
   PROJECT CAROUSEL
   ========================================================= */

.project-card {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 20px;

    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Bootstrap carousel */
#projectCarousel {
    width: 100%;
    height: 100%;
}


/* Carousel inner */
#carouselImages {
    width: 100%;
    height: 100%;
}


/* Individual slides */
#carouselImages .carousel-item {
    width: 100%;
    height: 100%;
    text-align: center;
}


/* Carousel images */
#carouselImages img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* Carousel controls */
#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
    top: 0;
    bottom: 0;
    width: 15%;
    align-items: center;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    color: white;
    text-align: center;
    line-height: 1.7;
}

.about h1,
.about h2,
.about h4 {
    line-height: 1.4;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    background: #222;
    color: white;
    text-align: center;
    padding: 50px;
}


/* =========================================================
   FORM
   ========================================================= */

#estimateForm {
    width: 100%;
    max-width: 100%;
}

#estimateForm input,
#estimateForm textarea,
#estimateForm select {
    max-width: 100%;
}

#estimateForm textarea {
    resize: vertical;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    width: 100%;
    background-color: #111;
    background-size: cover;
    background-position: center;
    color: #bbb;
    text-align: center;
    padding: 20px 10px;
}

footer h3 {
    font-size: clamp(14px, 3vw, 20px);
    line-height: 1.4;
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 575.98px) {

    html {
        scroll-padding-top: 100px;
    }

    .mainBackground {
        padding-top: 100px;
    }

    .headerIMG {
        width: 150px;
    }

    .header-contact {
        margin-right: 0%;
    }

    .header-contact div {
        font-size: 10px;
    }

    .header-contact a {
        font-size: 11px;
    }

    .basicBackground {
        padding: 12px;
        border-radius: 8px;
    }

    .section {
        padding: 15px 5px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .hero {
        padding: 20px 8px;
    }

    .hero .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .button {
        padding: 12px 20px;
        font-size: 15px;
    }

    .card {
        padding: 18px;
    }

    .project-card {
        height: 300px;
    }

    /*
       Facebook on small phones.
       The user can swipe horizontally.
    */
    .fb-container {
        width: 450px;
    }

    .fb-page {
        width: 450px;
    }

}


/* =========================================================
   PHONE LANDSCAPE
   ========================================================= */

@media (min-width: 576px) and (max-width: 767.98px) {

    .headerIMG {
        width: 170px;
    }

    .header-contact {
        margin-right: 0%;
    }

    .header-contact div {
        font-size: 12px;
    }

    .header-contact a {
        font-size: 14px;
    }
    .section {
        padding: 20px 10px;
    }

    .basicBackground {
        padding: 15px;
    }

    .project-card {
        height: 350px;
    }

    .fb-container,
    .fb-page {
        width: 500px;
    }

}


/* =========================================================
   TABLETS
   ========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

    .headerIMG {
        width: 190px;
    }

    .header-contact {
        margin-right: 0%;
    }

    .header-contact div {
        font-size: 15px;
    }

    .header-contact a {
        font-size: 17px;
    }
    .section {
        padding: 30px 15px;
    }

    .basicBackground {
        width: 95%;
        padding: 20px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .project-card {
        height: 375px;
    }

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .headerIMG {
        width: 250px;
    }

    .header-contact {
        margin-right: 0%;
    }

    .header-contact div {
        font-size: 18px;
    }

    .header-contact a {
        font-size: 20px;
    }
    .menu-btn {
        display: none;
    }

    #navMenu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 0;
        padding-bottom: 0;
    }

    .section {
        padding: 40px 20px;
    }

    .basicBackground {
        width: 100%;
        padding: 20px;
    }

    .project-card {
        height: 400px;
    }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .headerIMG {
        width: 300px;
    }

    .header-contact {
        margin-right: 0%;
    }

    .header-contact div {
        font-size: 20px;
    }

    .header-contact a {
        font-size: 23px;
    }
    .section {
        padding-left: 30px;
        padding-right: 30px;
    }

}

