body {
  font-family: 'Arial', sans-serif;
}

/* Верхнее меню */
/* Навигация */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(44, 62, 80, 0.5); /* полупрозрачный фон */
  padding: 15px 20px;
  position: fixed;   /* фиксируем навбар */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;     /* всегда сверху */
  backdrop-filter: blur(5px); /* эффект размытия за меню */
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #f1c40f;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu a:hover {
  color: #f39c12;
}

.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(44, 62, 80, 0.5); /* полупрозрачный фон */
    flex-direction: column;
    width: 200px;
    padding: 10px;
    backdrop-filter: blur(5px);
    z-index: 9999; /* тоже всегда сверху */
  }

  .menu.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
}
