* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c") center / cover fixed;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px; 
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  color: #fff;
  z-index: 1;
  animation: fadeInUp 2s ease-out forwards;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.3s forwards;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 0.6s forwards;
}

/* HERO ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTON */
.hero-content .btn {
  margin-top: 30px;
  padding: 15px 40px;
  background: #25d366;
  color: white;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
}

.hero-content .btn:hover {
  background: #1ebe5b;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}


section {
  padding: 80px 20px;
}

/* WHY US */
.why {
  background: #f7f7f7; /* Без оранжевого фона */
  padding: 80px 20px;
  text-align: center;
  border-radius: 15px;
}

.why h2 {
  font-size: 42px;
  margin-bottom: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-item {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}

.why-item h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.why-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.why-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.why-item:hover h3 {
  color: #25d366;
}

.why-item:hover p {
  color: #555;
}




.why-item:nth-child(3) p {
  color: #666;
}

/* MOBILE */
@media (max-width: 600px) {
  .why h2 {
    font-size: 34px;
  }

  .why-item h3 {
    font-size: 24px;
  }

  .why-item p {
    font-size: 14px;
  }
}




.price {
  background: #fff;
  text-align: center
}

.price-card {
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}

.price-card ul {
  list-style: none;
}

.price-card li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
}

.calc {
  background: linear-gradient(135deg,#111,#333);
}

.calc-box {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}

input, select, button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
}

button {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 25px;
}

/* ANIMATION */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s;
}
.animate.show {
  opacity: 1;
  transform: none;
}
.service-row {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 15px;
}

.service-row select,
.service-row input {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
}

.service-price {
  margin-top: 10px;
  font-weight: bold;
}

/* ADD SERVICE BUTTON */
.add-btn {
  background: linear-gradient(135deg, #111, #444);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 14px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

.order-btn {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 25px;
  width: 100%;
  margin-top: 20px;
}

.add-btn:hover {
  background: linear-gradient(135deg, #25d366, #1ebe5b);
}


/* DELETE SERVICE */
.delete-btn {
  margin-top: 10px;
  background: transparent;
  color: #d9534f;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.delete-btn:hover {
  text-decoration: underline;
}

.carousel {
  width: 100%;
  overflow: hidden;
  margin: 40px auto;
}

.track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.track img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ANIMATION */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER (красиво) */
.carousel:hover .track {
  animation-play-state: paused;
}

/* INSTAGRAM LINK */
.insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 30px;
  padding: 12px 22px;

  background: #fff;
  border-radius: 30px;
  text-decoration: none;

  color: #111;
  font-weight: 600;
  font-size: 15px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.insta-link img {
  width: 22px;
  height: 22px;
}

.insta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* MOBILE */
@media (max-width: 600px) {
  .insta-link {
    font-size: 14px;
    padding: 10px 18px;
  }

  .insta-link img {
    width: 20px;
    height: 20px;
  }
}

b {
  font-weight: bold;
}

b:before {
  content: "От ";
  font-weight: normal;
  color: #888;
}

/* PROJECTS */
.projects {
  padding: 80px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

.carousel {
  width: 100%;
  overflow: hidden;
  margin: 40px auto;
}

.track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 30s linear infinite; /* Ускорили прокрутку */
}

.track img {
  width: 400px; /* Увеличиваем размер изображений */
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
}

/* Анимация прокрутки */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Пауза на hover */
.carousel:hover .track {
  animation-play-state: paused;
}

/* INSTAGRAM LINK */
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 12px 22px;
  background: #fff;
  border-radius: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.insta-link img {
  width: 22px;
  height: 22px;
}

.insta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.insta-link:hover img {
  transform: rotate(20deg);
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
  padding: 18px 20px;
  z-index: 1000;
  display: flex;
  justify-content: center; /* Центрируем текст */
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}

.navbar:hover {
  background-color: rgba(0, 0, 0, 0.9); /* Темнее при наведении */
}

/* Логотип */
.navbar .logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 40px; /* Добавим отступ справа */
}

.logo-img {
  width: 50px; /* Размер логотипа */
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.logo-img:hover {
  transform: scale(1.1); /* Логотип увеличивается при наведении */
}

/* Navigation Links */
.navbar-links {
  display: flex;
  gap: 30px;
  list-style: none;
  justify-content: center; /* Центрируем ссылки */
  padding: 0;
}

.navbar-links .nav-link {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-links .nav-link:hover {
  color: #25d366; /* Цвет при наведении */
  transform: translateY(-5px); /* Легкое поднятие ссылки */
}

.navbar-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #25d366;
  transition: width 0.3s ease-in-out;
}

.navbar-links .nav-link:hover::after {
  width: 100%;
}

/* Burger Menu for mobile */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger .line {
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.burger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .line:nth-child(2) {
  opacity: 0;
}

.burger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
  }

  .navbar-links .nav-link {
    font-size: 20px;
    color: #fff;
  }

  .burger {
    display: flex;
  }

  .burger.active + .navbar-links {
    display: flex;
  }
}

/* Adding padding to the body content so it isn't hidden under the navbar */
body {
  padding-top: 60px; /* Размер меню */
}

/* Скрытие скроллбара для всего сайта */
* {
  scrollbar-width: none;  /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}
