/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #333;
}

/* ===== HEADER / HERO ===== */
.hero {
  height: 60vh;
  background-image: url("images/header-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
}

.hero p {
  color: #ddd;
  font-size: 18px;
  margin-top: 10px;
}

/* ===== О КОМПАНИИ ===== */
.about {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 50px 30px;
  margin: 30px auto;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #1A237E;
}

.about p {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about ul {
  list-style-type: disc;
  padding-left: 20px;
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.about ul li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== SLIDER ===== */
.slider {
  overflow: hidden;
  touch-action: pan-y;
}

.slides {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.slides img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ===== DOTS ===== */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dots span.active {
  background: #1A237E;
  transform: scale(1.3);
}

/* ===== CONTACT ===== */
.contact p {
  text-align: center;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form button {
  padding: 12px;
  font-size: 16px;
}

.contact-form button {
  background: #1A237E;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  .slides img {
    width: 85vw;
    height: 200px;
  }

  .about h2 {
    font-size: 28px;
  }

  .about p, .about ul li {
    font-size: 16px;
  }
}
