* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header и Навигация */
header {
  background: #0a0a23;
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Секции */
.section {
  padding: 100px 0;
}

.hero {
  background: #f4f4f4;
  text-align: center;
  padding-top: 150px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #0a0a23;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.btn:hover {
  background: #1a1a40;
}

/* Услуги */
.services {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-box {
  flex: 1;
  min-width: 250px;
  background: #eaeaea;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service-box i {
  color: #0a0a23;
  margin-bottom: 0.5rem;
}

/* Портфолио */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item img:hover {
  transform: scale(1.05);
}

/* Екип */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  background: #f9f9f9;
  text-align: center;
  border-radius: 8px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.team-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Контактна форма */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Футър */
footer {
  background: #0a0a23;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 50px;
}

/* Responsive меню */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0a0a23;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    text-align: right;
    padding: 1rem;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
    color: white;
  }
}
