/* Body */

body {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
}

/* NavBar */

.nav-bar {
    padding-top: 7px;
}

.nav-links {
    display: none;
}

.beaver-lake-logo {
    cursor: pointer;
    object-fit: contain;
    width: 145px;
    height: 34px;
    margin-left: 9px;
}

.hamburger-container {
    cursor: pointer;
    float: right;
    padding-right: 13px;
}

.bar1, .bar2, .bar3 {
    width: 21px;
    height: 1px;
    background-color: #4d4d4d;
    margin: 7px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    -webkit-transform: rotate(-43deg) translate(-2px, 5px);
    transform: rotate(-43deg) translate(-2px, 5px);
}
  
/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}
  
  /* Rotate last bar */
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(47deg) translate(-7px, -9px);
}

#mobile-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    right: 0px;
    width: 100%;
    z-index: 9999;
    padding-top: 15px;
    padding-bottom: 20px;
    -webkit-box-shadow: 0px 3px 5px rgba(100, 100, 100, 0.49);
    -moz-box-shadow:    0px 3px 5px rgba(100, 100, 100, 0.49);
    box-shadow:         0px 3px 5px rgba(100, 100, 100, 0.49);
}

#mobile-menu a {
    color: #000000;
}

.mobile-nav-link {
    padding: 20px;
    font-size: 18px;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    #mobile-menu {
        display: none;
    }

    .nav-bar {
        display: flex;
        justify-content: space-between;
        padding: 15px 12px;
    }
    .nav-links {
        display: flex;
        margin-right: 22px;
        justify-content: flex-end;
    }

    .nav-link {
        font-size: 16px;
        font-weight: 300;
        margin-right: 14px;
        padding: 15px 0 0;
        max-width: 100px;
    }
    
    .nav-link:last-child {
        margin-right: 0px;
    }
    
    .nav-link a:hover {
        color: #ed3128;
        font-weight: 500;
        cursor: pointer;
    }

    .nav-links a {
        text-decoration: none;
        color: #000000;
    }

    .beaver-lake-logo {
        width: 240px;
        height: 57px;
        margin-right: 28px;
    }

    .hamburger-container {
        display: none;
    }
}

@media only screen and (min-width: 1024px) {
    .beaver-lake-logo {
        margin-right: 60px;  
    }

    .nav-links {
        justify-content: flex-start;
    }

    .nav-link {
        font-size: 18px;
        margin-right: 60px;
        padding: 12px 0 0;
    }
}


/* Hero Section */

.hero {
    display: flex;
    height: 329px;
    background-color: #ecf3fa;
    text-align: center;
}

.gradient-container {
    position:relative;
    display:inline-block;
}

.gradient-container:after {
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    display:inline-block;
    /* background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); FF3.6+ */
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0))); Chrome,Safari4+ */
    /* background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); Chrome10+,Safari5.1+ */
    /* background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); Opera 11.10+ */
    /* background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); IE10+ */
    /* background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); W3C */
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); IE6-9 */
    background-image: linear-gradient(to right, #ecf3fa, rgba(232, 238, 243, 0.81) 44%, rgba(216, 216, 216, 0));
  }

.hero-image {
    display: none;
}

.page-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.11;
    color: #18548d;
    max-width: 306px;
}

.hero-left {
    display: flex;
    width: 100%;
    max-width: 273px;
    margin: 0 auto;
 }

.hero-left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    display: flex;
}

.hero-body-text {
    margin-top: 6px;
    max-width: 285px;
    font-size: 16px;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    line-height: 1.38;
    margin: 10px auto;
}

.contact-link {
    color: #4d4d4d;
    text-decoration: underline;
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
}

@media only screen and (min-width: 768px) {
    .hero {
        padding-left: 12%;
        height: 425px;
        text-align: left;
    }
    .hero-image {
        height: 425px;
        display:block;
    }
    
    .hero-image::after {
        display: block;
        position: relative;
        background-image: linear-gradient(to right, #ecf3fa, rgba(232, 238, 243, 0.81) 44%, rgba(216, 216, 216, 0));
        margin-top: -150px;
        height: 150px;
        width: 100%;
        content: '';
    }

    .hero-left {
        max-width: none;
    }
    
    .hero-left-content {
        text-align: left;
    }

    .page-title {
        font-size: 36px;
    }

    .hero-body-text {
        line-height: 1.22;
        margin: 10px 0 0 0;
        max-width: 325px;
    }
}

/* Services Section */

.services-section {
    padding-top: 28px;
    padding-bottom: 50px;
}

.service-title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: #18548d;
    margin-bottom: 8px;
    text-align: center;
}

.service {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    margin: 0 auto;
    padding-top: 48px;
}

.services-icon {
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.services-desc {
    display: none;
}

@media only screen and (min-width: 768px) {
    .services-section {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 80px;
        margin: 68px 186px;
        padding: 0px;
    }  
    
    .service {
        padding-top: 0px;
    }

    .services-desc {
        display: inline;
        font-size: 16px;
        line-height: normal;
        text-align: center;
        font-weight: 300;
    }
    
}

/* Other */

.hide-for-mobile {
    display: none;
}

@media only screen and (min-width: 768px) {
    .hide-for-mobile {
        display: inline;
    }

    .hide-for-desktop {
        display: none;
    }
}

/* Testimonials Section */


.testimonials-section {
    height: 350px;
    display: flex;
    justify-content: center;
    position: relative;
}

.testimonial-content {
    text-align: center;
    width: 300px;
    margin: 50px auto;
}

.testimonials-title {
    font-size: 20px;
    font-weight: 500;
    color: #18548d;
    margin-bottom: 8px;
}

.testimonial-carousel {
    display: flex;
}

#testimonials {
    overflow: scroll;
    color: #4d4d4d;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}

#testimonials::-webkit-scrollbar { width: 0 !important }


.testimonials-scroller {
    width: 700%;
    display: flex;
}

.testimonial-text {
    font-size: 15px;
    max-width: 265px;
    margin-right: 17.5px;
    margin-left: 17.5px;
}

.carousel-arrow {
    max-width: 16px;
    max-height: 32px;
    object-fit: contain;
    position: absolute;
    top: 75%;
}

.left-arrow {
    left: 40%;
}

.right-arrow {
    right: 40%;
}

@media only screen and (min-width: 1024px) {
    .testimonials {
        min-width: 640px;
    }

    .testimonial-content {
        text-align: left;
        width: 808px;
        padding: 0;
        margin: 77px auto 69px;
    }

    .testimonials-scroller {
        width: calc(350% + 50px);
    }

    .testimonials-title {
        margin-left: 86px;
    }
    
    .testimonial-text {
        font-size: 15px;
        width: 284px;
        min-width: 284px;
        margin-right: 35px;
        margin-left: 35px;
    }

    .testimonial-text:first-child {
        margin-left: 0;
    }

    .testimonial-text:last-child {
        margin-right: 0;
    }
    
    .carousel-arrow {
        position: inherit;
        margin: 35px;
        cursor: pointer;
    }
}

/* Footer */

.footer {
    height: 190px;
    background-color: #91acc7;
    display: flex;
    padding-top: 22px;
    align-items: flex-start;
    justify-content: center;
}

.footer-content {
    display: flex;
}

.footer-section {
    display: none;
}

.footer a {
    color:inherit;
}

.footer a:hover {
    color:inherit;
}

.footer-section:first-child {
    border: 0;
}

#footer:last-child { border-width: 1px 0 0 0; }

.footer-section-title {
    font-size: 20px;
    line-height: normal;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-section-link {
    font-size: 16px;
    color: #ffffff;
}

.towing-box {
    border: solid 2px #ecf3fa;
    padding: 12px;
}

.towing-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
}

.towing-number {
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
}

.footer-contact-link {
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    text-decoration: underline;
    margin-top: 16px;
}

@media only screen and (min-width: 480px) {
    .towing-box {
        margin-left: 0;
    }
}

@media only screen and (min-width: 1024px) {
    .footer {
        height: 295px;
        padding-top: 44px;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
        margin: 0 10px;
        border-width: 0 0 0 2px;
        border-color: #ffffff;
        border-style: solid;
        padding: 0 20px 0 30px;
    }
    .footer-contact-area {
        margin-right: 40px;
    }
}
