/*
 Theme Name:   Bos Interieur
 Theme URI:    https://generatepress.com
 Description:  Bos Interieur
 Author:       Clarq
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* General Settings */
:root {
    --deep-red: #8E0D13;
    --oxblood: #640403;
    --dark-brown: #382626;
    --espresso: #231111;
    --ivory: #FCF8F4;
    --pure-white: #FFFFFF;
    --blush: #FFF2EF;
    --sandstone: #F0ECE1;

    --gap: 2.5rem;
    --border-radius: .5rem;

}

@font-face {
    font-family: "Playfair Display";
    src: url('assets/fonts/PlayfairDisplay-Regular.ttf');
}

@font-face {
    font-family: "Lato";
    src: url('assets/fonts/Lato-Regular.ttf');
}


html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Lato, sans-serif;
    color: var(--oxblood);
    font-style: normal;
    font-weight: 400;
    line-height: 4.75rem;
}

h1 span, h2 span {
    font-family: "Playfair Display", serif;
    color: var(--deep-red);
}

.dark h1 span, .dark h2 span {
    color: var(--sandstone);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    line-height: 3.5rem;
}

h3 {
    font-size: 2rem;
    line-height: normal;
}


p, li, a {
    color: var(--espresso);
    font-family: Lato, Arial, sans-serif;
    font-size: 1.5rem;
    line-height: normal;
}

@media (max-width: 850px) {
    p, li, a {
        font-size: 1.2rem;
    }
}

.media img {
    width: 100%;
}

.center {
    text-align: center;
}

.blur {
    background: rgba(35, 17, 17, 0.63);
    backdrop-filter: blur(15px);
}

.rounded {
    border-radius: var(--border-radius);
}

.vertical {
    display: table;
    width: 100%;
}

.vertical .vertical-item {
    display: table-cell;
    vertical-align: middle;
}

.parallax {
    background-attachment: fixed;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 1920px) {

    .parallax {
        background-size: 100%;
    }

}


/* Colors */
.sandstone, .bg-sandstone {
    background-color: var(--sandstone);
}

.ivory, .bg-ivory {
    background-color: var(--ivory);
}

.white {
    background-color: var(--pure-white);
}


/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 10;
}

.site-logo {
    flex-grow: 1;
}

.site-header .main-navigation.sub-menu-right {
    flex-shrink: 0;
}

.site-header .inside-navigation .main-nav .menu li a {
    font-size: 18px;
    line-height: normal;
    color: var(--espresso);
    padding: 8px 20px;
}

.site-header .inside-navigation .main-nav .menu li a:hover, .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
    color: var(--deep-red);
}

.site-header .inside-navigation .main-nav .menu > li.current-menu-item > a, .current-menu-parent > a {
    border: 1px solid var(--deep-red);
}

.site-header .inside-navigation .main-nav .gp-icon svg {
    top: 3px;
    left: 3px;
}

.site-header .inside-navigation .main-nav .menu-item-has-children .dropdown-menu-toggle {
    padding: 0 !important;
}

.site-header .inside-navigation .main-nav .menu .sub-menu {
    border-radius: 4px;
    background: #231111;
    color: white;
    padding: 25px 17px;
    width: 235px;
    right: 0;
}

.site-header .inside-navigation .main-nav .menu .sub-menu li:hover a {
    background-color: #382626;
}

.site-header .inside-navigation .main-nav .menu .sub-menu li a {
    color: var(--pure-white);
}

.site-header .inside-navigation .main-nav .menu .sub-menu .sub-menu {
    top: -23px;
}

.main-navigation, .main-navigation ul ul {
    background-color: transparent;
}

.inside-header {
    padding: 70px 20px;
}

#menu-footer-menu li.current_page_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#menu-footer-menu li.current_page_item::before {
    content: "";
    background-image: url("/wp-content/themes/generatepress_child/assets/images/before-icon-footer.svg");
    display: flex;
    width: 12px;
    height: 12px;
}


/* Mobile menu */
.inside-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    justify-content: space-between;
}

@media (max-width: 1270px) {
    .has-inline-mobile-toggle #site-navigation {
        width: 0;
        margin: 0;
        flex-basis: 0;
    }

    .site-logo {
        margin-right: 20px;
    }
}

.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled, .main-navigation .menu-toggle {
    background-color: var(--deep-red);
    padding: 0 15px;
    line-height: 50px;
    font-size: 15px;
    border-radius: 4px;
}

.icon-menu-bars svg {
    fill: var(--ivory);
    height: 24px;
    width: 24px;
    top: 6px;
}

.has-inline-mobile-toggle #site-navigation.toggled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--espresso);
    padding: 20px;
    margin: 0;
    line-height: inherit;
    border-radius: 0;
    z-index: 50;
    width: 100%;
}

.main-navigation.toggled .inside-navigation {
    margin-top: 5em;
}

.site-header .toggled .inside-navigation .main-nav .menu > li.current-menu-item > a {
    border: none;
}

.site-header .toggled .inside-navigation .main-nav .menu li a {
    font-size: 22px;
    color: var(--pure-white);
    padding: 8px 20px;
}

.toggled .current-menu-item > a {
    background-color: var(--dark-brown);
    border-radius: 8px;
}

.site-header .toggled .inside-navigation .main-nav .menu .sub-menu {
    border-radius: 4px;
    padding: 0px 25px;
    width: inherit;
    right: 0;
}

.mobile-menu-open .site-logo {
    position: relative;
}

.mobile-menu-open .site-logo::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 19px;
    height: 19px;
    background-color: var(--deep-red);
    z-index: 200;
}

/* Structures */
.boxed {
    padding: 160px 20px;
}

section > .boxed {
    max-width: 1560px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: var(--gap);
    }
}


/* Buttons */
.btn-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem 1rem 2.5rem;
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 15px;
    line-height: normal;
    font-family: Lato, Arial, sans-serif;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--deep-red);
    color: var(--pure-white);
    width: fit-content;
}

.btn-primary:hover {
    background-color: var(--oxblood) !important;
    color: var(--pure-white) !important;
}


.btn-secondary {
    background-color: transparent;
    color: var(--espresso);
    border: 2px solid var(--deep-red);
}

.btn-secondary:hover {
    color: var(--deep-red);
}

.dark .btn {
    background-color: #FCF8F4 !important;
    color: #640403 !important;
}

.dark .btn:hover {
    background-color: #F0ECE1 !important;
}


.button.icon-after {
    position: relative;
    padding: 1em;
    padding-right: 2em;
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 1.5em;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="11" viewBox="0 0 6 11" fill="none"><path d="M3.72973 5.5L0 1.28333L1.13514 0L6 5.5L1.13514 11L0 9.71667L3.72973 5.5Z" fill="white"/></svg>');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="11" viewBox="0 0 6 11" fill="none"><path d="M3.72973 5.5L0 1.28333L1.13514 0L6 5.5L1.13514 11L0 9.71667L3.72973 5.5Z" fill="white"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
}

@keyframes icon-nudge {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(5px);
    }
    100% {
        transform: translateY(-50%) translateX(0);
    }
}

.btn:hover::after {
    animation: icon-nudge 0.3s ease;
}

/* Footer */
.site .footer-widgets {
    background-color: var(--espresso);
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets .footer-widget-1 {
    width: 500px;
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets .footer-widget-2 {
    max-width: 150px;
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets .footer-widget-3 {
    width: 290px;
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 70px;
    padding: 50px 20px;
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets * {
    color: var(--pure-white);
    font-size: 18px;
    line-height: normal;
    text-decoration: none;
    padding: 0;
}

.site.footer-widgets .footer-widgets-container .inside-footer-widgets * h2 {
    font-size: 24px;
    font-weight: 700;
}

.site-footer .footer-widgets-container .inner-padding {
    padding: 0;
}

.site-footer .footer-widgets-container .wp-block-table td {
    padding: 0 0 8px 0 !important;
}

.site-footer .footer-widgets-container .wp-block-table td:first-child {
    font-weight: 700;
}

.site-footer .footer-widgets-container .wp-block-table td, .site-footer .footer-widgets-container .wp-block-table th {
    border: none;
}


footer.site-info {
    background-color: var(--espresso);
    color: var(--pure-white);
}

footer.site-info .inside-site-info {
    flex-direction: column;
}

.site-info .inside-site-info {
    padding: 0;
}

.site-info .inside-site-info .copyright-bar {
    padding: 40px 20px;
}

.copyright-bar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.copyright-bar,
.copyright-bar a {
    font-size: 16px;
    line-height: 16px;
    font-family: Lato, Arial, sans-serif;
}

.copyright-bar .made-by span {
    color: #C71A22;
}

.copyright-bar .made-by a {
    color: var(--sandstone);
    text-decoration: none;
}

.copyright-bar .made-by a:hover {
    color: var(--pure-white);
    text-decoration: none;
}

.site-footer:not(.footer-bar-active) .copyright-bar {
    width: -webkit-fill-available;
    margin: 0 auto;
}


/* Single project */
article {
    width: 100%;
}

.single-project .site-content {
    margin: 0 auto;
}

.single-project .site-content .project .boxed .intro {
    padding-top: 80px;
}

.single-project .site-content .project .boxed .intro div h1 {
    max-width: 800px;
    margin-bottom: 60px;
}

.single-project .site-content .project .boxed .intro div .featured-image {
    max-width: 100%;
    margin-bottom: 40px;
}

.single-project .site-content .project .boxed .intro div .featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.single-project .site-content .project .boxed .intro div .introduction {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.single-project .site-content .project .boxed .intro div .introduction h2 {
    font-size: 24px;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 30px;
}

.single-project .site-content .project .boxed .intro div .introduction .categories .project-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.single-project .site-content .project .boxed .intro div .introduction .categories .project-categories .project-category {
    padding: 16px 20px;
    background-color: #F0ECE1;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

/* 404 */
.error404 section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Ken Burns effect */
.kenburns .image {
    overflow: hidden;
    border-radius: 8px;
}

.kenburns .image img {
    object-fit: cover;
    transform-origin: center;
    animation: kenburnsZoom 30s ease-in-out infinite alternate;
}

@keyframes kenburnsZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.kenburns-bg .image {
    animation: kenburnsBg 30s ease-in-out infinite alternate;
    background-repeat: no-repeat;
}

@keyframes kenburnsBg {
    0% {
        background-size: 100%;
    }
    50% {
        background-size: 120%;
    }
    100% {
        background-size: 100%;
    }
}



/* Responsive */
@media (max-width: 1520px) {
    .site-header .inside-navigation .main-nav .menu li a {
        padding: 8px 12px;
    }
}

@media (max-width: 1300px) {
    .site.footer-widgets .footer-widgets-container .inside-footer-widgets {
        gap: 50px;
    }

    .site.footer-widgets .footer-widgets-container .inside-footer-widgets .footer-widget-1, .site.footer-widgets .footer-widgets-container .inside-footer-widgets .footer-widget-2 {
        width: auto;
    }
}

@media (max-width: 1270px) {
    .inside-header {
        padding: 4vw 2vw;
    }
}

@media (max-width: 900px) {
    .site.footer-widgets .footer-widgets-container .inside-footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .single-project .site-content .project .boxed .intro div .introduction {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    h3 {
        font-size: 1rem;
        line-height: normal;
    }

    .footer-widgets-container {
        padding: 20px;
    }
}

@media (max-width: 570px) {
    .site.footer-widgets .footer-widgets-container .inside-footer-widgets {
        grid-template-columns: 1fr;
    }

    .single-project .site-content .project .boxed .intro div h1 {
        font-size: 2rem;
        line-height: 32px;
    }

    .single-project .site-content .project .boxed .intro {
        padding-top: 0;
    }
}

