:root {
  --primary-color: #6EC1E4;     /* світлий блакитний */
  --secondary-color: #4a9fe8;   /* яскравий блакитний */
  --dark-blue: #054863;         /* темний синьо-бірюзовий */
  --green: #61CE70;             /* акцентно-зелений */
  --teal: #2fb8a7;              /* бірюзовий */
  --light-teal: #68dbab;        /* світлий бірюзовий */
  --sky-blue: #6fbcff;          /* небесний */
  --soft-blue: #76b7d1;         /* ніжний блакитно-сірий */
  --text-dark: #333333;         /* темний текст */
  --text-gray: #54595F;         /* темно-сірий */
  --text-light: #7A7A7A;        /* світло-сірий */
  --white: #ffffff;             /* білий */
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

/* Базові стилі */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Забороняє горизонтальний скрол на рівні всієї сторінки */
    margin: 0;
    padding: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}							 							

body {
  background-color: var(--white);
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
}
/* Заголовки */						
h1, h2, h3 {
  color: var(--dark-blue);
}

/* Кнопки та посилання */										  
a, .btn {
  color: var(--secondary-color);
  border: 2px solid #68dbab;
  text-decoration: none;
  transition: var(--transition);
  border-radius: 27px;
  padding: 15px 23px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 20px;
}

a:hover, .btn:hover {
  background-color: var(--green);
  color: var(--white);
}
.btn:active, button[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Хедер */
header {
  background: var(--dark-blue);
  color: var(--white);
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 1.5rem;
  color: var(--light-teal);
}

nav {
  display: flex;
  transition: var(--transition);
}

nav a {
  background: #054863;
  margin-left: 20px;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 4px;
  transition: 0.3s;
}

/* Hero секція */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}
.hero {
  background: url('/assets/img/hero.jpg') center/cover no-repeat;
  /*height: 90vh;*/
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  animation: fadeIn 2s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.hero p {
  color: var(--dark-blue);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 1px #ffffff;
}
.hello {display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;}
/* Форма */
.form {
  background: rgba(255, 255, 255, 0.35);
  padding: 20px;
  border-radius: 15px;
  max-width: 400px;
  width: 100%;
  text-align: left;
  animation: fadeIn 1.5s ease;
}
.form input,
.form textarea,
.form button {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #68dbab;
  font-size: 1rem;
  transition: var(--transition);
}
.form input:focus,
.form textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 5px rgba(47, 184, 167, 0.5);
}
.form textarea {
  resize: none;
}
.form button {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  border-radius: 27px;
  padding: 15px 53px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 20px;
  cursor: pointer;
}
.form button:hover {
  background: var(--green);
  color: var(--white);
}

/* Секції */
section {
  padding: 60px 50px;
  text-align: center;
  border-bottom: 1px dotted var(--light-teal);
  scroll-margin-top: 80px;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-blue);
}

/* Послуги */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--light-teal);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  transition: var(--transition)
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--dark-blue);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.card .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #de1122;
  margin-bottom: 15px;
}

.card .price span {
  font-size: 1.4rem;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #68dbab;
	text-align: justify;
}

.features li::before {
    /*content: "🌱";  Екологічний акцент
    content: "✔️"; */
    content: "💖"; /* Ніжний акцент */
    margin-right: 0.5rem;
    color: var(--main-color);
}

.card .btn {
  margin-top: auto;
  display: inline-block;
 /* color: #de1122;*/
}

.card .btn:hover {
  background: var(--green);
  color: var(--white);
}
/* Додаткові послуги */
.extras {
  position: relative;
  padding: 60px 50px;
  text-align: center;
  overflow: hidden;
  color: #fff; /* щоб текст був видимий */
  z-index: 1;
}

.extras h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}
.extras h2, 
.extras .extras-grid {
  position: relative;
  z-index: 2;
}
/* Додатково – затемнення фону, щоб текст не зливався */
.extras::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
/* Сітка: 4 картки у ряд на десктопі */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 колонки на великих екранах */
  gap: 20px;
  align-items: stretch;
}

/* Окрема картка */
.extra-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 220px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Плавне збільшення фону (без масштабування тексту) */
  transition: background-size 0.6s cubic-bezier(.22,.9,.32,1), box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Темна півпрозора панель поверх картинки (текст) */
.extra-card .overlay {
  background: rgba(0,0,0,0.85);
  color: var(--white);
  padding: 14px;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: background 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Текст у картці */
.extra-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px 0;
  line-height: 1.1;
  color: var(--white);
}
.extra-card p {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
}

/* Hover / focus effect */
/* Ефект зуму */
.extra-card:hover, .extra-card:focus-within {
  transform: scale(1.05); /* зум всієї картки */
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.extra-card:hover .overlay, .extra-card:focus-within .overlay {
  background: rgba(0,0,0,0.1);
}
/*Paralax*/
.extras .parallax-bg {
   position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* запас для руху */
  background-image: url('/assets/img/extraservis.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
  transition: transform 0.1s linear;
}
/* Адаптив: 2 колонки на планшеті, 1 на мобільних */
@media (max-width: 992px) {
  .extras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .extras-grid {
    grid-template-columns: 1fr;
  }
  .extra-card {
    height: 180px;
  }
}

/* Для сенсорних пристроїв вимикаємо hover-перетворення (щоб не дергалося) */
@media (hover: none) {
  .extra-card {
    transition: none;
  }
  .extra-card .overlay {
    transform: none;
  }
}
/*Переваги*/
.advantages {
  padding: 60px 40px;
  background: #f8f9fa;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.advantages h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
 
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(47%, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.advantage-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-5px);
  background: #68dbab3d;
}
.advantage-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}
.advantage-card .icon img {
 max-width: 100px;
 border-radius: 57px;
}
.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--teal);
}
.advantage-card p {
  font-size: 0.95rem;
  color: #555;
}
.seo-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  color: var(--text-dark);
  background: #68dbab12;
  padding: 20px;
  border-radius: 8px;
}
.stext, .ultext {
   margin-bottom: 15px;   
}
.ultext {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.ultext li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #68dbab;
	text-align: justify;
}

.ultext li::before {
    /*content: "🌱";  Екологічний акцент*/
   /* content: "✔️";*/
    content: "💖";
    margin-right: 0.5rem;
    color: var(--main-color);
}
/*краплі*/
.bubble-section {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
 /* background: linear-gradient(180deg, var(--light-teal), var(--sky-blue));*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}
/* Слайдери */
/*Приклади робіт*/
.works {
  text-align: center;
  padding: 50px 20px;
}

.slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  display: block;
}

/* Стрілки */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffffa3;
  color: var(--secondary-color);
  border: 1px solid var(--light-teal);
  font-size: 2rem;
  padding: 1px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Точки */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background: #333;
}
/* Відгуки */
.reviews {
  position: relative;
  overflow: hidden;
  max-width: 90%;
  margin: 30px auto;
}
.reviews-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.review {
  min-width: 33.33%;
  background: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-style: italic;
  animation: fadeIn 2s ease;
}
.review strong {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--teal);
}
.review-btn {
  background: var(--white);
  margin-top: 2rem;
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  border-style: solid;
  border-radius: 27px;
  border-color: var(--light-teal);
  padding: 15px 53px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 20px;
  cursor: pointer;
}
.review-btn:hover {
  background: var(--green);
  color: var(--white);
}

/* Модалка */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
}

/* Контакти */
.contact {
  background: linear-gradient(180deg, var(--light-teal), var(--sky-blue));
}
.contacts-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  grid-gap: 40px;
  flex-wrap: wrap;
}
.footertel {
    padding: 0 5px;
    color: var(--text-dark);
    transition: none;
    border: none;
    font-size: inherit;
    font-weight: inherit;}
/*.contact-info {
 /* flex: 1;
  text-align: left;
}*/

/* Футер */
footer {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 20px;
}
footer a {
  color: var(--green);
  text-decoration: none;
}

/* Адаптив */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #ffffff75;
    position: absolute;
    top: 70px;
    right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  nav.active {
    display: flex;
  }
  .burger {
    display: flex;
  }
  .review {
    min-width: 100%;
  }
  .contacts-container {
    flex-direction: column;
  }
  .hero {
    display: flex;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2px;
}
.hello {
    flex-direction: column;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
}
.hello {
    flex-direction: column;
}
}
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
/*ss*/
.fab {
  width: 52px;
  height: 52px;
  padding: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.fab img {
  width: 26px;
  height: 26px;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Кольорові акценти */
.fab-instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.fab-viber { background: #7360f2; }
.fab-telegram { background: #2AABEE; }
.fab-tiktok { background: #ccc; }

.fab-top {
  background: #2fb8a7;
  color: #fff;
  font-size: 22px;
  border: none;
  display: none;
}

/* Показ кнопки нагору */
.fab-top.show {
  display: flex;
}
/* Mobile */
@media (max-width: 768px) {
  .fab {
    width: 46px;
    height: 46px;
  }
}