@charset "UTF-8";

/*
Theme Name: Jacob Moore
Version: 1.1
*/

/* ********************** FONTS ********************** */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
/* 
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;

    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;

    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;

    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;

    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;

*/

/* ********************** VARIABLES ********************** */
:root {
    /* colors */
    --orange: #ff6200;
    --dark-orange: #be3600;
    --white: #fff;
    --off-white: #f9f9f9;
    --gray: #878787;
    --light-gray: #f3f3f3; 
    --light-gray2: #d0d0d0;
    --black: #313131;

    /* font sizes */
    --step--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
    --step--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
    --step-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
    --step-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
    --step-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
    --step-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
    --step-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
    --step-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);

}

/* ********************** GLOBAL ********************** */
* {
    padding: 0;
    margin: 0;
}
.container {
    max-width: 1500px;
    width: 80%;
    margin: 0 auto;
}
@media(max-width: 750px) {
    .container {
        width: 90%;
    }
}

/* Fonts */
h1, .h1 {
    font-size: var(--step-5);
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--orange);
}
h2, .h2 {
    font-size: var(--step-4);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--orange);
}
h3, .h3 {
    font-size: var(--step-3);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}
h4, .h4 {
    font-size: var(--step-2);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}
h5, .h5 {
    font-size: var(--step-1);
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}
p, .p {
    font-size: var(--step--1);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--gray);
}
a, .a {
    font-size: var(--step--1);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
}
::placeholder {
    font-size: var(--step--1);
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: var(--gray);
}
.caps {
    text-transform: uppercase;
}

/* Buttons */
.btn {
    padding: .75rem 2rem !important;
    text-transform: uppercase !important;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.btn-primary {
    background: var(--orange) !important;
    color: var(--white) !important;
    width: fit-content !important;
    cursor: pointer;
    transition: .3s all;
}
.btn-primary:hover {
    background: var(--black) !important;
    border-radius: 5px;
}

/* ********************** BANNER ********************** */
.banner {
    background: var(--orange);
    padding: .5rem 0;
}
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner-content h5 {
    color: var(--dark-orange);
}
.banner-content a {
    color: var(--dark-orange);
    transition: .3s all;
}
.banner-content a:hover {
    color: var(--white);
}
.banner-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ********************** MENU ********************** */
.header {
    background: var(--off-white);
    padding: 2rem 0;
}
.header-logo {
    height: 2rem;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-transform: uppercase;
    font-weight: 300;
    color: var(--black);
    border-bottom: 2px solid transparent;
    padding: .5rem 0;
    transition: .3s all;
}

.main-menu li a i {
    color: var(--orange);
    margin-left: .25rem;
    transition: .3s all;
}
.menu-item-has-children.active > a i {
    transform: rotate(180deg);
}

/* Submenus */
.sub-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s all;
    position: absolute;
    background: #fff;
    z-index: 999;
    list-style: none;
    margin: 0;
}

.menu-item-has-children.active > .sub-menu {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--black);
    opacity: 1;
    visibility: visible;
    transform: translateY(15px);
    transition: .3s all;
}

.sub-menu .sub-menu {
    width: 100%;
    left: 100%;
    top: 40%;
    position: absolute;
}

.menu-item-has-children > a {
    cursor: pointer;
}

/* Hamburger button base (hidden on desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 4px 0;
    transition: .3s all;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 675px) {
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    .header {
        position: relative;
        z-index: 10;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--off-white);
        border-top: 1px solid #ddd;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: .3s ease;
    }
    body.nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        box-shadow: 6px 42px 35px -2px rgba(0,0,0,0.56);
        -webkit-box-shadow: 6px 42px 35px -2px rgba(0,0,0,0.56);
        -moz-box-shadow: 6px 42px 35px -2px rgba(0,0,0,0.56);
    }
    .menu-main-menu-container {
        width: 100%;
    }
    .main-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 0.75rem 1.5rem 1rem;
    }
    .main-menu li {
        width: 100%;
        position: relative;
    }
    .main-menu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: auto;
        padding: .5rem;
        border-bottom: none;
    }
    .sub-menu {
        display: block;
        position: relative;
        border: none;
        background: transparent;
        transform: translateY(0);
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height .3s ease, opacity .3s ease;
    }
    .menu-item-has-children.active > .sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        /* padding: .25rem 0 .5rem; */
        border: none;
        color: var(--white);
        background: var(--light-gray2);
        margin-bottom: 2rem;
        gap: 0;
    }
    .menu-item-has-children.active > .sub-menu .sub-menu {
        margin-bottom: 0 !important;
    }
    .menu-item-has-children .menu-item-has-children.active > .sub-menu {
        padding: .5rem 0;
    }
    .sub-menu .sub-menu {
        position: relative;
        left: 0;
        top: 0;
        padding-left: 1rem;
        border-left: 2px solid var(--black);
    }
    .menu-item-has-children > a {
        width: 100%;
    }
}

/* ********************** HOMEPAGE ********************** */
/* Breadcrumbs */
.breadcrumbs {
    padding: 3rem 0;
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .9rem;
    color: var(--gray);
}
.breadcrumbs a {
    color: var(--gray);
    text-decoration: none;
    transition: .2s all;
}
.breadcrumbs a:hover {
    color: var(--orange);
}
.breadcrumbs strong {
    color: var(--black);
    font-weight: 700;
}

/* Content */
.homepage-body {
    padding-bottom: 4rem;
}
.homepage-body h1 {
    padding-bottom: 1rem;
}
/* Bottom */
.homepage-bottom {
    display: flex;
    gap: 3rem;
}
.homepage-bottom-left,
.homepage-bottom-right {
    flex: 1;
}
.homepage-bottom h2 {
    padding-bottom: 1rem;
    border-bottom: 10px solid var(--black);
}
@media(max-width: 750px) {
    .homepage-bottom {
        flex-direction: column;
        margin-bottom: 2rem;
    }
}

/* Contact */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    gap: .75rem;
}
.homepage-bottom-left input, .homepage-bottom-left textarea {
    width: auto;
    padding: .75rem;
    border: none;
    background-color: var(--light-gray);
}
input:focus, textarea:focus {
  outline-color: var(--orange);
}
.wpcf7-form span {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0;
    font-family: "Ubuntu", sans-serif;
    font-size: var(--step--1);
}
.contact-row p {
    display: flex;
    gap: .75rem;
    width: 100%;
    margin: 0;
}
.contact-row p > span.wpcf7-form-control-wrap {
    flex: 1 1 0;
    width: auto;      
    min-width: 0;
    display: flex;
}
.contact-row input {
    width: 100%;
    box-sizing: border-box;
}
.wpcf7-not-valid-tip {
    padding-top: .25rem;
}
.wpcf7-spinner {
    display: none !important;
}

@media(max-width: 450px) {
    .contact-row p {
        flex-direction: column;
    }
}

/* Reach Us */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: .75rem;
    height: 282px;
}
.contact-info-top > p:first-of-type {
    font-size: var(--step-0);
}
.numbers {
    margin-top: .75rem;
}
.numbers a {
    color: var(--gray);
    transition: .3s all;
}
.numbers a:hover {
    color: var(--orange);
}
.socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.socials a {
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray2);
    color: var(--white);
    transition: .3s all;
    margin-top: auto;
}
.socials a:hover {
    border-radius: 5px;
    background: var(--black);
}

@media(max-width: 750px) {
    .contact-info {
        height: 100%;
    }
}

/* Animations */
.slide-left, .slide-right, .slide-up, .slide-down {
    opacity: 0;
}