/*
	RzhevskyRobotics 2024
	CyberneticCore Team
	style.css
	Author: Burdin E.A.
*/


* {
    margin: 0;
}


html, body {
    overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, #032961, #031222);
    color: white;
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;     /* Firefox */
    
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

section {
    z-index: 1000;
}

/* ==== Подгружаем шрифты ==== */
@font-face {
    font-family: "Benz";
    src: url('/fonts/BenzModels-Regular.ttf');
}

/* ==== Подгружаем шрифты ==== */


/* ========================================================= */
/* HEADER - START                                            */
/* ========================================================= */


/* ==== Контейнер страницы ==== */



.main-container {
    min-height: 100vh;
    

}

header {
    display: flex;
    align-items: center;
    position: fixed;
    padding: 20px 40px;
    width: 100%;
    z-index: 2000;
    background-color: #001020;
    height: 40px;
    font-family: 'Benz';
}

header h1 {
    width: 40%;
}

.header__menu {
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 90px;
    justify-content: space-around;
    width: 60%;

}

.header__menu a {
    text-decoration: none;
    color: white;
    font-size: 1.4em;
}

.header__menu a:hover {
    color: #E22B57;
    text-shadow: 0 4px 4px #942B76;
}

.selected {
    color: #E22B57 !important;
    text-shadow: 0 4px 4px #942B76;

}

.box__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url(../image/background_new.svg) no-repeat center / cover fixed;
    background-position-y: 40px;
    overflow: hidden; /* Обрезаем размытые края */
}

/* Псевдоэлемент для эффекта стекла */
.box__main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0); /* Полупрозрачный белый */
    backdrop-filter: blur(4px); /* Размытие фона */
    -webkit-backdrop-filter: blur(4px); /* Для Safari */
}



.block__main__tittle {
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: 'Benz';

}

.block__main__tittle h2 {
    font-family: 'Benz';
    font-size: 2.2em;
    color: white;
    z-index: 1000;
    margin-bottom: 20px;
}

.block__main__tittle p {
    width: 80%;
    text-align: center;
    font-family: 'Benz';
    font-size: 1.4em;
    line-height: 1.4em;
    color: white;
    z-index: 1000;
}

.services__block {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1000;
    font-family: 'Benz';
    margin-bottom: 40px;

}

.services__block h2 {
    text-align: start;
    font-size: 2.2em;
    padding: 120px 0 40px 0;
    margin-bottom: 20px;
    
}

.custom-list {
    width: 60%;
    font-size: 1.5em;
    list-style-type: disc; /* Классические точки */
    padding-left: 0;   /* Отступ от левого края */
  }
  
  .custom-list li {
    margin-bottom: 10px;   /* Расстояние между пунктами */
    line-height: 1.5;     /* Межстрочный интервал */
  }


.box__photo {
    margin-top: 40px;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.box__photo img {
    width: 100%;
    padding: 0 40px;
}

.contact__block {
    width: 100%;
    height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1000;
    font-family: 'Benz';
    
}

.contact__block h2 {
    font-size: 2.2em;
    padding: 20px 40px;
    margin-bottom: 20px; 
}

.contact__block p {
    width: 50%;
    padding: 20px 40px;
    font-size: 1.4em;
    line-height: 1.4em;

}

.footer {
    display: none;
}

 /* Стили только для мобильного меню */
.footer__mobile-menu {
  display: none; /* По умолчанию скрыто */
}

.mobile-burger {
  width: 80px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 100;
}

.mobile-burger span {
  display: block;
  position: absolute;
  height: 8px;
  width: 100%;
  background: linear-gradient(#E22B57, #942B76);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-burger span:nth-child(1) {
  top: 0;
  transform-origin: left center;
}

.mobile-burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.mobile-burger span:nth-child(3) {
  bottom: 0;
  transform-origin: left center;
}


.mobile-menu__items {
  position: absolute;
  right: 0;
  bottom: 100%;
  background: #001020;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.mobile-menu__items.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu__items a {
  padding: 20px;
  text-decoration: none;
  color: white;
  white-space: nowrap;
  font-size: 1.6em !important;
  transition: transform 0.3s, background 0.3s;
  border-radius: 4px;
}

.mobile-menu__items a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(5px);
}





@media only screen and (max-device-width: 600px) {
    html, body {
        overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
        position: relative;
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #22241F;
        color: white;
        
    }

    .footer__mobile-menu {
        display: block;
    }

    .main-container {
        min-height: 100vh;
        
    
    }

    .box__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url(../image/background__mobile.svg) no-repeat center / cover fixed;
    overflow: hidden; /* Обрезаем размытые края */
    }


    

/* Псевдоэлемент для эффекта стекла */
.box__main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0); /* Полупрозрачный белый */
    backdrop-filter: blur(4px); /* Размытие фона */
    -webkit-backdrop-filter: blur(4px); /* Для Safari */
    }

    header {
        display: none;
    }
    
    .footer {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        background-color: #001020;
        color: white;
        padding: 20px 0;
        height: 40px;
        z-index: 1000;
        bottom: 0;
        font-family: 'Benz';
    }

    .footer h1 {
        font-size: 1.6em;
        padding: 0 20px;
    }

    .footer__mobile-menu {
      display: block;
      padding: 0 20px;
    }

    .block__main__tittle h2 {
        text-align: center;
    }

    .services__block {
        width: 100%;
        align-items: center;
    }

    .services__block h2 {
        text-align: center;
        padding: 20px 0;
    }

    .custom-list { 
        width: 70%;
        font-size: 1.4em;
        padding-left: 0;
    }


    .box__photo {
        margin-top: 40px;
        margin-bottom: 80px;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        justify-content: space-around;
    }

    .box__photo img {
        width: 70%;
        padding: 20px 40px;
    }

    .contact__block {
        margin-bottom: 40px;
        align-items: center;
    }

    .contact__block p {
        width: 90%;
        word-wrap: normal;
        font-size: 1.2em;
    }

}

@media only screen and (max-device-width: 390px) {
    .contact__block p {
        width: 80%;
    }
}