/* Загальні */

body {
  background-color: #fff5f8;

  font-family: "Montserrat", Arial, sans-serif;
  margin: 0;
  color: #3a2d32;
}

/* Фіксований фон для всіх (в т.ч. iPhone) */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("img/logo-bg.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 400px;

  opacity: 0.18;          /* Можеш міняти: 0.12 – 0.22 */
  pointer-events: none;
  z-index: -1;
}


/* Шапка */

header {
  background: linear-gradient(135deg, #f8b7c8, #fce4ec);
  color: #3a2d32;
  text-align: center;
  padding: 60px 20px;
}

/* Блоки */

section {
  background-color: rgba(255, 255, 255, 0.93);
  max-width: 900px;
  margin: 25px auto;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  line-height: 1.7;
}

/* Заголовки */

h1 {
  font-size: 36px;
  margin-bottom: 10px;

  font-family: "Caveat", cursive;
  font-weight: 600;
}

h2 {
  color: #d6336c;

  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  text-align: center;
}

h3 {
  margin-top: 25px;
  color: #b02a4c;

  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
}

/* Текст */

p {
  font-size: 17px;
  line-height: 1.6;
  margin: 10px 0;
}

/* Списки */

ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 6px 0;
  border-bottom: 1px solid #f2c2cf;
}

/* Кнопка */

/* Красива кнопка */

button {
  background: linear-gradient(135deg, #f48fb1, #d6336c);
  color: white;
  border: none;

  padding: 14px 28px;
  border-radius: 50px;

  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.3px;

  cursor: pointer;

  box-shadow: 0 8px 18px rgba(214, 51, 108, 0.35);

  transition: all 0.25s ease;
}

button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 26px rgba(214, 51, 108, 0.5);
}

button:active {
  transform: scale(0.95);
}

/* Форма */

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #f2c2cf;
  border-radius: 8px;
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #d6336c;
}

textarea {
  min-height: 100px;
}

/* Мобільна версія */

@media (max-width: 600px) {

  header {
    padding: 40px 15px;
  }

  h1 {
    font-size: 28px;
  }

  section {
    width: 92%;
    padding: 20px;
  }

  button {
    width: 100%;
  }
}
/* Instagram icon */

.insta-link a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #d6336c;
  font-weight: bold;
}

.insta-icon {
  width: 22px;
  height: 22px;
}
/* Іконка оплати */

.pay-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #3a2d32;
}

.pay-icon {
  width: 24px;
  height: 24px;
}
/* Лінії з іконками */

.info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #3a2d32;
}

.info-icon {
  width: 22px;
  height: 22px;
}
/* Слоган з сердечком */

.slogan {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;

  font-size: 18px;

  font-family: "Caveat", cursive;
  font-weight: 600;
}


.heart-icon {
  width: 18px;
  height: 18px;
}

/* Емодзі у відгуках */

.review-text img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.heart-icon {
  animation: pulse 1.5s infinite;
}
a {
  color: #d6336c;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}
section {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

/* Кнопка Instagram — перекриває загальні стилі для <a> */
header .insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #fd5949, #d6249f, #833ab4);
  color: #fff;

  padding: 15px 34px;
  border-radius: 999px;

  font-size: 17px;
  font-weight: 700;

  text-decoration: none;

  box-shadow: 0 8px 18px rgba(214, 36, 159, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header .insta-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 28px rgba(214, 36, 159, 0.55);
  text-decoration: none;
}

header .insta-btn:active {
  transform: scale(0.95);
}

/* Галерея */

.gallery {
  display: grid;
  gap: 14px;
  margin-top: 18px;

  /* Мобільний-first: 2 колонки на телефоні */
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;

  /* Робимо всі фото однакової форми */
  aspect-ratio: 3 / 4;
  object-fit: cover;

  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover img {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

/* На більших екранах — 3 колонки */
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
  z-index: 99999;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.lightbox-close {
  position: fixed;
  top: 15px;
  right: 18px;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.95);
  color: #333;

  font-size: 26px;
  font-weight: bold;

  cursor: pointer;
}

/* Коли відкритий lightbox — вимикаємо hover-рух секцій */
body.lightbox-open section:hover {
  transform: none;
}
/* Відгуки */

.review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.stars {
  font-size: 28px;
  cursor: pointer;
}

.stars span {
  color: #ccc;
  transition: color 0.2s ease;
}

.stars span.active {
  color: #f4b400;
}

#reviewText {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f2c2cf;
  font-size: 16px;
  min-height: 100px;
}

#reviewsList {
  margin-top: 30px;
}

.review-item {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.review-stars {
  color: #f4b400;
  margin-bottom: 8px;
}
/* Відгуки */

#reviews {
  text-align: center;
}

.reviews-list {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.review-item {
  max-width: 600px;
  background: rgba(255,255,255,0.95);

  padding: 25px 28px;
  border-radius: 16px;

  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.review-stars {
  color: #f7b500;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-author {
  font-weight: 600;
  color: #b02a4c;
}
/* Блок довіри */

.trust {
  text-align: center;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr; /* телефон: 1 в ряд */
  gap: 14px;
  margin-top: 18px;
}

/* планшет і вище — 2 в ряд */
@media (min-width: 520px) {
  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* компʼютер — 3 в ряд */
@media (min-width: 900px) {
  .trust-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  background: #fff;
  padding: 14px 12px;
  border-radius: 12px;

  box-shadow: 0 6px 16px rgba(0,0,0,0.06);

  font-size: 15px;
  font-weight: 500;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* На компʼютері — 3 в ряд */
@media (min-width: 700px) {
  .trust-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Sticky button for mobile */

.sticky-btn {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);

  background: linear-gradient(135deg, #fd5949, #d6249f, #833ab4);
  color: white;

  padding: 14px 26px;
  border-radius: 50px;

  font-size: 16px;
  font-weight: 600;

  text-decoration: none;

  box-shadow: 0 8px 20px rgba(214,36,159,0.4);

  z-index: 9999;

  opacity: 0;              /* спочатку схована */
  pointer-events: none;   /* щоб не натискалась */
  transition: all 0.3s ease;

  display: none;
}


/* Показуємо ТІЛЬКИ на телефоні */
@media (max-width: 768px) {

  .sticky-btn {
    display: block;
  }

}
/* Іконки в блоці довіри */

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Фото "як пройти" біля адреси */

.location-photo {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;

  display: block;
  width: 100%;
}

.location-photo img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;

  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.location-hint {
  display: block;
  margin-top: 6px;

  text-align: center;
  font-size: 14px;
  font-weight: 500;

  color: #d6336c;
}









