/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Навбар */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
}

.company-name {
  font-family: "Press Start 2P", monospace;
  color: #fff;
  font-weight: bold;
  font-size: 0.7rem;
}

.hamburger-menu {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay a {
  color: #fff;
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 1.3rem;
  margin: 10px 0;
  transition: color 0.3s;
}

.menu-overlay a:hover {
  color: #4caf50;
}

/* Главная страница */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero h1 {
  font-family: "Press Start 2P", monospace;
  font-size: 3rem;
  letter-spacing: 10px;
  margin-bottom: 20px;
  color: #fff;
}

.hero p {
  font-family: "Press Start 2P", monospace;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-down span {
  margin-bottom: 5px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Услуги */
.services {
  padding: 100px 5%;
  background-color: #000;
}

.services h2 {
  font-family: "Press Start 2P", monospace;
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.7rem;
}

.service-card {
  color: white;
  text-decoration: none;
  display: flex;
  margin-bottom: 50px;
  border: 1px solid #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-img {
  flex: 1;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  flex: 1;
  padding: 30px;
}

.service-content h3 {
  font-family: "Press Start 2P", monospace;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
    letter-spacing: 5px;
  }

  .hero p {
    font-size: 1.2rem;
    padding: 0 20px;
  }

  .service-card {
    flex-direction: column;
  }

  .service-img {
    min-height: 150px;
  }
}

/* Футер */
footer {
  background-color: #000;
  padding: 50px 5%;
  border-top: 1px solid #333;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-family: "Press Start 2P", monospace;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #4caf50;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #4caf50;
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
}
