body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #444;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  background: #333;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
}

.nav-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.social {
  margin-bottom: 5px;
}

.social a {
  color: #757575;
  margin-left: 10px;
  font-size: 18px;
}
.social a:hover {
  color: #1cd465;
}
nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: #757575;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #1cd465;
}

nav a.active {
  color: white;
}

main {
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 0;
  gap: 20px;
}

.left-model,
.right-content {
  flex: 1;
  min-width: 300px;
}

.left-model img {
  width: 100%;
  height: auto;
  max-width: 578px;
  border-radius: 8px;
}

.right-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-content img {
  width: 100%;
  height: auto;
  max-width: 578px;
  border-radius: 8px;
}

.intro-text {
  background: #666;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  }

.center-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}


.buy-button {
  text-align: center;
  margin: 30px 0;
}

.buy-link {
  padding: 12px 25px;
  background: #555;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.buy-link:hover {
  color: #1cd465;
}

.video {
  max-width: 1200px;
  margin: 0 auto 50px;
}

footer {
  background-color: #222;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .nav-social {
    align-items: flex-end;
    margin-left: auto;
  }

  nav {
    flex-direction: row;
    justify-content: flex-end;
  }

  .intro {
    flex-direction: column;
    align-items: center;
  }
}


/* Адаптивність для нового блоку */
@media (max-width: 768px) {
  .intro.reversed {
    flex-direction: column;
    align-items: center;
  }
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
  user-select: none;
}

.zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 8px;
  outline: none;
  pointer-events: none;
}