@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
  font-family: "Days_One";
  src:
    local("DaysOne-Regular"), local("DaysOne-Regular"),
    url("./fonts/DaysOne-Regular.ttf");
  font-weight: bold;
}

/*WhiteSmoke: #f5f5f5
LightGray: #d3d3d3
LightSlateGray: #778899
DarkSlateGray: #1e3c3c
Black: #000000*/



body {
    margin: 0px;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", serif;
    background-color: #f0f0f0;
    color: #313131;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #1e3c3c;
    color: #f5f5f5;
    position: fixed;
    padding: 10px;
    width: 100vw;
    min-height: 55px;
    z-index: 2;
}

a {
    text-decoration: none;
    color: inherit;
}
a:visited {
    text-decoration: none;
    color: inherit;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70px;
}

footer {
    display: flex;
    flex-direction: row;
}

#logo-group {
    margin-left: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#logo {
    height: 50px;
}

#logo-title {
    margin: 0px 0px 0px 15px;
    font-family: "Days_One";
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Колір фону завантажувача */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Переконайтеся, що він поверх всього іншого */
    transition: opacity 0.5s ease-out; /* Плавне зникнення */
}

#loading.hidden {
    opacity: 0;
    visibility: hidden;
}

#loading-logo {
    width: 10%;
}

@media (max-width: 850px) {
    #loading-logo {
        width: 30%;
    }
}


#first-page-company-name {
    margin: 0px 0px 0px 15px;
    font-family: "Days_One";
    font-weight: 700;
    color: #1e3c3c;
}

#logo-title:hover {
    color:#ff8800;   
}

#first-page-company-name:hover {
    color:#ff8800;   
}

@media (max-width: 1350px) {
    #logo-group {
        margin-left: 5px;
    }
    #logo {
        height: 45px;
    }
    #logo-title {
        margin-left: 10px;
        font-size: 35px;
    }
}

@media (max-width: 764px) {
    #logo-group {
        margin-left: 0px;
    }
    #logo {
        height: 40px;
    }
    #logo-title {
        margin-left: 5px;
        font-size: 30px;
    }
}

#nav-container {
    display: flex;
    flex-direction: row;
    justify-content: stretch;  
}

#nav-menu {
    margin: 0px 50px 0px 0px;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;  
}

#nav-toggle {
    display: none;
    font-size: 40px;
    margin-right: 10px;
}

#close-mobile-naw {
    display: none;
    font-size: 40px;
}

.nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 600;
    color: #f5f5f5;
    padding: 10px 20px;
    font-size: 20px;
}

.nav-item:hover {
    border-radius: 30px;
    background-color: #ff8800;
}

.nav-button {
    padding: 10px 20px;
    text-decoration: none;
    margin-left: 20px;
    margin-right: 10px;
    border-radius: 30px;
    background-color: #f5f5f5;
    color: #313131;
    font-weight: 700;
    font-size: 22px;
    cursor: pointer;
}

.nav-button:hover {
    background-color: #ff8800;
    color: #f5f5f5;
}

@media (max-width: 1500px) {
    .nav-item {
        margin-left: 0px;
        margin-right: 0px;
        padding: 10px 10px;
    }
    #nav-menu {
        margin-right: 30px;
    }
}

@media (max-width: 1250px) {
    .nav-item {
        font-size: 15px;
    }
    #nav-menu {
        margin-right: 15px;
    }
    .nav-button {
        font-size: 18px;
    }
}


@media (max-width: 1023px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items:center;

      }
    #nav-container {
        width: 100%;
    }
    #nav-menu {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        padding-left: 5px;
        padding-bottom: 20px;
        width: 100%;
    }
    .nav-item {
        margin-left: 0px;
        justify-content: center;
        
    }
    .nav-button {
        margin-left: 10px;
        margin-top: 15px;
        text-align: center;
    }
    #nav-toggle {
        display: flex;
    }
    #header-mobile-group{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 95%;
    }
  }

#first-page {   
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 95vh;
}

#first-page-group {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    height: 40vh;
}

#first-page-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 2vh;
}

#first-page-caption {
    margin-bottom: 50px;
    text-align: center;
    font-size: 5vh;
    width: 90vw;
    text-shadow: #ffffff 0px 0 20px;
}

@media (max-width: 820px) {
    #first-page {
        height: auto;
    }
    #first-page-group {
        height: auto;
    }
    #first-page-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.cover{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background-color: #242424b9;
    padding-bottom: 50px;
}

.promo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    z-index: -100;
    object-fit: cover;
    pointer-events: none;
}

.promo-img {
    display: none;
}

@media (max-width: 820px) {
    .promo-video {
        display: none;
    }

    .promo-img {
        display:flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;   
        z-index: -100;
        object-fit: cover;
        pointer-events: none;
    }
}

.promo-video iframe {
    width: 100%; /* Ширина - весь екран */
    height: 100%; /* Висота - весь екран */
    object-fit: cover;
}

#products {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.section-header {
    width: fit-content;
    margin-top: 100px;
    font-size: 3vh;
}

#products-body {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    #products-body {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        justify-content: center;
    }
}

.products-picture {
    width: 90%;
    max-width: 400px;
}

.product-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px;
    padding: 30px;
    border-radius: 20px;
    background-color: #ffffff;
}

.products-price {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
}

.products-button {
    margin-top: 30px;
    padding: 10px 20px;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 30px;
    color: #f5f5f5;
    background-color: #1e3c3c;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.products-button:hover {
    background-color: #ff8800;
}

.products-light-button {
    margin-top: 30px;
    padding: 10px 20px;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 30px;
    color: #f5f5f5;
    background-color: #778899;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.products-light-button:hover {
    background-color: #ff8800;
}

.properties {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.properties-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
}

.properties-body {
    margin-top: 20px;
    width: 100%;
}

.properties-value {
    text-align: right;
    font-weight: 500;
    color: #778899;
    font-size: 16px;
}

.properties-value:hover {
    font-weight: 700;
    color: #ff8800;
}

.products-properties {
    display: flex;
    justify-content: stretch;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 100%;
}

.properties-caption {
    text-align: center;
    margin: 20px 0px 0px 0px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.show-properties {
    cursor: pointer;
    margin-left: 5px;
    border-radius: 30px;
    text-align: center;
}

.show-properties:hover {
    background-color: #ff8800;
}

.hide-properties {
    cursor: pointer;
    margin-left: 5px;
    border-radius: 30px;
    text-align: center;
}

.hide-properties:hover {
    background-color: #ff8800;
}

#aboutus {
    margin: 30px;
    display: flex; /*flex;*/
    flex-direction: column;
    align-items: center;
    width: 95vw;
    max-width: 1200px;
}

#aboutus-caption {
    text-align: center;
}

#aboutus-text {
    text-align: center;
    line-height: 2;
}

.about_company_row {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
}

.about_company_row_text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 50%;
    }

@media (max-width: 900px) {
    .about_company_row {
        flex-direction: column;
        align-items: center;
    }
    .about_company_row2 {
        flex-direction: column-reverse;
        align-items: center;
    }
    .about_company_row_text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
}

.about_company_text {
    margin: 0px;
}

@media (max-width: 900px) {
    #aboutus-text {
        width: 90%;
    }
}

.about_company_img {
    margin: 0px 30px 0px 30px;
    width: 50%;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0px 0px 10px gray;
}

.about_company_img:hover {
    box-shadow: 0px 0px 20px #ff8800;
}

@media (max-width: 900px) {
    .about_company_img {
        margin: 20px 15px 0px 15px;
        width: 80vw;
    }
}

#bat-advantages {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
}

#us-advantages {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
}

#bat-advantages-group {
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.bat-advantages-subgroup {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    color: #ffffff;
}

.bat-advantages-subgroup:hover {
    color: #ff8800;
}

.bat-advantages-text {
    text-align: center;
    margin-top: 10px;
    font-size: 1.5vh;
    font-weight: 600;
}


#us-advantages-group {
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.us-advantages-subgroup {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    color: #1e3c3c;
}

.us-advantages-subgroup:hover {
    color: #ff8800;
}

.us-advantages-text {
    text-align: center;
    margin-top: 10px;
    font-size: 1.5vh;
    font-weight: 600;
}

.picture-adventages {
    font-size: 60px;
}

#questions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

#stages {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.question-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    width: calc(90% - 60px);
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
}

.question-sub-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.question-text {
    font-size: 1.5vh;
}

.answer-text {
    display: none;
    font-size: 1.2vh;
    margin-top: 20px;
}

.answer-hide {
    display: none;
    font-size: 2.5vh;
    border-radius: 30px;
    padding: 5px;
}

.answer-hide:hover {
    background-color: #ff8800;
}

.answer-show {
    font-size: 2.5vh;
    border-radius: 30px;
    padding: 5px;
}

.answer-show:hover {
    background-color: #ff8800;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    background-color: #778899;
}

#footer-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
}

#footer-container2 {
    display: flex;
    width: 100%;
    padding: 30px;
    flex-direction: column;
}

#contacts {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding-left: 0px;
    width: 100%;
    font-size: 1.5vh;
}

.contacts-item {
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
}

.contacts-item-container {
    margin-top: 15px;
}

.contacts-item:hover {
    font-weight: 700;
    color: #ff8800;
}

.focus {
    color: #1e3c3c;
    font-weight: 700;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100vw; /* Full width */
    height: 100vw; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 1200px;
  }
  
  /* The Close Button */
  .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close-modal:hover,
  .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }