/*
 Theme Name:   Monaco Champagne
 Theme URI:    https://www.i4.net
 Description:  Custom theme for customization
 Author:       i4 Solutions
 Author URI:   https://www.i4.net
 Template:     wpbootstrap4-master
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  i4 Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --primary: #901817;
    --darkblue: #0b305f;
    --light: #e8e8e8;
    --midtone: #a4a4a4;
    --middark: #3d3e52;
    --dark: #141516;
    --padding: 30px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Montserrat, sans-serif;
}

.boxed {
    max-width: 992px;
    margin: auto;
}

h1,h2,h3,h4{
    font-family:roboto slab, sans-serif;
}

h1 {
    font-weight: 300;
    margin-block: 0.7em;
    text-transform: uppercase;
    color: #7a6851;
}

h2 {
    font-weight: 400;
    color: var(--midtone);
    text-transform: uppercase;
    margin: 1.75em 0 1.5em;
}

h4 {
    color: var(--midtone);
    text-transform: uppercase;
}



/*Header ===============*/
header {
    background-color: transparent;
}

nav.navbar {
    background: transparent;
}

    nav.navbar a {
        color: #fff;
        font-family: montserrat, raleway, open sans, sans-serif;
        text-transform: uppercase;
        font-weight: 500;
        font-size: .9em;
        letter-spacing: .07em
    }

        nav.navbar a:hover {
            color: var(--primary);
        }

nav img.custom-logo {
    padding: 4px;
    object-fit: contain;
}

#menu-primary-nav li:last-child a {
    background-color: var(--primary);
    margin-left: 15px;
    border-radius: 20px;
    padding-inline: 20px;
}

    #menu-primary-nav li:last-child a:hover {
        color: var(--primary);
        background-color: #fff;
    }

/*page headers ===============*/
.pgHeader {
    margin: 0px -15px 1em;
    aspect-ratio: 1920 / 230;
    background-size: cover;
    align-content: center;
    color: #fff;
    padding-inline: 1em 0em;
    font-size: clamp(1.5em,4vw,3.5em)
}

    .pgHeader.one {
        background-image: url(/wp-content/uploads/scissors.jpg);
    }

    .pgHeader.two {
        background-image: url(/wp-content/uploads/ready-to-cut.jpg);
    }

    .pgHeader.three {
        background-image: url(/wp-content/uploads/chairs-empty.jpg);
    }

    .pgHeader.four {
        background-image: url(/wp-content/uploads/chair-footrest.jpg);
    }

/*buttons ===============*/
.wp-block-button__link, .btn.btn-primary {
    color: var(--light);
    background-color: var(--primary);
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.1em + 2px) calc(1.5em + 2px) calc(.1em + 4px);
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    border-color: transparent;
}

    .wp-block-button__link:hover {
        text-decoration: none;
        background-color: var(--dark);
        color: var(--primary);
    }

    .btn.btn-primary.white {
        background-color: #fff;
        color: var(--dark);
    }

    .btn.btn-primary.blue {
        background: #223c66;
        color: #fff;
    }

    .btn.btn-primary:hover {
        background-color: #1a1b1d;
    }

.ghostBtn {
    border: solid 1px var(--light);
    color: var(--light);
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.1em + 2px) calc(1.5em + 2px) calc(.1em + 4px);
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

    .ghostBtn:hover {
        text-decoration: none;
        background-color: var(--midtone);
        color: #fff;
    }

/* hero ===============*/
.homeHero {
    aspect-ratio: 1920 / 650;
    background-image: url(/wp-content/uploads/home-hero-v1.jpg);
    background-size: cover;
    margin-inline: -15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    align-content: center;
    justify-items: center;
    background-position: bottom center;
    padding-block: 30px;
}


    .homeHero h2 {
        color: #fff;
        font-family: "Roboto Slab", serif;
        font-optical-sizing: auto;
        font-weight: 600;
        font-style: normal;
        font-size: clamp(1.5em, 3vw, 3.4em);
        margin-block: 0;
        text-align:center;
    }



    .homeHero img {
        display: block;
        width: 620px;
        margin: auto;
        max-width: 90%;
    }

@media(max-width:1160px) {
    .homeHero {
        aspect-ratio: 5/3;
    }
}


/* locations section =================================================== */
.location.dayBreak {
    background-image: url(/wp-content/uploads/dayBreak-bg.jpg);
}

.location.sugarhouse {
    background-image: url('/wp-content/uploads/sugarhouse-bg.jpg')
}

.location.draper {
    background-image: url('/wp-content/uploads/draper-bg.jpg');
}

.locationsSection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-inline: -15px;
    background: #1e1e1e;
}

.location {
    aspect-ratio: 1/0.81;
    background-position: center;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    color: #fff;
}

    .location h3 {
        color: #fff;
        font-family: Roboto Slab, sans-serif;
        font-weight: 600;
        margin-block: .2em;
    }

    .location .btn {
        color: #fff;
    }

    .location .btn-primary {
        margin-bottom: 15px;
    }

@media(max-width:640px) {
    .locationsSection {
        grid-template-columns: 1fr;
    }
}

/* service cats ===============*/
.serviceCategories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--padding);
    justify-content: center;
    max-width: 1368px;
    margin: auto;
}

a.serviceCategory {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    color: #fff;
    min-width: 260px;
    max-width: 320px;
    flex-shrink: 1;
    flex-basis: 0;
    text-decoration: none;
}

.serviceCategory img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.serviceCategory :is(img, div, h4) {
    grid-column-start: 1;
    grid-row-start: 1;
    grid-column-end: 2;
    grid-row-end: 2;
}

.serviceCategory .catOverlay {
    background-image: linear-gradient(#6b4e3794, #654e3b5c);
    width: 100%;
    height: 100%;
}

.serviceCategory h4 {
    color: #fff;
    font-weight: 300;
}

.serviceCategory :is(.catOverlay, h4) {
    transition: all .3s;
}

.serviceCategory:hover .catOverlay {
    opacity: 0;
}

.serviceCategory:hover h4 {
    text-shadow: 0px 0px 8px #000;
    backdrop-filter: blur(10px);
}

/* daves deals section ===============*/
.davesDealsSection {
    background-color: var(--primary);
    margin: -15px;
    padding: 30px;
    color: #fff;
}

.dealFormContainer button {
    background-color: var(--darkblue) !important;
    padding: 9px 22px !important;
    display: inline-block;
}

.dealsBarberPole {
    display: flex;
    gap: 15px;
}

.davesDealsContainer {
    max-width: 1368px;
    justify-self: center;
    margin-inline: auto !important;
}

    .davesDealsContainer :is(input[type=text],input[type=email]) {
        border-radius: 20px;
    }

.faded {
    opacity: .4;
}


/* Services Menu ========================== */
#servicesSection {
    background: #1a191e;
    margin: -15px;
    align-content: center;
    background-image: url(/wp-content/uploads/services-bg-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    aspect-ratio: 16 / 8.5;
}

#services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1368px;
    margin: auto;
}

.servicesHeader{
    max-width:1368px;
    margin:auto;
}

    .servicesHeader h2{
        font-family:roboto slab, sans-serif;
        margin:.5em 0em;
        color:#fff;
    }

    .servicesHeader p{
        margin-bottom:30px;
    }

    div#servicesNav ul {
        display: flex;
        list-style: none;
        padding: 0px;
        gap: 15px;
        margin: 30px auto;
        width: fit-content;
    }

#servicesNav{
    display:none;
}

#servicesNav a {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    font-weight: 500;
    padding-bottom: 10px;
}

    #servicesNav a:hover {
        text-decoration: none;
        border-bottom: solid 3px var(--dark);
    }

a.active.active {
    border-bottom: solid 3px var(--primary);
}

.serviceCategoryTitle {
    font-family: roboto slab, sans-serif;
    font-size: clamp(29px, 3.7vw, 47px);
    text-transform: uppercase;
    color: var(--primary);
    padding-bottom: 14px;
    margin: 1em 0em 0em;
    scroll-margin: 40px;
    display:none;
}



.serviceTitle {
    font-family:roboto slab, sans-serif;
    font-size: clamp(16px, 2.5vw, 29px);
    text-transform: uppercase;
    margin:.25em 0em;
}

.servicePrice {
    font-size: 30px;
    margin-bottom: 15px
}

.serviceDuration {
    font-size: 13px;
    font-weight: 500;
}

.service a {
    display: inline-block;
    margin-bottom: 30px
}

@media(min-width:1280px) {
    #servicesNav {
        position: sticky;
        top: 0px;
        background: #fff;
        overflow: hidden;
    }

    .serviceCategoryTitle {
        scroll-margin: 120px;
    }
}

@media(max-width:993px) {
    #services {
        grid-template-columns: 1fr;
    }

    .serviceCategoryTitle {
        grid-column-end: 2;
    }
}
/* end services menu ========================== */

/* service details ========================== */
.serviceGalleryMainImage {
    aspect-ratio: 5/3;
}

    .serviceGalleryMainImage img {
        width: 100%;
        object-fit: cover;
        height: 100%;
    }
.serviceDetailsBody {
    max-width: 1200px;
    margin-inline: auto;
    margin-bottom:60px;
}

.pgHeader.serviceDetails{
    position:relative;
}

.pgHeader.serviceDetails:after {
    content: '';
    display: block;
    position:absolute;
    bottom:0px;
    width:100%;
    left:0%;
    background-image: url(/wp-content/uploads/thin-striped-bar.jpg);
    height: 14px;
    background-size: cover;
    background-position: center;
}

.serviceName {
    text-transform: uppercase;
    color: var(--midtone);
    font-weight: 400;
    font-size: clamp(27px,3vw,43px);
}

.serviceGallery {
    position: relative;
    padding-top: 10px;
    overflow-x: auto;
}

.serviceGalleryBtn {
    position: absolute;
    z-index: 999;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: rgba(255,255,255,.7);
    display: none;
}

    .serviceGalleryBtn.serviceGalleryNext {
        right: 0px;
    }

.serviceGalleryImages {
    display: flex;
    gap: 10px;
}

.serviceImage {
    aspect-ratio: 1/1;
    flex-basis: 100px;
    flex-shrink: 0;
}

    .serviceImage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
    }

        .serviceImage img.active {
            outline: solid 2px #f6c5b8;
            outline-offset: -2px;
        }

.servicePrice sup {
    top: -0.55em;
    font-size: 58%;
    font-weight: 600;
}

.serviceDuration {
    font-size: 13px;
    font-family: raleway,Montserrat,sans-serif;
    letter-spacing: .5px;
}

    .serviceDuration .fa {
        color: var(--midtone);
    }

.serviceDescription {
    line-height: 1.6em;
    font-size: 95%;
}

table.serviceProviders {
    font-size: 0.8em;
}

.serviceProviders .fa {
    color: var(--midtone);
}

table.serviceProviders td {
    padding: 3px 0px;
}

a.serviceBookBtn {
    font-size: 0.7em;
    margin-left: 10px
}

@media(max-width:480px) {
    .serviceImage {
        flex-basis: 30%;
    }
}

@media(max-width:780px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}


/*==========drapers home section ===================*/
.drapersHome {
    background-color: #1a1b1d;
    color: #fff;
    justify-content: center;
    padding-inline: 30px;
    margin-inline: -15px;
    margin-block: 0;
    padding-bottom: 3vw;
}

.drapersHome h2{
    color:#fff;

}

.drapersHomeBody{
    max-width:1368px;
}

.dhCol {
    background-color: #141516;
    padding: 30px;
}

/* reviews section =================================*/
.reviewsSection {
    background-image: url(/wp-content/uploads/reviews-bg.jpg);
    background-size:cover;
    background-position:center;
    padding-block:100px;
    margin-bottom:0px;
}

.reviewsSection .carousel-item {
    padding: 10px;
    margin-bottom: 30px;
    min-height: 185px;
    max-width: 600px;
}

    .reviewsSection .carousel-indicators {
        justify-content:unset;
        margin-left:0;
    }

    .reviewsSection h2 {
        margin-bottom: 0px;
        color:#fff;
    }



/* promotions ===============*/
.promotions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--padding);
    justify-content: center;
    max-width: 1368px;
    margin: auto;
}

.promotionCard {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 320px;
    min-width: 290px;
    text-align: center;
}

.promotionImage {
    aspect-ratio: 1/1;
    background-size: cover;
}

.promotionCard h5 {
    text-transform: uppercase;
    margin-block: 10px 5px;
    color: var(--midtone);
}

span.discount:after {
    content: "% off - ";
}

span.deduction:before {
    content: "$";
}

span.deduction:after {
    content: " Off -";
}

.couponCodeInfo {
    font-size: 14px;
    color: #655644;
}

/* end promotions =============*/

/* single bio =============*/
.bio {
    display: flex;
    flex-wrap: wrap;
    gap: var(--padding);
    align-items: center;
    max-width: 992px;
    margin: auto;
}

.bioImage img {
    max-width: 100%;
    display: block;
    margin: auto;
    max-width: 100%;
    min-width: 290px;
}

.bioImage {
    flex: 1 1 calc(50% - var(--padding)/2);
}

.bioContent {
    flex: 1 1 calc(50% - var(--padding)/2);
}

/*end single bio =============*/

/*employees grid =============*/
.employees {
    display: flex;
    gap: var(--padding);
    justify-content: center;
    flex-wrap: wrap;
}

.employee {
    min-width: 290px;
    text-align: center;
}

    .employee h5 {
        color: var(--midtone);
        text-align: center;
        margin-block: .5em;
        text-transform: uppercase;
        font-size: 1em;
    }

.employeeImage img {
    width: 290px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}


/*footer =============*/
footer {
    padding-block: 80px;
    background-color: var(--dark);
    color: var(--light);
    font-size: .8em;
    text-align: unset;
    position:relative;
    margin-top:0px;
}

    footer:before {
        content: '';
        display: block;
        background-image: url(/wp-content/uploads/thin-striped-bar.jpg);
        height: 14px;
        background-size: cover;
        background-position: center;
        position:absolute;
        top:0%;
        width:100%;
        left:0%;
    }

#menu-footer-bottom-left li {
    line-height: 1.5em;
}

    footer a {
        color: var(--midtone);
    }

        footer a:hover {
            color: var(--dark);
        }

    footer .col1 {
        text-align: left;
    }

        footer .col1 a {
            color: var(--light);
            font-size: 1em;
        }

.col1 img {
    max-height: 21px;
    object-fit: contain;
    object-position: left;
}

.row.footerRule {
    border-top: solid 1px var(--midtone);
    margin-top: 15px;
}

table.hours {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: left;
}

    table.hours td {
        padding-right: 10px;
    }

footer .menu {
    list-style: none;
    text-align: left;
    padding: 0px;
}

    footer .menu li {
        line-height: 1em;
    }

    footer .menu a {
        color: var(--light);
        text-transform: uppercase;
        letter-spacing: .03em;
    }


footer .col4 p {
    font-size: 11px;
}

footer h5 {
    text-align: left;
    text-transform: uppercase;
}

form.wpcf7-form {
    text-align: left;
}

    form.wpcf7-form label {
        text-align: left;
    }

    form.wpcf7-form p {
        margin: 0px;
    }

footer form.wpcf7-form input {
    border: none;
    padding: 3px;
    border-radius: 5px;
    background-color: var(--middark);
    color: #fff;
}

.footerRule > div {
    padding-top: 10px;
}

form.wpcf7-form .wpcf7-not-valid-tip {
    color: #fcba00;
}

form.wpcf7-form [type=submit] {
    background-color: #463d34;
    text-transform: uppercase;
    font-weight: 400;
    padding-inline: 15px;
    border-radius: 5px;
    background-color: var(--primary);
    color: #fff;
    border: none;
}

/*mobile -------------*/
@media(max-width:992px) {
    .heroLeft {
        padding-top: 20px;
        text-align: center;
        padding-left: 0px;
    }

        .heroLeft .wp-block-buttons {
            justify-self: center;
            margin: auto;
        }
}
