/*
Theme Name: Mahaon
Author: Dzmitry Vashkevich
Author URI: https://github.com/dimalepel
Description: Theme for website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mahaon
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poiret+One&display=swap');

* {
    scroll-behavior: smooth;
}

:root {
    --bs-tertiary-bg-rgb: 255, 255, 255;
}

body {
    font-family: "Poiret One", sans-serif;
    color: #000000;
    font-weight: 600;
}
img {
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
.bg-gray {
    background-color: #454545;
}
.bg-light-gray {
    background-color: #f1f0f5;
}
.text-default {
    color: #000000;
}
.text-accent {
    color: #1adfe5;
}
.link {
    color: #ff8562;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #000000;
    background-color: #1adfe5;
    border: 3px solid #1adfe5;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.button:hover,
.button--accent:hover {
    color: #1adfe5;
    border-color: #1adfe5 !important;
    background-color: #ffffff;
}
.button--accent {
    color: #ffffff;
    font-size: 16px;
    background-color: #fb4b4e;
    border-color: #fb4b4e !important;
}
.button--lg {
    height: 60px;
    padding-left: 60px;
    padding-right: 60px;
    border-radius: 30px;
}

.separator {
    position: relative;
    display: block;
    max-width: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 3px;
    background-color: #666;
}
.dropdown-item {
    font-weight: 600;
    transition: color 0.3s ease-in-out,opacity 0.3s ease-in-out;
}
.dropdown-item:hover {
    --bs-dropdown-link-hover-bg: transparent;
    --bs-dropdown-link-hover-color: #1adfe5;
}

/* */

.header__logo {
    display: block;
    max-height: 80px;
    max-width: 80px;
    margin-right: 20%;
}
@media (max-width: 1440px) {
    .header__logo {
        margin-right: 0
    }
}
.navbar {
    --bs-navbar-padding-y: 0
}
.nav-link {
    --bs-nav-link-font-size: 20px;
    --bs-nav-link-font-weight: 600;
    --bs-nav-link-color: #1adfe5;
}
.navbar-nav > .nav-item {
    padding-left: 15px;
    padding-right: 15px;
}
.navbar-nav > .nav-item > .nav-link {
    position: relative;
    text-align: center;
}
.navbar-nav > .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 20%;
    opacity: 0;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #1adfe5;
    -webkit-box-shadow: inset 0px -1px 0px 0px #1adfe5;
    -moz-box-shadow: inset 0px -1px 0px 0px #1adfe5;
    box-shadow: inset 0px -1px 0px 0px #1adfe5;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: none;
}
.navbar-nav > .nav-item > .nav-link:hover::before {
    opacity: 1;
    bottom: -1px;
}
.nav-link:hover {
    --bs-nav-link-hover-color: #1adfe5;
}
.navbar-nav .nav-link.active {
    --bs-navbar-active-color: #1adfe5;
}
@media (max-width: 1200px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .navbar-nav + .d-flex {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 24px;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        --bs-navbar-nav-link-padding-x: 0;
        --bs-navbar-nav-link-padding-y: 0;
    }
}
.navbar-toggler {
    --bs-navbar-toggler-border-color: transparent;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 223, 229, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    
}
.navbar-toggler[aria-expanded="true"] {
    --bs-navbar-toggler-icon-bg: url(data:image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iIgZmlsbD0iIzFhZGZlNSIvPg0KPC9zdmc+);
}
/* */

.page-title {
    position: relative;
    letter-spacing: .5px;
    font-size: 72px;
    line-height: 1.17;
    font-weight: 600;
    color: #ffffff;
}

/* */

.section-title {
    font-size: 42px;
    line-height: 1.23;
    font-weight: 600;
}

/* */

.feature-card {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 64px;
    font-size: 18px;
    line-height: 155%;
    color: #000000;
    font-weight: 600;
}
@media (max-width: 575px) {
    .feature-card {
        flex-direction: column;
    }
}
.feature-card svg,
.feature-card img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}
.feature-card__title {
    margin-bottom: 25px;
    color: rgb(26, 223, 229);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 600;
}

/* */

.directions-card__thumb-wrapper {
    position: relative;
    display: block;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}
.directions-card__thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all ease-in-out 0.45s;
}
.directions-card__thumb-wrapper:hover img {
    transform: scale(1.05);
}
.directions-card__front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}
.directions-card__title {
    display: flex;
    justify-content: space-between;
    padding: 30px 60px 30px 30px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
}

/* */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 80px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 991px) {
    .hero--home {
        height: auto;
    }
    .hero:not(.hero-home) {
        height: auto;
        min-height: 50vh;
        text-align: center;
    }
    .hero--home {
        background-color: #ffffff;
    }
}
.hero:not(.hero--home)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}
.hero--home img {
    width: 100%;
    object-fit: cover;
    height: calc(100vh - 80px);
}
.hero--home .page-title {
    margin-bottom: 0;
    text-align: right;
    color: #1adfe5;
}
@media (max-width: 991px) {
    .hero--home .page-title {
        padding-top: 45px;
        padding-bottom: 45px;
        text-align: center;        
    }
}
.hero--404 {
    position: relative;
    background-position: center;
}
.hero--404::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-color: #000000;
}

/* */

.gallery__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.15s linear,-webkit-transform 0.15s linear;
}
.gallery__thumb:hover {
    z-index: 2;
    box-shadow: 0 2px 20px 2px rgba(0,0,0,.45);
    transform: scale(1.04);
}

/* */

.footer {
    background-color: #454545;
}

/* */

.about img {
    aspect-ratio: 3 / 3.5;
    object-fit: cover;
}

.about__content p:not(:last-child) {
    margin-bottom: 30px;
}

/* */
.persons {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}
@media (max-width: 767px) {
    .persons {
        position: relative;
        padding-left: 0;
        padding-right: 0;
    }
}
.swiper-horizontal {
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}
.swiper-horizontal .swiper-wrapper {
    max-width: 960px;
}
.swiper-slide {
    width: auto;
}
.swiper-slide img {
    display: block;
    height: 560px;
}
@media (max-width: 767px) {
    .swiper-slide img {
        height: 320px;
        margin-left: auto;
        margin-right: auto;
        object-fit: cover;
    }
}
.persons__slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.swiper-pagination-bullet {
    cursor: pointer;
    display: inline-block;
    background-color: #222 !important;
    border: none;
    border-radius: 100px;
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    padding: 0;
    transition: background-color .2s ease-in-out;
}
.persons__arrow {
    width: 40px;
    height: 40px;
    margin-bottom: 30px;
    background-color: rgb(232, 232, 232);
    border-radius: 50%;
}
.persons__arrow svg {
    width: 9px;
}
.persons__slider-prev {
    transform: rotate(180deg);
}
/* */
.service-content {
    padding-top: 90px;
    padding-bottom: 90px;
}
.service-content h2 {
    margin-bottom: 90px;
    font-size: 42px;
    line-height: 1.23;
    font-weight: 600;
    color: #000000;
}
.service-content ul {
    margin-top: 0;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.service-content ul li {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 20px;
    line-height: 1.35;
}
.service-content ul li:not(:last-child) {
    margin-bottom: 50px;
}
.service-content ul li::before {
    content: "";
    flex-shrink: 0;
    display: block;
    width: 55px;
    height: 55px;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE2IDMxQzI0LjI4NDMgMzEgMzEgMjQuMjg0MyAzMSAxNkMzMSA3LjcxNTczIDI0LjI4NDMgMSAxNiAxQzcuNzE1NzMgMSAxIDcuNzE1NzMgMSAxNkMxIDI0LjI4NDMgNy43MTU3MyAzMSAxNiAzMVpNMjQuMzc1MiAxMS4yMzI2TDIzLjU2MjMgMTAuNDU0OUwxMy42NDczIDIwLjgyMDZMOC44OTc3NSAxNi4wNzFMOC4xMDIyNSAxNi44NjY1TDEzLjY2NTIgMjIuNDI5NEwyNC4zNzUyIDExLjIzMjZaIiBmaWxsPSJibGFjayIgc3R5bGU9ImZpbGw6IHJnYigyNiwgMjIzLCAyMjkpOyIvPgo8L3N2Zz4=");
}

/* */
.my-placemark {
    display: flex;
    align-items: center;
    position: absolute;
    left: -40px;
    top: -65px;
}
.my-caption {
    margin-bottom: 12px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    background-color: #ffffff;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 15px;
    margin-left: -10px;
}
.my-map-icon {
    width:75px;
    height:79px;
    max-width: inherit;
}

.page-template-default:not(.page-id-5) .page-title {
    margin-top: 45px;
    margin-bottom: 45px;
    font-size: 36px;
    line-height: 1.23;
    font-weight: 600;
    color: #000000;
    text-align: center;
}
.page-content {
    padding-bottom: 45px;
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 300;
    color: #000000;
    font-size: 20px;
    line-height: 1.55;
}
.page-content a {
    color: #ff8562;
    text-decoration: none;
}

@media (max-width: 991px) {
    .map {
        height: 50vh;
    }
    #contacts .row {
        flex-direction: column-reverse;
    }
    .service-template-default .page-title {
        font-size: 56px;
    }
}