
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  background: #000;
}

.hero {
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 40px 0;
}

.page-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  width: 100%;
}

.white-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  color: #000;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  max-width: 90vw;
}

.logo-inside {
  max-width: 150px;
  margin-bottom: 15px;
}

h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: #3c3c3c;
}

.info p {
  margin: 8px 0;
  font-size: 1em;
}

.info a {
  color: #2a7ae2;
  text-decoration: none;
}

.info strong {
  color: #2e2e2e;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  font-size: 14px;
}

.animated {
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 600px;
  gap: 10px;
  overflow-x: auto;
}

.carousel-arrow {
  font-size: 30px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 12px;
  background: none;
  border: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px;
  width: 100%;
  max-width: 500px;
}

.carousel-track img {
  width: 160px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .carousel-track img {
    width: 100px;
  }

  .carousel-arrow {
    font-size: 22px;
    padding: 0 5px;
  }

  .white-box {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 12px;
    padding: 10px 5px;
  }

  .carousel-track img {
    width: 80vw;        /* каждое фото занимает ~80% ширины */
    max-width: 280px;   /* ограничим для крупных экранов */
  }

  .carousel-arrow {
    font-size: 26px;
    padding: 0 6px;
  }

  .white-box {
    padding: 15px;
  }
}
