/* Основні стилі */
body {
  font-family: 'Roboto', sans-serif;
  background: #0f0f0f;
  color: #e5e7eb;
  margin: 0;
  overflow-x: hidden;
  touch-action: manipulation;
}

/* Стилі для заголовків */
header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(15, 15, 15, 0.95);
}

/* Секція героя */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 300px;
}

/* Стилі для Swiper (слайдера) */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #00ffcc;
}

.swiper-slide {
  text-align: center;
  font-size: 16px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 50, 50, 0.4));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
}

/* Стилі для кнопок і посилань */
a,
button {
  touch-action: manipulation;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-cta {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  transform: scale(1.05);
}

/* Стилі для карток послуг */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  border-radius: 8px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.service-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #00ffcc;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

/* Іконки */
.icon-circle {
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid #00ffcc;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Анімація fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Стилі для гамбургер-меню */
.hamburger {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
  width: 30px;
  height: 24px;
  padding: 0;
  margin: 0;
}

.hamburger span {
  pointer-events: auto;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger.active {
  z-index: 1200;
}

body.menu-open {
  overflow: hidden;
}

/* Навігація */
.nav-links {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links.active {
  transform: translateX(0);
  opacity: 1;
}

/* Стилі для таблиці цін */
.pricing-table {
  display: block;
}

.pricing-cards {
  display: none;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* Адаптивність для екранів до 768px */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 250px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-content a {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.95);
    padding: 2rem;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open .service-card,
  body.menu-open .hero-section,
  body.menu-open #pricing,
  body.menu-open #about,
  body.menu-open #contact {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links li a {
    font-size: 1.5rem;
    padding: 0.5rem;
    color: #e5e7eb;
    text-transform: uppercase;
  }

  .nav-links li a:hover {
    color: #00ffcc;
  }

  .hamburger {
    display: flex;
  }

  .pricing-table {
    display: none;
  }

  .pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h2 {
    font-size: 1.8rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .btn-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-circle svg {
    width: 24px;
    height: 24px;
  }

  iframe {
    height: 200px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .contact-form button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .pricing-card h3 {
    font-size: 1.25rem;
  }

  .pricing-card p {
    font-size: 0.9rem;
  }
}

/* Адаптивність для екранів до 480px */
@media (max-width: 480px) {
  .hero-section {
    height: 50vh;
    min-height: 200px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.8rem;
  }

  .hero-content a {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card h2 {
    font-size: 1.5rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .btn-cta {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .icon-circle svg {
    width: 20px;
    height: 20px;
  }

  .nav-links li a {
    font-size: 1.3rem;
  }

  .pricing-card h3 {
    font-size: 1.1rem;
  }

  .pricing-card p {
    font-size: 0.85rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}