/* Общие стили */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background-color: #0f0f0f;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  color: #ff4fa3;
  text-decoration: none;
}

h1, h2 {
  margin-bottom: 0.5em;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  background-color: #ff4fa3;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 20px;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #e03d8c;
}

/* Шапка */
.header {
  background-color: #0f0f0f;
  padding: 30px 0 20px;
  text-align: center;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 50px;
  color: #ff4fa3;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #000000cc;
}


/* Навигация */
.nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 16px;
  color: #ff4fa3;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ff4fa3;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 100%;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ff4fa3;
  font-size: 32px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.carousel img {
  flex: 0 0 auto;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .carousel img {
    height: 150px;
  }
}

/* Главный экран */
.hero {
  background: linear-gradient(135deg, #1a1a1a, #ff4fa3);
  text-align: center;
  padding: 60px 10px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
}

/* Подвал */
.footer {
  text-align: center;
  padding: 20px 0;
  background-color: #1a1a1a;
  color: #888;
}
/* Адаптив */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    width: 90%;
  }

  .logo {
    font-size: 20px;
  }

  .footer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  h2 {
    font-size: 20px;
  }

  .section {
    padding: 40px 0;
  }
}

