/* 
Theme Name: KB WebStudio Theme
Description: KB WebStudio Theme
Author: Krzysztof Borowik
Author URI: https://kb-webstudio.net
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
    Add your custom styles here
*/

@font-face {
    font-family: "Voyage";
    src: url("/wp-content/themes/kb_webstudio_theme/assets/css/Voyage-Bold.otf") format("opentype");
    font-weight: 600;
}
  

a {
    text-decoration: none !important;
}

*,
*:after,
*:before {
    box-sizing: border-box;
    outline: none;
    color: #000;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

* {
    font-family: "Poppins", sans-serif !important;
}

body {
    position: relative;
    background: #F3EEE7;
    color: #000;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    z-index:  1;
}

footer .container,
header.headerMain .container {
    display: block;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 40px;
}

header.headerMain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background-color: #F3EEE7;
    border-bottom: 2px solid #E54F4D;
    z-index: 9999;
}

header.headerMain,
header.headerMain * {
    overflow: initial !important;
}

.nav {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
    top: -10px;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 50px;
    top: -10px;
    position: relative;
}

.logo {
    width: 120px;
    height: 120px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    z-index: 9999;
    overflow: auto;
}

.headerMain .logo img {
    width: 150px;
    max-width: none !Important;
    position: relative;
    bottom: -23px;
    background-color: transparent;
    overflow: auto;
}

.nav-left a:first-of-type {
    padding: 8px 29px;
    border-radius: 3000px;
    background: #E54F4D;
    color: #F3EEE7 !important;

    leading-trim: both;

    text-edge: cap;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    box-shadow: 0px 6px 14px -6px rgba(66, 21, 20, 0.10), 0px 10px 32px -4px rgba(66, 22, 22, 0.10);
    transition: 300ms;
}

.nav-left a:first-of-type span {
    color: #F3EEE7 !important;
    font-size: 18px;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav-left a:first-of-type:hover {
    background: #CA4240;
}

.nav-link {
    position: relative;
    color: #E54F4D;
    leading-trim: both;
    text-edge: cap;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav-link span {
    position: relative;
    color: #E54F4D;
    z-index: 9;
}

.nav-link:after {
    position: absolute;
    content:  " ";
    width: 0;
    left: -6px;
    bottom: 4px;
    height:11px;
    background: #FBB5D4;
    display: block;
    z-index: 8;
    transition: 300ms;
}

.nav-left .nav-link:first-of-type:hover:after {
    display: none;
}

.nav-link:hover:after {
    width: 110%;
}

 .mobile-btn,
.mobile-burger {
    display: none;
}

.mobile-burger span {
    display: block;
    border-radius: 5px;
    width: 30px;
    height: 2px;
    background: #E54F4D;
    transition: 300ms;
}

.mobile-burger span + span {
    margin-top: 7px;
}

h1.elementor-heading-title,
h2.elementor-heading-title {
    font-family: "Voyage" !important;
}

.mobile-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}

.mobile-burger.open span:nth-child(2) {
    opacity: 0;
}

.mobile-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
}

.footer {
    position: relative;
    z-index: 999;
}

.footer svg {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -2px;
}

.footer-content {
    background-color: #FBB5D4;
    padding: 80px 0 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 68px;
    border-bottom: 2px solid #E54F4D;
}

.footer-logo img {
    width: 106px;
    height: 106px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 17px;
}

.footer-section h3,
.footer-links a {
    text-decoration: none;
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 133.3%;
    text-transform: uppercase;
}

.footer-section h3 {
    margin-top: 0;
    margin-bottom: 17px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.bottom-links {
    margin-top: 30px;
    text-align: right;
}

.bottom-links a {
    text-decoration: none;
    color: #000;

    leading-trim: both;

    text-edge: cap;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 133.3%;
    text-transform: uppercase;
}

.bottom-links a:hover {
    text-decoration: underline;
}

.bottom-links span {
    margin: 0 1rem;
}

.bottom-links span:last-of-type {
    display: none;
}

@media only screen and (max-width: 996px) {
    header.headerMain {
        padding: 30px 20px 10px 20px;
    }

    .logo img {
        width: 100px !important;
        bottom: -14px !important;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-btn,
    .mobile-burger {
        display: block;
        position: relative;
        top: -8px;
    }

    .mobile-btn {
        color: #E54F4D;
        border-radius: 900px;
        border: 1px solid #E54F4D;
        text-align: center;
        leading-trim: both;
        padding: 5px 9px;
        text-edge: cap;
        font-family: Poppins;
        font-size: 15px;
        font-style: normal;
        font-weight: 300;
        line-height: 120%; 
    }

    .mobile-menu {
        display: block;
        left: 0;
        top: -100vh;
        width: 100%;
        height: 100vh;
        position: fixed;
        background: #E54F4D;
        z-index: 99999;
        transition: 300ms;
        overflow: hidden;
    }

    header.headerMain {
        z-index: 999999999;
    }

    .mobile-menu.open {
        top: 0;
    }

    .mobile-menu a {
        display: block;
        color: #F3EEE7;

        leading-trim: both;

        text-edge: cap;
        font-family: "Voyage" !important;
        font-size: 45px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }

    .mobile-menu a + a {
        margin-top: 60px;
    }

    .mobile-menu>div {
        padding: 160px 40px 0 40px;
    }

    .mobile-menu img {
        position: absolute;
        top: 500px;
        right: -50px;
        max-width: 400px;
    }

    .footer-grid .footer-section:first-of-type {
        display: none;
    }

    .footer-grid {
        position: relative;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 60px;
        padding-bottom: 40px;
    }

    .footer-grid:after {
        content: " ";
        display: block;
        position: absolute;
        width: calc(100% + 30px);
        height: 2px;
        background: #E54F4D;
        bottom: -2px;
        left: -15px;
    }

    .footer-content {
        padding-top: 60px;
    }

    .footer-section h3, .footer-links a {
        color: #000;

        leading-trim: both;

        text-edge: cap;
        font-family: Poppins;
        font-size: 15px;
        font-style: normal;
        font-weight: 300;
        line-height: 133.3%; 
    }

    .social-icon,
    .social-icons svg {
        width: 30px !important;
        height: 30px !important;
    }

     header.headerMain .container {
        padding: 0;
    }

    footer .container {
        padding: 0 15px;
    }
}