@font-face {
    font-family: Raleway;
    src: url(../fonts/raleway.woff2) format("woff2");
    font-size: 100 900;
    font-display: swap;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/raleway-ext.woff2) format("woff2");
    font-size: 100 900;
    font-display: swap;
}

:root {
    --primary-color: #7EA60A;
    --secondary-color: #486100;
    --tertiary-color: #c7c7c7;
    --text: #e8e8e8;
    --primary-bg: #1f1f1f;
    --secondary-bg: #2b2b2b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    background-color: var(--primary-bg);
}
strong {color: var(--primary-color);}
.primary-color {color: var(--primary-color);}

body.lightbox-open {
    overflow: hidden;
}
a,
p,
h1,
h2,
h3,
h4,
ul,
ol,
li {
    color: var(--text);
}
p {
    font-size: 20px;
    padding: 0.5rem 0;
}
li {padding-bottom: 7px}
h1 {font-size: 48px;}

h2 {
    font-size: 2.3rem;
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
}
h2::after {
    content: '';
    width: 80px;
    height: 5px;
    border-radius: 99px;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
}
h2.text-left::after {
    left: 40px;
}
h2.noup {text-transform: none}
h2.primary-color::after {
    width: 0;
    height: 0;
}
h3 {
    font-size: 32px;
    font-weight: 700;
    padding: 0.5rem 0;
}

h4 {
    font-size: 22px;
    line-height: 2rem;
    padding: 0.5rem 0;
}

.hero {
    width: 100%;
    height: 760px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)), linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)), linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("/img/slider/sl1.webp");
    background-position: top center, bottom center, center center, center center;
    background-repeat: no-repeat;
    background-size: 100% 120px, 100% 500px, cover, cover;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    z-index: 1;
}

.hero-bg.active {
    opacity: 1;
    z-index: 2;
}

.hero-smaller {
    width: 100%;
    height: 300px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)), linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)), linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../img/slider/slider_1.webp");
    background-position: top center, bottom center, center center, center center;
    background-repeat: no-repeat;
    background-size: 100% 120px, 100% 500px, cover, cover;
}

#hero .header-nav .nav-link {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.page-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-header .nav-link {
    color: var(--text);
}

.page-header .hero-header .logo {
    filter: invert();
}

.page-header .nav-link::before {
    background-color: var(--text);
}

.hero-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    z-index: 99;
}

.hero-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.header-nav {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    position: relative;
    font-weight: 600;
}

.nav-link::before {
    content: '';
    background-color: white;
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 100px;
    bottom: 0;
    top: 26px;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.button-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0);
}

.button-primary:hover {
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateY(-3px);
}

.button-primary:active {
    scale: 0.95;
}

.button-secondary {
    background-color: transparent;
    color: var(--text);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0);
}

.button-secondary:hover {
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    transform: translateY(-3px);
    color: var(--text);
}

.button-secondary:active {
    scale: 0.95;
}

.hero-header .logo {
    filter: invert();
    max-width: 250px;
    width: 100%;
}

.hero-title {
    color: white;
    font-size: 64px;
    font-weight: 700;
    line-height: 100%;
}
.hero-p {
    color: white;
    font-weight: 400;
    font-size: 24px;
}
.hero-content {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.box-shadow {
    box-shadow: 0px 25px 70px -2px rgba(0, 0, 0, 0.15);
}

.box-1-8 {
    height: 200px;
    width: 1200px;
    border-radius: 30px;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.box-1-7 {
    height: 150px;
    width: 98%;
    max-width: 1000px;
    border-radius: 30px;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.box-1-6 {
    height: 200px;
    width: 800px;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.box-1-5 {
    flex: 1;
    max-width: 560px;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: 1rem;
}

.box-1-4 {
    width: 95%;
    flex: 1;
    max-width: 540px;
    background-color: white;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: 1rem;
}
.box-1-1 {
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    background-color: white;
}

#header {
    width: 90%;
    max-width: 1400px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background-color: var(--secondary-bg);
    backdrop-filter: blur(10px);
    z-index: 900;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

#header.visible {
    transform: translateY(0);
}

#header .logo {
    height: 40px;
    width: auto;
    margin-top: 3px;
    filter: invert() !important;
}

#header .nav-link {
    color: var(--text);
}

#header .nav-link::before {
    background-color: var(--text);
}
.box-1-8,
.box-1-7,
.box-1-6,
.box-1-5,
.box-1-4,
.box-1-1,
.box-5-7,
.box-2-3,
.box-4-2,
.box-reference,
.category-container,
.cookie-box,
.cookie-settings-box,
.tab-content,
.slide-box,
#mobile-menu {
    background-color: #2b2b2b !important;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.06);
}
main {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}
.about-doy {
    width: 100%;
    background-color: var(--secondary-bg);
}
.doy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 70px;
    flex-direction: row;
    padding: 50px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.container {
    display: flex;
    flex-direction: column;
}

.h-container {
    display: flex;
    flex-direction: row;
}
.contact-container {
    display: flex;
    flex-direction: row;
}
.p-relative {position: relative !important;}
.just-center {justify-content: center !important;}
.just-between {justify-content: space-between !important;}
.just-around {justify-content: space-around !important;}
.just-left {justify-content: flex-start !important;}
.just-right {justify-content: flex-end !important;}
.align-center {align-items: center !important;}
.align-left {align-items: flex-start !important;}
.align-right {align-items: flex-end !important;}
.text-center {text-align: center !important;}
.margin-50 {margin: 50px !important;}
.margin-60 {margin: 60px !important;}
.v-margin-10 {margin: 10px 0 !important;}
.v-margin-30 {margin: 30px 0 !important;}
.v-margin-60 {margin: 60px 0 !important;}
.t-margin-30 {margin-top: 30px !important;}
.t-margin-50 {margin-top: 50px !important;}
.t-margin-80 {margin-top: 80px !important;}
.r-margin-30 {margin-right: 30px !important;}
.r-margin-80 {margin-right: 80px !important;}
.l-margin-10 {margin-left: 10px !important;}
.l-margin-30 {margin-left: 30px !important;}
.h-padding-30 {padding: 0 30px !important;}
.h-padding-60 {padding: 0 60px !important;}
.padding-20 {padding: 20px !important;}
.b-padding-30 {padding-bottom: 30px !important;}
.gap-5 {gap: 5px !important;}
.gap-10 {gap: 10px !important;}
.gap-20 {gap: 20px !important;}
.gap-30 {gap: 30px !important;}
.gap-40 {gap: 40px !important;}
.gap-70 {gap: 70px !important;}
.gap-120 {gap: 120px !important;}
.box-1-7 p {font-size: 20px !important;}
.flex-1 {flex: 1 !important;}
.max-w-800 {
    max-width: 800px !important;
    width: 98% !important;
}
.wrap-reverse {flex-wrap: wrap-reverse !important;}

.img-fly {
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.tabs-container {
    width: 100%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs {
    overflow: hidden;
    background-color: white;
    border-radius: 99px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
    background-color: #3a3a3a !important;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.tab-button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-radius: 99px;
    max-width: 500px;
    width: 98%;
    font-family: 'Raleway', sans-serif;
    color: var(--text);
}

.tab-button:hover {
    background-color: #5c5c5c;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--text);
    font-weight: 700;
}

.tab-content {
    margin: 2rem 0;
    padding: 2rem;
    border-top: none;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 20px;
}

.tab-content.show {
    display: block;
    opacity: 1;
}

.tab-img {
    width: auto;
    height: 330px;
    border-radius: 25px;
    aspect-ratio: 4/3;
    object-fit: contain;
}

ul {
    margin-left: 40px;
    line-height: 1.5rem;
    font-size: 20px;
}

footer {
    margin-top: 90px;
    width: 100%;
    min-height: 300px;
    height: auto;
    background-color: var(--secondary-bg);
    color: var(--text);
}

.footer-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

footer .logo {
    width: 190px;
    height: auto;
    filter: invert();
}

.footer-logo {
    height: 25px;
    width: auto;
}

.icon {
    width: 80px;
    height: auto;
    filter: invert(56%) sepia(87%) saturate(464%) hue-rotate(33deg) brightness(93%) contrast(92%);
}

.slider-wrapper {
    max-width: 90%;
    margin: 50px auto;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

#prev-btn {
    left: -25px;
}

#next-btn {
    right: -25px;
}

.slider-btn:hover {
    background: var(--primary-color);
}

.slider-container {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 10px 0;
    padding-left: calc(50% - 125px);
    padding-right: calc(50% - 125px);
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 20px;
}

.slide-box {
    flex: 0 0 auto;
    width: 250px;
    height: 150px;
    transition: transform 0.3s ease, border 0.3s ease;
    overflow: hidden;
    padding: 1rem;
    border-radius: 20px;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-5-7 {
    width: 95%;
    max-width: 1200px;
    min-height: 650px;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    background-color: white;
}

.box-5-7 .container {
    width: 50%;
}

.contact-p {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
}

.contact-img {
    width: 36px;
    height: auto;
}

.contact-icon {
    filter: invert();
}

.footer-link {
    list-style-type: none;
    color: var(--text);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
}
.wrap2grid {
    display: flex;
    flex-wrap: wrap;
}

.box-2-3 {
    width: 300px;
    height: 280px;
    border-radius: 20px;
    background-color: white;
    transform: translateY(0);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.box-4-2 {
    max-width: 350px;
    width: 100%;
    min-height: 601px;
    height: 100%;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.box-2-3:hover {
    transform: translateY(-5px);
}

.box-2-3:active {
    scale: 0.95;
}

.nav-link.active {
    font-weight: bold;
}
.box-img-cut {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.box-img-small {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.speed-box {
    position: absolute;
    top: 170px;
    left: 80px;
    right: 80px;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 10px;
    color: white;
    text-align: center;
}
.box-reference {
    width: 350px;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.3s;
    padding: 15px;
    background-color: var(--secondary-bg);
}

.reference-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.box-a {
    color: var(--text);
    text-decoration: none;
}

.contact-map {
    width: 100%;
    height: 100%;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1000px;
}

.gallery a {
    display: block;
    cursor: pointer;
    line-height: 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.gallery img {
    width: 150px;
    height: 130px;
    object-fit: cover;
    display: block;
}

.gallery .img-fly {
    max-width: 550px;
    width: auto;
    height: auto;
    border-radius: 15px;
}

/* -------------------- LIGHTBOX -------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
}

.caption {
    color: #ccc;
    font-size: 1.2em;
    padding: 10px 0;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox .prev-slide-btn,
.lightbox .next-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
    user-select: none;
    border-radius: 4px;
    opacity: 0.8;
}

.lightbox .prev-slide-btn:hover,
.lightbox .next-slide-btn:hover {
    opacity: 1;
}

.lightbox .prev-slide-btn {
    left: 20px;
}

.lightbox .next-slide-btn {
    right: 20px;
}

/* -------------------- MOBILE MENU -------------------- */
#mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 1002;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 30px;
}

#mobile-menu .nav-link {
    color: var(--text);
    font-size: 32px;
}

#mobile-menu .nav-link::before {
    background-color: var(--text);
    top: 40px;
}

#mobile-menu .logo {
    width: 98%;
    max-width: 150px;
    height: auto;
    filter: invert();
}

#mobile-menu .h-container {
    flex-wrap: nowrap !important;
}

.open-menu {
    display: none;
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-image: url(../img/icons/menu.svg);
    text-decoration: none;
    cursor: pointer;
}

.opener-menu {
    display: none;
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-image: url(../img/icons/menu.svg);
    text-decoration: none;
    cursor: pointer;
    filter: invert();
}

.close-menu {
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-image: url(../img/icons/x.svg);
    text-decoration: none;
    cursor: pointer;
    filter: invert();
}

/* -------------------- FORM -------------------- */
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

label {
    margin-top: 10px;
}

input[type=text],
input[type=email],
textarea {
    background-color: #1c1c1c;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 10px;
    width: 400px;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    margin-top: 2px;
}

textarea {
    max-height: 400px;
    max-width: 620px
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    border: var(--primary-color) 1px solid;
}

.form-submit {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    margin-top: 10px;
}

.form-submit:hover {
    cursor: pointer;
}

.counter {
    font-variant-numeric: tabular-nums;
    color: var(--tertiary-color)
}

/* COOKIE BOX */
.cookie-box {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    background-color: white;
    border-radius: 30px;
    padding: 30px;
    z-index: 998;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0px 25px 70px -2px rgba(0, 0, 0, 0.15);
}
.cookie-settings-box h2::after {width: 0}
.cookie-box.active {
    display: block;
}

.cookie-settings.active {
    display: block;
}

.cookie-settings {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.cookie-settings-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 98%;
    background-color: white;
    border-radius: 30px;
    padding: 50px;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0px 25px 70px -2px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.cookie-title {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.cookie-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-buttons button,
.modal-footer button {
    font-family: 'Raleway', sans-serif !important;
    font-size: 15px;
}

.cookie-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.option-info {
    max-width: 80%;
}

.option-name {
    display: block;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 5px;
}

.option-desc {
    font-size: 0.8rem;
    color: #c5c5c5;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

input:disabled+.slider {
    background-color: var(--secondary-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.category-container {
    position: absolute;
    background-color: white;
    display: none;
    padding: 30px;
    border-radius: 20px;
    z-index: 999;
    min-width: 400px;
    flex-direction: column;
    top: 85px;
    right: 100px;
    animation: fadeIn .3s ease;
}

#mobDropdownContainer {
    position: inherit !important;
    align-items: center;
}

#mobDropdownContainer .nav-link {
    font-size: 18px
}

#mobDropdownContainer .nav-link::before {
    width: 0;
}

#floatDropdownContainer {
    right: 20%;
}

.category-container.active {
    display: flex;
}

.category-container .nav-link {
    color: var(--text);
    text-shadow: none !important;
}

.category-container .nav-link::before {
    background-color: var(--text)
}

.heroDropdown {
    position: relative;
}

.floatDropdown {
    position: relative;
}

.arr-d {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 19px;
    height: 19px;
    filter: invert();
}

.arr-r {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 19px;
    height: 19px;
    filter: invert(56%) sepia(87%) saturate(464%) hue-rotate(33deg) brightness(93%) contrast(92%);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}
.lightbox {
    display: none;
}

.hidden-link {
    display: none !important;
}

.product-page-wrapper {
    max-width: 1150px;
    margin: 80px auto 0;
}

.title-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-stack .title-large {
    font-size: larger;
    text-align: center;
}
.title-stack .title-small {
    font-size: 30px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}
.lead-text {
    max-width: 880px;
    text-align: justify;
}

.flex-no-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

.description-column {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.description-wrapper {
    padding: 0 30px;
}

.no-top-margin {
    margin-top: 0;
}

.no-bottom-margin {
    margin-bottom: 0;
}

.highlight-box {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-left: 8px solid var(--primary-color);
    background-color: #2b2b2b;
    color: var(--text);
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    text-align: center;
}
.video-embed {
    position: relative;
    width: 100%;
    background: #0f1c2c;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    height: auto;
}
.video-embed-16-9 {
    position: relative;
    width: auto;
    background: #0f1c2c;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    height: auto;
}

.video-embed-50 {
    position: relative;
    width: 50%;
    background: #0f1c2c;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    height: auto;
}
.video-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.max-width-lg {
    max-width: 1150px;
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    text-align: left;
}
.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}
.tech-specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.gallery-wrapper {
    flex: 1;
    min-width: 300px;
}

.gallery {
    display: grid;
    gap: 20px;
    flex-wrap: nowrap;
}

.gallery-1 {
    grid-template-columns: 1fr;
}

.gallery-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}
.benefit-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.benefit-card {
    background: var(--secondary-bg);
    border: 2px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.benefit-card p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

.ref-col {
    flex: 1;
    min-width: 280px;
}

.ref-heading {
    margin-bottom: 12px;
}

.ref-lead {
    width: 50%;
}

.ref-actions {
    flex-wrap: wrap;
}

.case-study-box {
    flex: 1;
    min-width: 280px;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-left: 8px solid var(--primary-color);
    background-color: #2b2b2b;
    color: var(--text);
}

.case-heading {
    margin-bottom: 8px;
}

.case-text {
    margin-bottom: 6px;
}

.case-text-last {
    margin-bottom: 0;
}

.gallery a {
    display: block;
}

.gallery img,
.square-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    height: auto;
}

.gallery-center {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.gallery_block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.reference-section {
    max-width: 1150px;
    margin: 80px auto 0;
    padding: 0 20px;
    text-align: center;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    align-items: stretch;
    width: 80%;
}

.reference-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 16px;
    border-radius: 16px;
    background: #f7f7f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.reference-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-color: var(--primary-color);
    background: #ffffff;
}

.reference-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.reference-card img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: saturate(0.9);
}

.reference-card--text {
    background: linear-gradient(120deg, #f8fafc, #eef2f7);
}

.reference-card--dark {
    background: #2b2b2b;
    border-color: #1f2933;
    color: #e5edf5;
}

.reference-card--dark:hover {
    background: #25313d;
    border-color: #2f3d4d;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.reference-card--dark img {
    filter: saturate(1) brightness(1.12);
}

.reference-card--dark .reference-card-title {
    color: #e5edf5;
}

.reference-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

#faq .faq-accordion {
    width: 98%;
    max-width: 1000px;
}

#faq .faq-item {
    background-color: #2b2b2b;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 22px;
}

#faq .faq-item summary {
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#faq .faq-item summary::-webkit-details-marker {
    display: none;
}

#faq .faq-item summary::after {
    content: '+';
    color: var(--primary-color);
    font-size: 30px;
    line-height: 1;
}

#faq .faq-item[open] {
    border-color: rgba(126, 166, 10, 0.45);
}

#faq .faq-item[open] summary::after {
    content: '-';
}

#faq .faq-item p {
    font-size: 19px;
    padding: 14px 0 4px;
}

#mobile-menu .h-container {flex-direction: row}
.section-img {
    width: 100%;
    max-width: 800px;
    object-fit: cover;
    height: auto;
    border-radius: 20px;
}
#nasledne-technologie .section-img {
    max-height: 600px;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .reference-card {
        height: 100px;
        padding: 12px;
    }
    .reference-card img {
        max-height: 64px;
    }
}
@media screen and (max-width: 1212px) {
    .wrap2grid {
        display: grid;
        grid-template-columns: auto auto;
    }
    .grid-3 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media (max-width: 1000px) {
    .benefit-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .video-embed {
        width: 100%;
        margin-top: 2rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 992px) {
    h2.text-left {
        text-align: center;
    }
    h2.text-left::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
    }
    .footer-container .h-container:first-child {
        display: flex;
        flex-direction: column;
    }
    .h-container {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    #nasledne-technologie .h-container {
        flex-wrap: wrap-reverse;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    #nasledne-technologie .section-img {
        max-height: 500px;
    }
    .contact-container {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .contact-map {
        height: 300px;
    }

    .box-5-7 {
        height: auto;
    }

    .box-5-7 .container {
        width: 100%;
    }

    input[type=text],
    input[type=email],
    textarea {
        max-width: 400px;
        width: 100%;
    }

    h2 {
        text-align: center
    }
    .self-center {
        align-self: center;
    }
    .gallery-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .usage-grid {
        grid-template-columns: 1fr;
    }
    .responsive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .doy-container {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
}

@media screen and (max-width: 780px) {
    .box-1-7 {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
        height: auto;
        max-width: 300px;
        text-align: center !important;
    }

    .header-nav {
        display: none;
    }

    .open-menu {
        display: block;
        filter: invert();
    }

    .opener-menu {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero {
        height: 600px;
    }

    .img-fly {
        width: 95%;
        max-width: 550px;
    }

    .gallery .img-fly {
        width: 100%
    }

    #faq .faq-item summary {
        font-size: 21px;
    }
}
@media screen and (max-width: 680px) {
    .h-container {
        flex-direction: column;
    }
    #nasledne-technologie .h-container {
        flex-direction: column-reverse;
    }
    #nasledne-technologie .img-fly {width: 100%}
    #mobile-menu .h-container {
        flex-direction: row;
    }
    .video-embed-50 {width: 100%}
    .ref-lead {width: 100%}
    .wrap2grid {
        display: flex;
        flex-wrap: wrap;
    }
}
@media (max-width: 480px) {
    .cookie-box {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 25px;
    }

    .cookie-buttons {
        flex-direction: column-reverse;
        width: 100%;
    }

    .cookie-modal-content {
        padding: 20px;
        width: 95%;
    }
    .tabs {
        flex-direction: column;
        border-radius: 25px;
    }
    .doy-container {
        padding: 20px;
    }
}

@media screen and (max-width: 550px) {
    .box-1-4 {
        max-width: none;
        width: 100%;
        height: 170px;
        flex: auto;
    }
    .box-1-5 {
        max-width: none;
        width: 100%;
        height: auto;
        flex: auto;
    }
    .box-1-5 .icon {
        width: 50px;
        height: auto;
    }
    .box-1-5 .icon.margin-60 {
        margin: 25px !important;
    }

    .box-1-4 .icon {
        width: 50px;
        height: auto;
    }

    .box-1-4 .icon.margin-60 {
        margin: 30px !important;
    }

    .box-1-4 h3 {
        font-size: 36px
    }

    .box-1-4 p {
        font-size: 16px
    }

    .tabs {
        scale: 0.85;
    }

    .tab-img {
        height: 250px;
        max-width: 333px;
        width: 100%;
    }

    .h-padding-60 {
        padding: 0 30px !important;
    }

    main {
        width: 95%;
    }

    .logo {
        height: 40px;
        width: auto;
        margin-top: 6px
    }

    #header .logo {
        height: 30px;
        width: auto;
        margin-top: 6px
    }

    #mobile-menu .logo {
        height: 40px;
        width: auto;
        margin-top: 6px
    }
    .description-wrapper {padding: 0}
}