/* Общие стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a1b2f, #001f3f);
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: 80px; /* отступ для фиксированного хедера */
}

/* Liquid glass эффект */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 30px;
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  width: 65px;
}

.nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav a {
  color: #b0dfff;
  text-decoration: none;
  margin: 0 15px;
  transition: 0.3s;
}

.nav a:hover {
  color: #00bfff;
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.section h2 {
  color: #00bfff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.section p {
  color: #aad4ff;
  margin-bottom: 30px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature {
  padding: 25px;
  text-align: center;
  transition: 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00bfff;
}

.feature img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.feature:hover img {
  transform: scale(1.05);
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Соцсети */
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.glass-btn {
  text-decoration: none;
  color: #b0dfff;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.glass-btn:hover {
  background: rgba(0,191,255,0.2);
  color: #fff;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  color: #88cfff;
}

#team .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 250px)); /* фиксированная ширина карточки */
  gap: 20px;
  justify-content: center;      /* карточки по центру */
  margin: 20px auto 0 auto;     /* сверху отступ 20px, центрирование через auto */
  max-width: 600px;             /* ширина для 2 карточек, можно подстроить */
}



#team .feature {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#team .feature .icon {
  width: 100%;
  aspect-ratio: 1 / 1; /* квадрат */
  margin-bottom: 10px;
}

#team .feature .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

#team .feature h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

#team .feature p {
  font-size: 0.9rem;
  color: #aad4ff;
}

#team .feature:hover {
  transform: translateY(-5px);
}






/* ADAPTIVE */
@media(max-width: 600px){
  .features-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}
