/* Сброс и базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #121212;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #00ffc8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Шапка */
header {
  background-color: #1f1f1f;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #00ffc8;
  position: relative;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00ffc8;
}


/* Меню */
nav {
  display: flex;
  gap: 25px;
}

nav a {
  font-weight: 600;
  font-size: 1rem;
}

nav a.active {
  border-bottom: 2px solid #00ffc8;
  padding-bottom: 4px;
}

/* Кнопка гамбургера */
#menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #00ffc8;
  cursor: pointer;
}

 .contact-info {
      background: #222;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 255, 200, 0.3);
      font-size: 1.1rem;
      line-height: 1.8;
      color: #ccc;
    }

    .contact-info p {
      margin-bottom: 15px;
    }
/* На больших экранах — одна строка, элементы растянуты */
.products, .accessories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 100vw; /* чтобы не было горизонтального скролла */
  padding: 0 20px;
}

 .gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.gallery img {
  flex: 1 1 calc(33.333% - 10px); /* 3 картинки в ряд с небольшим отступом */
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 255, 200, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .gallery img {
    flex: 1 1 calc(50% - 10px); /* 2 в ряд */
    height: 140px;
  }
}

@media (max-width: 480px) {
  .gallery img {
    flex: 1 1 100%; /* 1 в ряд */
    height: auto;
  }
}
    .gallery img:hover {
      transform: scale(1.05);
    }
    video {
      width: 100%;
      max-height: 400px;
      border-radius: 12px;
      margin-bottom: 30px;
      box-shadow: 0 4px 20px rgba(0, 255, 200, 0.3);
    }
    .description {
      font-size: 1.1rem;
      margin-bottom: 30px;
      color: #bbb;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 40px;
    }
    table th, table td {
      border: 1px solid #00ffc8;
      padding: 12px 15px;
      text-align: left;
    }
    table th {
      background-color: #222;
    }
    .profitability {
      background: #222;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 20px rgba(0, 255, 200, 0.3);
      font-size: 1.2rem;
      font-weight: 700;
      color: #00ffc8;
    }
    @media (max-width: 768px) {
      .gallery img {
        width: calc(50% - 10px);
        height: 140px;
      }
    }
    @media (max-width: 480px) {
      .gallery img {
        width: 100%;
        height: auto;
      }
    }

/* На мобильных — один столбец */
@media (max-width: 768px) {
  .products, .accessories {
    grid-template-columns: 1fr; /* один столбец */
    gap: 20px;
    padding: 0 10px;
  }
}

.product-link {
  color: inherit; /* чтобы текст не менял цвет */
  text-decoration: none;
  display: block;
}

.product-link:hover {
  text-decoration: underline; /* или эффект при наведении */
}

 /* Соцсети */
    .social-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .social-btn {
      display: inline-block;
      padding: 10px 22px;
      background-color: #00ffc8;
      color: #121212;
      font-weight: 700;
      border-radius: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease;
      font-size: 1rem;
      min-width: 100px;
      text-align: center;
      box-shadow: 0 3px 8px rgba(0, 255, 200, 0.5);
    }

    .social-btn:hover {
      background-color: #00b38f;
    }

    .social-btn.vk { background-color: #4a76a8; color: white; }
    .social-btn.vk:hover { background-color: #355e82; }

    .social-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: white; }
    .social-btn.instagram:hover { opacity: 0.85; }

    .social-btn.telegram { background-color: #0088cc; color: white; }
    .social-btn.telegram:hover { background-color: #006699; }

    .social-btn.facebook { background-color: #3b5998; color: white; }
    .social-btn.facebook:hover { background-color: #2d4373; }

/* Контейнер для контента */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  flex-grow: 1;
}

/* Главная страница */
.hero {
  background: linear-gradient(135deg, #00ffc8, #00675b);
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 255, 200, 0.4);
  /* Добавлено для базовой адаптивности */
  max-width: 100%;
  margin: 0 auto; /* Центрирование на больших экранах */
  box-sizing: border-box; /* Учитывает padding в ширине */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #121212;
}

.hero p {
  font-size: 1.3rem;
  color: #121212dd;
}

/* Медиа-запрос для планшетов и больших телефонов (до 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 60px 30px; /* Уменьшаем отступы */
    border-radius: 10px; /* Немного сглаживаем углы */
  }
  
  .hero h1 {
    font-size: 2.5rem; /* Уменьшаем размер заголовка */
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 1.1rem; /* Уменьшаем размер текста */
  }
}

/* Медиа-запрос для маленьких телефонов (до 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 40px 20px; /* Еще меньше отступов */
    border-radius: 8px; /* Упрощаем углы */
  }
  
  .hero h1 {
    font-size: 2rem; /* Делаем заголовок компактнее */
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 1rem; /* Уменьшаем текст для лучшей читаемости */
  }
}

Найти еще

/* Сетки продуктов и комплектующих */
.products, .accessories {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}

.card {
  background: #222;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 255, 200, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;      /* фото растягивается на всю ширину карточки */
  height: 550px;    /* увеличиваем высоту */
  object-fit: cover; /* сохраняем пропорции с обрезкой */
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 12px;
  color: #00ffc8;
}

.card-content p {
  flex-grow: 1;
  color: #aaa;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #00ffc8;
  margin-bottom: 15px;
}


/* Форма контактов */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #222;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 255, 200, 0.3);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #00ffc8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #00ffc8;
  color: #121212;
  font-weight: 700;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #00b38f;
}

/* Футер */
footer {
  background-color: #1f1f1f;
  color: #555;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Мобильное меню */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #1f1f1f;
    padding: 15px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,255,200,0.3);
    z-index: 1000;
  }
  nav a {
    margin: 10px 0;
  }
  #menu-toggle {
    display: block;
  }
  nav.nav-open {
    display: flex;
  }
}





.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.gallery img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
}

video {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.description {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #ddd;
}

table th, table td {
  border: 1px solid #444;
  padding: 12px 15px;
  text-align: left;
}

table th {
  background-color: #222;
  color: #00ffc8;
}

table tr:nth-child(even) {
  background-color: #1a1a1a;
}

.profitability {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: #00ffc8;
  font-weight: 600;
  text-align: center;
}

.btn-buy {
  display: inline-block;
  background-color: #00ffc8;
  color: #121212;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  margin: 0 auto;
  display: block;
  max-width: 200px;
  text-align: center;
}

.btn-buy:hover {
  background-color: #00b38f;
}

footer {
  background-color: #1f1f1f;
  color: #555;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}





/* Блок преимуществ */
.advantages {
  margin-top: 60px;
}

.advantages h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #00ffc8;
  text-align: center;
}

.advantages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantages-list li {
  flex: 1 1 250px;
  background: #222;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 255, 200, 0.3);
  color: #aaa;
  transition: transform 0.3s ease;
}

.advantages-list li:hover {
  transform: translateY(-8px);
}

.advantages-list li h3 {
  color: #00ffc8;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

/* Блок популярных товаров */
.popular-products {
  margin-top: 60px;
}

.popular-products h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #00ffc8;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}


 


	  
	  
