/*
Theme Name: FreeFlo Rooter - Concept Theme (Full)
Author:     Stephen Young
Author URI: https://flatheadcreative.com
Description: A responsive WordPress theme for Free Flo Rooter
Version:    1.0
License:    GNU General Public License v2 or later
Text Domain: freeflorooter.com
*/

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Barlow", sans-serif;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Alata", sans-serif;
}

.page-template-default h1,
.page-template-default h2 {
    font-family: "Alata", sans-serif;
    color: #f26e29;
}

article {
    margin-top: 0px;
}

.topbar-container {
    border-bottom: 1px solid #eee;
}

.topbar {
    background: #fff;
    padding: 8px 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.topbar .left,
.topbar .right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.topbar .right {
    gap: 10px;
}

img.top-logo {
    max-width: 60px;
}

.left a:last-of-type img.top-logo {
    max-width: 100px;
}

span.orange-border-cta a {
    display: inline-block;
    border: 1px solid #f26d30;
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
    margin-left: 5px;
}

.top-left-ratings {
    font-size: 13px;
    font-weight: bold;
}

.top-left-ratings strong {
    font-size: 17px;
}

header.site-header {
    position: relative;
    overflow: hidden;
}

.main-menu {
    position: absolute;
    width: 100%;
    max-width: 1220px;
    z-index: 30;
}

.site-nav {
    z-index: 30;
    max-width: 1220px;
    width: 100%;
    margin: auto;
}

.site-nav ul {
    list-style: none;
    margin-top: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: right;
    margin-right: 13px;
}

.site-nav a {
    padding: 10px 14px;
    color: #fff;
    font-weight: 600;
    background: rgb(242 109 48);
}

.site-branding img {
    max-width: 220px;
}

.hero {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    padding-top: 10px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 60px 6%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-left {
    flex: 1;
    color: #fff;
}

.hero-left a.btn {
    margin-right: 20px;
}

.eyebrow {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 50px;
    font-style: italic;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 10px;
    line-height: 1.05;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
}

.hero h2 {
    font-size: 24px;
    margin: 0 0 14px;
    font-weight: 600;
}

.hero p {
    font-size: 16px;
    margin: 0 0 18px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: #f26d2f;
    color: #fff;
    padding: 12px 20px;
    border-radius: 28px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(242, 109, 47, 0.18);
}

.ribbon {
    background: #f26d2f;
    color: #fff;
    padding: 12px 6%;
    text-align: center;
    font-weight: 700;
}

.ribbon-award {
    text-align: center;
    padding: 20px;
}

.features {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.features .feature {
    display: block;
    text-align: center;
}

.feature {
    padding: 18px;
    background: #fff;
    border-radius: 6px;
    margin-inline-start: auto;
    margin-inline-end: 20px;
    align-items: flex-start;
    display: flex;
    min-width: auto;
}

.feature .text h4 {
    margin-bottom: 0px;
}

.feature p {
    color: gray;
}

svg.icon {
    color: #FFFFFF;
    border: 5px solid #fabea2;
    background-color: #f46f29;
    font-size: 32px;
    padding: 18px;
    border-radius: 100px;
    stroke-width: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    max-width: 100%;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.icon-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 40px 6%;
    max-width: 1200px;
    margin: 0 auto;
}

.icon-list .feature {
    margin-inline-start: auto;
    margin-inline-end: 20px;
    align-items: flex-start;
    display: flex;
    max-width: 100%;
    width: 100%;
    background: transparent;
}

.icon-list svg.icon {
    color: #FFFFFF;
    border: 5px solid #fabea2;
    background-color: #f46f29;
    font-size: 32px;
    padding: 10px;
    border-radius: 100px;
    stroke-width: 1;
    display: inline-grid;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    max-width: 30px;
    max-height: 30px;
    margin-right: 10px;
    margin-top: 20px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.welcome-outer {
    background: url(/wp-content/themes/freeflo_full_theme/assets/welcome_bg.jpg) no-repeat 0 0 transparent;
    background-size: cover;
    border-bottom: 5px solid #f7f7f7;
}

.welcome {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 60px 9%;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome .text {
    flex: 1;
    padding-top: 70px;
}

.welcome .text .inner {
    max-width: 596px;
}

.welcome .media {
    width: 420px;
    border-radius: 6px;
    overflow: hidden;
}

.welcome h3 {
    color: #f26d2f;
    font-size: 45px;
    margin: 0 0 12px;
    font-weight: bold;
}

p.meta {
    font-size: 17px;
}

.services-outer {
    background: linear-gradient(179deg, #ffffff, #fafafa);
}

.services {
    padding: 40px 6%;
    max-width: 1200px;
    margin: 0 auto;
}

.services h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.services-border {
    background-color: #f26d30;
    display: block;
    height: 4px;
    width: 100px;
    margin: auto auto 30px auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 20px) !important;
    right: auto;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 20px) !important;
    left: auto;
}

.wave-section {
    background: url(/wp-content/themes/freeflo_full_theme/assets/sub-footer-bg.jpg) no-repeat 0 0 #eaf8fd;
    background-size: cover;
    position: relative;
    padding: 80px 6% 40px;
    color: #222;
}

.wave-section .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.locations .chip {
    display: inline-block;
    background: #ff7f3a;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    margin: 6px 6px 0 0;
    font-weight: 700;
}

.locations-right {
    text-align: center;
    margin-top: 183px;
}

.locations-cta-text {
    font-size: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 1px 1px 3px #5dcae8;
}

.location-cta {
    display: inline-block;
    background: #f26d2f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 28px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(242, 109, 47, 0.18);
    margin-bottom: 8px;
    transition: all 0.3s;
}

.location-cta:hover {
    background: #2b2b2b;
}

footer.site-footer {
    background: #2b2b2b;
    color: #ddd;
    padding: 26px 6%;
}

footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 22px;
}

footer .footer-inner .copyright {
    text-align: center;
}

p.copyright {
    font-size: 17px;
    font-weight: bold;
}

.icon-svg {
    display: inline-block;
    width: 3em;
    height: 3em;
    stroke: none;
    max-width: none;
    position: relative;
    fill: #f46f29;
    color: #f46f29;
    font-weight: bold;
}

.icon-phone,
.icon-email {
    color: #FFFFFF;
    vertical-align: middle;
}

.sub-footer {
    background: #f26d30;
    text-align: center;
    color: #FFFFFF;
    padding: 20px;
    font-size: 18px;
}

.slider-outer {
    position: relative;
    overflow: visible;
}

.serviceSwiper {
    overflow: hidden;
}

.serviceSwiper .swiper-slide {
    height: auto;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.swiper-button-prev,
.swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

.swiper-button-prev {
    left: -50px;
    background: url('/wp-content/themes/freeflo_full_theme/assets/slider-arrow-left.png') no-repeat center center;
    background-size: contain;
    padding: 10px;
}

.swiper-button-next {
    right: -50px;
    background: url('/wp-content/themes/freeflo_full_theme/assets/slider-arrow-right.png') no-repeat center center;
    background-size: contain;
    padding: 10px;
}

ul.sub-menu {
    display: none;
    position: absolute;
    background: #f26d30;
    min-width: 180px;
    border-radius: 0px 0px 6px 6px;
    padding: 10px 0;
    z-index: 50;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

ul.sub-menu li {
    width: 100%;
}

ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    background: transparent;
    transition: background 0.3s;
}

ul.sub-menu li a:hover {
    background: #e65b1a;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #f26d30;
    border: 0px;
    border-radius: 20px;
    color: #FFF;
    cursor: pointer;
    padding: 8px 15px;
    font-size: 20px;
}

.review-slide {
    background: #ffe8dd;
    border-radius: 5px;
}

.review-slide p {
    padding: 10px;
}

body.page-id-17 {
    background: url('/wp-content/themes/freeflo_full_theme/assets/contact-us-bg.jpg') no-repeat 0 0 transparent;
    background-size: cover;
}

@media (min-width: 700px) {
    li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }

    .site-nav ul li.menu-item-has-children.open > ul.sub-menu {
        display: block;
        position: static;
        background: #f26d30;
        padding-left: 0;
        box-shadow: none;
    }

    ul.sub-menu li a {
        padding-left: 30px;
    }
    
    .site-nav-mobile-btn {
        display: none;   
    }
    
}

@media (max-width: 900px) {
    .hero {
        height: 540px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 1%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .welcome {
        flex-direction: column;
    }
    
    main {
        margin-top: -11px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .icon-list {
        grid-template-columns: 1fr 1fr;
    }

    .site-nav {
        position: static;
    }

    .topbar {
        flex-direction: column;
        gap: 8px;
    }

    .hero-left {
        flex: 1;
        color: #fff;
        text-align: center;
    }

    .site-logo {
        width: 200px;
        height: auto;
        margin: auto;
    }
}

@media (max-width: 800px) {
    .topbar {
        flex-direction: column;
        gap: 8px;
    }

    span.orange-border-cta a {
        text-align: center;
    }
}

@media (max-width: 700px) {
    
    .site-nav ul.main-menu {
        height: 0px;
    }    
    
    .site-nav ul {
        list-style: none;
        margin-top: 10px;
        padding: 0;
        display: block;
        align-items: center;
        justify-content: right;
        margin-right: 0px;
        overflow: hidden;
        height: 0px;
        margin-top: 0px;
    }    

    .site-nav ul li {
        height: 38px;
        width: 100%;
        text-align: center;
        background: #f26d30;
    }
    
    .site-nav ul li:first-child {
        padding-top: 18px;
    }    

    .site-nav-mobile-btn {
        display: block;
        cursor: pointer;
        font-size: 60px;
        position: absolute;
        top: 0px;
        z-index: 40;
        left: 10px;
        font-size: 40px;
    }
    
    .hero-left a.btn {
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .hero {
        height: 480px;
        padding-top: 20px;
    }

    .site-logo {
        width: 155px;
        height: auto;
    }

    .welcome-outer {
        background: url(/wp-content/themes/freeflo_full_theme/assets/welcome_bg.jpg) no-repeat 0 20px transparent;
        background-size: cover;
        border-bottom: 5px solid #f7f7f7;
    }

    .welcome {
        display: flex;
        gap: 30px;
        align-items: center;
        padding: 0px 9%;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .icon-list {
        display: block;
    }

    .icon-list .feature {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 20px;
    }

    .icon-list .feature .text {
        flex: 1;
    }

    .icon-list .feature .icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .welcome .text {
        flex: 1;
        padding-top: 0px;
    }

    .feature {
        margin: unset;
    }
    
    .topbar .right {
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }   
    
    .topbar .right div {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }    
}