@font-face {
    font-family: 'Comfortaa';
    src:
        url("/assets/fonts/Comfortaa-VariableFont_wght.woff2") format("woff2"),
        url("/assets/fonts/Comfortaa-VariableFont_wght.woff") format("woff"),
        url('/assets/fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src:
        url('/assets/fonts/fa-v4compatibility.woff2') format('woff2'),
        url('/assets/fonts/fa-v4compatibility.woff') format('woff'),
        url('/assets/fonts/fa-v4compatibility.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src:
        url('/assets/fonts/fa-brands-400.woff2') format('woff2'),
        url('/assets/fonts/fa-brands-400.woff') format('woff'),
        url('/assets/fonts/fa-brands-400.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src:
        url('/assets/fonts/fa-solid-900.woff2') format('woff2'),
        url('/assets/fonts/fa-solid-900.woff') format('woff'),
        url('/assets/fonts/fa-solid-900.ttf') format('truetype');
    font-display: swap;
}

.fab {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
}

.fa-facebook::before {
    content: "\f09a";
}

.fa-instagram::before {
    content: "\f16d";
}

.fa-tiktok::before {
    content: "\e07b";
}

.fa-youtube::before {
    content: "\f167";
}

.fas {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
}

.fa-envelope::before {
    content: "\f0e0";
}

.fa-phone::before {
    content: "\f095";
}

.fa-ellipsis-v::before {
    content: "\f142";
}

.fa-solid {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
}

.fa-location-dot::before {
    content: "\f3c5";
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    font-family: 'Comfortaa', sans-serif;
}

body {
    overflow: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

header {
    z-index: 9;
    opacity: 1;
    top: 0;
    width: 100%;
    position: fixed;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-top: env(safe-area-inset-top);
    transform: translateZ(0) translateY(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-color: white;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;
}

header.transparent {
    opacity: .9;
}

.topbar {
    top: 0;
    padding: 8px 0;
    position: relative;
    border-bottom: 1px solid #eef8e0;
}

.topbar::before {
    content: "";
    display: block;
    left: 0;
    width: 1px;
    opacity: 1;
    height: 100%;
    bottom: -1px;
    position: absolute;
    will-change: transform;
    transform-origin: bottom left;
    transform: translateX(-0.5px) rotate(-45deg);
    background-color: #eef8e0;
}

.background-container {
    position: relative;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    background-color: #000;
}

.background-container .background {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.fa-ellipsis-v {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.fa-ellipsis-v.animated {
    animation: dotsCollapse 0.3s ease-in-out;
}

@keyframes dotsCollapse {

    0% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

/* Navigation CSS */

.topbar-toggler {
    position: relative;
    background: none;
    border: none;
    color: #ceff92;
    cursor: pointer;
}

.topbar-dropdown {
    left: auto;
    right: 5px;
    position: absolute;
    transform: translateY(-20px);
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    z-index: 1000;
    align-items: center;
    text-align: center;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.fa-ellipsis-v {
    font-size: 24px;
    will-change: transform;
}

.language-switcher {
    top: auto;
    opacity: 1;
    border: none;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.language-btn {
    padding: 0;
    border: none;
    color: #eee;
    display: inline-block;
    vertical-align: middle;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    background-color: transparent;
    transition: color 0.3s ease-in-out;
}

.fa-globe::before {
    content: "\f0ac";
}

.fa-globe {
    line-height: 1;
    font-size: 16px;
    color: #ceff92;
}

.fa-chevron-down::before {
    content: "\f078";
}

.language-btn .fa-chevron-down {
    font-size: 10px;
}

.language-btn:hover {
    color: #ceff92;
}

.language-dropdown {
    position: absolute;
    transform: translateY(-10px);
    opacity: 0;
    z-index: 11;
    border: none;
    border-radius: 8px;
    width: max-content;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.language-dropdown.show {
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transform: translateY(8px);
}

.language-options {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overscroll-behavior: contain;
}

.language-options li {
    width: 100%;
    color: white;
    list-style: none;
    cursor: pointer;
    padding: 10px;
    font-size: 12px;
    text-align: left;
    font-weight: 700;
    position: relative;
    background-color: #212529;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.language-dropdown li:hover {
    color: black;
    background-color: #ceff92;
}

.language-options li:not(:first-child)::before {
    content: "";
    top: 0;
    left: 50%;
    position: absolute;
    display: block;
    width: 90%;
    height: 1px;
    background-color: #eef8e0;
    transform: translateX(-50%);
}

#selected-lang {
    font-size: 12px;
    font-weight: 700;
}

.social-icon i {
    line-height: 1;
    font-size: 20px;
    color: #ceff92;
    line-height: revert;
    transition: color 0.3s ease-in-out;
}

.social-icon i:hover {
    color: white;
}

.navbar {
    padding-left: 48px;
    padding-right: 48px;
}

#navigation {
    gap: 32px;
    margin: 0;
    padding: 0;
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.navbar-toggler {
    padding: 0;
    padding-top: 2px;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 30px;
    gap: 6px;
    overflow: hidden;
    will-change: transform;
}

.toggler-icon span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background-color: #ceff92;
}

.toggler-icon span:nth-child(1),
.toggler-icon span:nth-child(3) {
    transform-origin: center;
    will-change: transform;
    transition: transform 0.3s ease-in-out 0.01s;
}

.toggler-icon span:nth-child(2) {
    opacity: 1;
    will-change: opacity;
    transition: opacity 0.3s ease-in-out;
}

.navbar-toggler.active .toggler-icon span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
}

.navbar-toggler.active .toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .toggler-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(45deg);
}

.navbar ul {
    list-style: none;
}

.nav-contact-item {
    color: white;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.navbar li a {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease-in-out, border-color 0.2s ease-in-out;
}

.navbar li a:hover,
.navbar li.active a {
    color: #ceff92;
    border-bottom-color: #ceff92;
}

.nav-contact-item:hover {
    color: #ceff92;
}

.nav-contact-item i {
    font-size: 14px;
    color: #ceff92;
}

.topbar-wrapper .d-flex:first-child {
    gap: 16px;
}


/* Parralax CSS */


.parallax {
    position: relative;
    overflow: hidden;
    z-index: 0;
    height: 50vh;
    min-height: 400px;
}

.parallax-container {
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.parallax-bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    transform: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.parallax-bg img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1280 / 720;
    object-fit: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.75);
}

.parallax-content {
    position: absolute;
    top: 0;
    height: 50vh;
    min-height: 400px;
    z-index: 2;
    width: 100%;
}

.parallax.full-height,
.parallax.full-height .parallax-bg,
.parallax.full-height .parallax-content {
    height: 100vh;
    max-height: 100%;
}

.content-wrapper {
    top: 0;
    width: 100%;
    opacity: 1;
    text-align: center;
    transform: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media screen and (min-width: 992px) {
    .sm-hidden {
        display: none;
    }
}

@media screen and (max-width: 991.98px) {
    .topbar {
        padding: 2px 0;
    }

    .navbar {
        padding: 0;
        position: unset;
        justify-content: flex-end;
    }

    .topbar-wrapper {
        right: 0;
        top: 100%;
        gap: 10px;
        opacity: 0;
        z-index: 10;
        padding: 12px 16px;
        border-radius: 8px;
        position: absolute;
        white-space: nowrap;
        pointer-events: none;
        flex-direction: column;
        transform: translateY(-20px);
        box-shadow: 0 4px 8px rgb(0, 0, 0, 0.5);
    }

    .topbar-wrapper.animated {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    .topbar-wrapper.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .topbar-wrapper .d-flex:first-child {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .language-switcher {
        left: 0;
        position: absolute;
        top: var(--language-switcher-top);
    }

    #navigation {
        left: 0;
        top: 100%;
        gap: 16px;
        width: 100vw;
        height: auto;
        max-height: 0;
        position: fixed;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background-color: #212529;
        transition: max-height 0.5s ease-in-out;
        padding: 0 calc((100% - 720px + 24px) / 2);
    }

    .navbar li {
        width: 100%;
    }

    #navigation li:last-child {
        margin-bottom: 24px;
    }

    .navbar li a {
        font-size: 14px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgb(255, 255, 255, 0.5);
    }

    .navbar li.active a {
        border-bottom: 2px solid #ceff92;
    }
}

@media screen and (max-width: 767.98px) {
    #navigation {
        padding: 0 calc((100% - 540px + 24px) / 2);
    }
}

@media screen and (max-width: 575.98px) {
    #navigation {
        padding: 0 12px;
    }
}