* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #000;
  font-family: "Arimo", sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
  color: white;
}



/* Навигационное меню */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 10000;
}

.navbar .logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.navbar .logo a{
  text-decoration: none;
  color: white;
}

.navbar .logo a:hover{
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  display: flex;
  align-items: center;
}

.nav-links li {
  padding: 10px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ccc;
}

/* Иконка бургера */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Полноэкранное меню */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10001;
}

.fullscreen-menu ul {
  list-style: none;
  text-align: center;
}

.fullscreen-menu ul li {
  margin: 20px 0;
}

.fullscreen-menu ul li a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}

.fullscreen-menu ul li a:hover {
  color: #ccc;
}

/* Кнопка закрытия меню */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Адаптация для мобильных устройств */
@media screen and (max-width: 768px) {
  .nav-links {
      display: none;
  }

  .menu-toggle {
      display: block;
  }
}

@media screen and (max-width: 820px) {
  .bookbtn{
    top: 9%;
    height: 40px;
    text-align: center;
  }

  .heromain{
    margin-right: 5%;
  }
}

.mainimg{
  max-width: 100vw;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Полный экран */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url("Images/main3.jpeg") no-repeat center;
  background-size: cover;
  z-index: 4;
}
.heromain {
  position: absolute;
  bottom: 10%;
  left: 5%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Затемнение фона под текстом */
  padding: 20px;
  backdrop-filter: blur(10px);
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.3);
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Лёгкое затемнение */
  z-index: -1;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #000000;
}

.bookbtn{
  position: absolute;
  bottom: 10%;
  right: 5%;
  z-index: 2;
  text-decoration: none;
  color: white;
  border: 1px solid white;
  padding: 10px;
  border-radius: 25px;
  transition: padding 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

.bookbtn:hover{
  background-color: white;
  color: black;
  transition: 0.5s;
  padding: 15px;
}

/* Стили для контейнера селектора */
#language-selector {
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 10px;
}

/* Стили для самого селектора */
#language-dropdown {
  background-color: #333;
  color: white;
  font-size: 16px;
  padding: 10px;
  border: 2px solid #555;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
}

/* Эффект при наведении на селектор */
#language-dropdown:hover {
  background-color: #444;
  border-color: #777;
}

/* Стили для выпадающего списка */
#language-dropdown option {
  background-color: #333;
  color: white;
  padding: 10px;
}

/* Эффект при наведении на элементы выпадающего списка */
#language-dropdown option:hover {
  background-color: #555;
}

#about{
  background-color: rgb(0, 0, 0);
  color: #ffffff;
  padding: 5%;
  z-index: 5;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Расстояние между контейнерами */
  border-bottom: 1px solid white;
  margin-top: 50px;
  border-top: 1px solid white;
}

.servisecpalv{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service{
  border: 1px solid white;
  border-radius: 25px;
  padding: 50px;
}

#services{
  text-align: center;
}

#services h2{
  font-size: 40px;
  padding: 50px;
  
}

#portfolio {
  text-align: center;
  padding: 50px 0;
  background-color: #f4f4f4;
}

#portfolio h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: black;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Два столбца */
  gap: 10px; /* Расстояние между изображениями */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover {
transform: scale(1.02);

}

/* На мобильных одно изображение в ряд */
@media (max-width: 768px) {
  .gallery {
      grid-template-columns: 1fr;
  }
}



