/* ОБЩИЕ СТИЛИ */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: url('s-0fa5be4b9deae3958f9aed34f3658e2201ffc90a.gif') no-repeat center center fixed;
    background-size: cover;
    background-color: transparent;
}

/* ШАПКА */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

main {
    margin-top: 70px;
}


header h1 {
    font-size: 24px;
    margin: 0;
}

/* МЕНЮ */

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding-left: 20px;
}

.menu li {
    margin: 0 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #ffffff;
}

/* Стили меню */
.menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #ffffff;
}

/* Гамбургер-меню для мобильных устройств */
@media (max-width: 768px) {
.menu-toggle {
    display: block;
    font-size: 36px;
    font-weight: 600;
    padding: 12px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 9999;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    animation: pulse 2s infinite;
    
}

  header {
    background: none;
    backdrop-filter: none;
  }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 15px;
        width: 80%;
        background: rgba(0, 0, 0, 0.9);
        text-align: center;
        border-radius: 8px;
        z-index: 1500;
    }

    .menu.active {
        display: flex;
    }
}


 .profile img {
        width: 80vw; /* Делаем фото 80% ширины экрана */
        max-width: 300px; /* Ограничиваем максимальный размер */
        height: auto; /* Сохраняем пропорции */
    }



/* ГЛАВНЫЙ БЛОК */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center; /* Выравниваем всё по центру */
    text-align: center;
    color: white;
    padding: 20px;
}

.profile img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px; /* Добавляем отступ перед кнопкой */
}

.appointment-button {
    display: inline-block;
    background: #ff5733;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.appointment-button:hover {
    background: #c04020;
}


/* КАРУСЕЛЬ */
.carousel-container {
    display: flex;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    min-width: 80%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    scroll-snap-align: start;
    text-align: center;
    font-size: 22px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    color: black;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 1000;
}

.carousel-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    scroll-snap-align: center;
    transition: transform 0.3s;
    flex: 0 0 auto;
}
.carousel-inner img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Чтобы изображение полностью отображалось без обрезки */
}

.carousel-button.left { left: 10px; }
.carousel-button.right { right: 10px; }

/* ФУТЕР */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

footer a {
    color: #383838e5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff;
}

/* КОНТАКТНЫЕ КНОПКИ */
<style>
        .contact-icons {
            position: fixed;
            right: 20px;
            bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1000;
        }
        .contact-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s ease-in-out;
        }
        .contact-icons a:hover {
            transform: scale(1.1);
        }
        .telegram { background: #0088cc; }
        .whatsapp { background: #25D366; }
        .contact-icons img {
            width: 40px;
            height: 40px;
        }

                
    .btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    text-decoration: none;
    background: #00aaff; /* Голубая кнопка */
    color: white;
    font-size: 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #0088cc;
}
    </style>

    h2 {
    text-align: center;
    color: #B0D8FF; /* Мягкий голубой вместо желтого */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* Добавил лёгкую тень для лучшей читаемости */
}

.file-item h3 {
    margin: 0 0 10px;
    color: #C3E6FE; /* Приглушенный аквамариновый */
    font-weight: 500; /* Сделать текст чуть тоньше */
    transition: color 0.3s; /* Плавное изменение цвета */
}

.file-item:hover h3 {
    color: #9ED4FC; /* Эффект при наведении */
}

.file-actions a {
    background: #6A8EAE; /* Приглушенный сине-серый вместо ярко-синего */
    border: 1px solid rgba(255,255,255,0.1); /* Добавил тонкую границу */
}

.file-actions .read {
    background: #7AA583; /* Природный зеленый вместо кислотного */
}

.file-actions .download {
    background: #B47B7B; /* Тёплый терракотовый вместо красного */
}
.pulse {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #00aaff, #0088cc);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 170, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 170, 255, 0); }
}

.loader {
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid #00aaff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  color: white;
  text-align: center;
}

@media (max-width: 600px) {
  .modal-content {
    width: 90vw;
    max-height: 80vh;
    margin: 10px auto;
    border-radius: 10px;
  }

  .modal {
    align-items: flex-start;
    padding-top: 40px;
  }

  .modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    font-size: 20px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: black;
    border: none;
    font-weight: bold;
    z-index: 10001;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    cursor: pointer;
  }
}

.modal-content {
  position: relative;
    max-height: 80vh;
  overflow-y: auto;
    /* скрытие полосы прокрутки: */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE и Edge */
}

.modal-content::-webkit-scrollbar {
  display: none;                /* Chrome, Safari */
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 22px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}


.modal-close:focus {
  outline: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
}


.modal.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

#callbackForm {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#callbackForm.visible {
  display: flex;
}

.modal-content {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 30px 20px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  width: 90%;
  max-width: 420px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.modal-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  outline: none;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #00aaff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #008ecc;
}


#clientName,
#clientPhone {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: white;
  color: black;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

.help-button {
  background: linear-gradient(135deg, #00aaff, #0077cc);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.help-button:hover {
  background: linear-gradient(135deg, #00c6ff, #005fa3);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.6);
  transform: translateY(-1px);
}

.modal-window::-webkit-scrollbar {
  display: none;
}
.modal-window {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
