/* Сброс и базовые стили */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(34, 49, 63, 0.95);
  color: #fff;
  padding: 15px 50px;
  z-index: 1000;
  text-align: center; /* чтобы название компании было по центру */
}

header h1 {
  margin: 0;
  font-size: 22px;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #f0c040;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {	
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 25px;
  background: #f0c040;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn:hover {
  background: #d4a634;
}

.advantages {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.adv {
  flex: 1;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product img {
  width: 100%;
  border-radius: 8px;
}

.product h3 {
  margin: 10px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
}

.contacts {
  background: #f5f5f5;
  border-radius: 8px;
}

.contacts .social a {
  display: inline-block;
  margin-right: 15px;
  padding: 10px 20px;
  background: #f0c040;
  border-radius: 6px;
  text-decoration: none;
  color: #222;
  transition: background 0.3s;
}

.contacts .social a:hover {
  background: #d4a634;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

/* Анимации */
.reveal-bottom,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal-bottom {
  transform: translateY(40px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}

.reveal-bottom.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}
