
/* Основні стилі для сторінки */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Lora', serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 60px;

    background-image: url('fon/fon.jpg'); /* Спільний фон */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Фіксує фон при прокрутці */
}
/* Фіксований фон */
.background-container {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}
/* Контент сторінки */
.content {
    z-index: 1;
    padding: 20px;
    color: #fff;
    text-align: center;
    flex: 1;
}
/* Заголовки */
h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 0;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
h1 {
    color: #dee0de;
    font-size: 2.0em;
    width: 100%;          /* займає всю ширину */
    text-align: center;     /* вирівнювання по лівому краю (можна center або justify) */
    display: block;       /* забезпечує ширину 100% */
    box-sizing: border-box; /* враховує падінги, якщо будуть */
}
h2 {
    color: #fcfdfc;
    font-size: 1.9em;
}
h3 {
    color: #f0f5f4;
    font-size: 1.3em;
}
h4 {
    color: #b9ece6;
    font-size: 1.2em;
    margin-top: 20px;
}
h5 {
    
    font-size: 1.0em;
   
}

/* Параграфи */
p {
    font-family: 'Lora', serif;
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 0;
}
p:first-child {
    margin-left: 0;
}
.p-indent {
    text-indent: 50px;
}

/* Стилі для виділення */
.highlight, .highlight1 {
    background-color: rgba(43, 68, 68, 0.8);
    border-radius: 10px;
    font-family: 'Lora', serif;
    text-shadow: -2px -2px 3px #000, 2px -2px 3px #000, -2px 2px 3px #000, 2px 2px 3px #000;
    font-size: 16px;
    padding: 10px;
    border: none;
    font-weight: bold;
    text-align: justify;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.highlight {
    color: rgb(244, 243, 245);
    margin-left: 200px;
}
.highlight1 {
    color: rgb(244, 243, 245);
    margin: 0 200px 0 15px;
}
.highlight2 {
    color: #ADFF2F; /* світлий майже білий */
    margin: 0 200px 0 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8); /* щоб ще краще виділялось */
}

/* Соціальні іконки */
.social-link {
    margin: 0 10px;
    display: inline-block;
}
.social-link img {
    transition: transform 0.3s ease;
}
.social-link:hover img {
    transform: scale(1.2);
}
.rounded-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Фіксоване вікно */
.fixed-window {
    position: fixed;
    bottom: 10px;
    right: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.0), rgba(50, 50, 50, 0.0));
    padding: 15px;
    border-radius: 0 10px 10px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.fixed-window .link {
    text-align: center;
}
.fixed-window .link img {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fixed-window .link img:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    filter: brightness(1.3);
}
/* Банер */
    .callback-banner {
  position: fixed;                /* фіксуємо на екрані */
   bottom: 0;                           /* закріплено до нижнього краю */
  left: 0;                      /* відступ від лівого краю */
  background: rgba(59, 130, 246, 0.8); /* синій колір з прозорістю 0.8 */
  color: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-family: Arial, sans-serif;
  z-index: 9999;                  /* поверх всього контенту */
}

    .callback-banner h2 {
      margin-bottom: 10px;
    }

    /* Поле вводу */
    .callback-banner input[type="tel"] {
      padding: 10px;
      width: 80%;
      max-width: 200px;
      border: none;
      border-radius: 8px;
      margin-bottom: 15px;
      font-size: 16px;
      outline: none;
    }

    /* Кнопка */
    .callback-banner button {
      background: #facc15;
      color: #1f2937;
      border: none;
      padding: 12px 25px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
    }

    .callback-banner button:hover {
      background: #eab308;
    }
