/* ===================== main.css ===================== */
html {
    scroll-behavior: smooth;
}
/* 1) Сброс и box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2) Тело документа */
body {
    background-color: #1a1c21;
    /* Общий тёмный фон */
    color: #b2b4bb;
    /* Основной цвет текста */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    /* Избежать горизонтальной прокрутки */
}

/* 3) Ссылки */
a {
    color: #e8732e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #cf6528;
}

/* 4) Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 5) Заголовки */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    margin-bottom: 0.5em;
}

/* 6) Кнопка CTA */
.cta {
    background-color: #e8732e;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta:hover {
    background-color: #cf6528;
    box-shadow: 0 0 10px rgba(231, 115, 46, 0.6);
}

/* 7) Списки */
ul,
ol {
    margin-bottom: 1em;
    margin-top: 0.5em;
    padding-left: 1.5em;
    /* Отступ */
}

li {
    margin-bottom: 0.5em;
}

/* Общий класс для карточек */
.card-like {
    background-color: #2b2f38;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-like:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/* Абзацы */
p {
    margin-bottom: 1em;
}

/* Ссылки */
a {
    color: #e8732e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #cf6528;
}

/* Списки */
ul,
ol {
    margin-bottom: 1em;
}

/* Контейнер для блоков */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Кнопка CTA (общий класс) */
.cta {
    cursor: pointer;
    background-color: #e8732e;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
}

.cta:hover {
    background-color: #cf6528;
}

/* ======================== */
/* КОНТАКТЫ (#contacts)     */
/* ======================== */

#contacts {
    background-color: #2b2f38;
    /* Темный оттенок (чуть светлее общего фона #1a1c21) */
    padding: 40px 0;
    /* Вертикальные отступы */
}

/* Заголовок "Контакты" */
#contacts h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Описание под заголовком */
#contacts p {
    text-align: center;
    color: #b2b4bb;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

/* Список способов связи */
#contacts ul {
    list-style: none;
    /* Убираем маркеры */
    display: flex;
    /* Ставим элементы в одну строку (если хотим) */
    justify-content: center;
    /* Выравниваем по центру */
    gap: 30px;
    /* Расстояние между li */
    flex-wrap: wrap;
    /* На маленьком экране перенос */
    margin: 0;
    /* Сбрасываем отступы */
    padding: 0;
}

/* Элементы списка */
#contacts ul li {
    color: #b2b4bb;
    font-size: 1rem;
}

/* Ссылки (email, telegram) */
#contacts ul li a {
    color: #e8732e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#contacts ul li a:hover {
    color: #cf6528;
}

/* ======================== */
/* ФУТЕР (#footer)          */
/* ======================== */

#footer {
    background: linear-gradient(135deg, #2b2f38, #1a1c21);
    padding: 40px 20px;
    text-align: center;
    color: #b2b4bb;
    font-size: 0.95rem;
    border-top: 2px solid #333;
    border-radius: 0 0 20px 20px;
    /* Закругление нижних углов */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    /* Тень сверху */
    transition: background 0.5s ease;
}

/* Контейнер внутри футера */
#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Текст (© 2025 LIS-SKINS...) */
#footer p {
    margin: 0;
    font-size: 1rem;
    color: #e8732e;
    /* Цвет акцента */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

#footer p:hover {
    color: #cf6528;
}

/* Ссылки в футере */
#footer .footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

#footer .footer-links a {
    color: #e8732e;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 600;
    position: relative;
}

#footer .footer-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #e8732e;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
}

#footer .footer-links a:hover {
    color: #cf6528;
    transform: translateY(-2px);
}

#footer .footer-links a:hover::after {
    width: 100%;
}

/* Разделитель */
#footer .footer-links span {
    color: #b2b4bb;
}

/* Адаптивность */
@media (max-width: 768px) {
    #footer {
        padding: 30px 15px;
        border-radius: 0 0 15px 15px;
    }

    #footer p {
        font-size: 0.9rem;
    }

    #footer .footer-links {
        flex-direction: column;
        gap: 5px;
    }

    #footer .footer-links span {
        display: none;
        /* Скрыть разделитель на мобильных */
    }

    #footer .footer-links a {
        font-size: 0.95rem;
    }
}

/* Адаптив, если хотим подстраивать на узких экранах */
@media (max-width: 480px) {
    #contacts h2 {
        font-size: 1.6rem;
    }

    #contacts p {
        font-size: 0.95rem;
    }

    #contacts ul {
        gap: 15px;
    }

    #footer p {
        font-size: 0.8rem;
    }
}
/* ==============
   СТИЛИЗАЦИЯ SCROLLBAR ДЛЯ WEBKIT (Chrome, Safari, Edge на Chromium)
   ============== */

/* Ширина/высота полосы прокрутки */
::-webkit-scrollbar {
    width: 8px;
    /* толщина вертикальной полосы */
    height: 8px;
    /* толщина горизонтальной, если нужна */
}

/* Фон трека (полоса, по которой движется скролл) */
::-webkit-scrollbar-track {
    background: #2b2f38;
    /* тёмный фон для трека */
    border-radius: 10px;
    /* скругление (опционально) */
}

/* Бегунок (thumb) */
::-webkit-scrollbar-thumb {
    background-color: #e8732e;
    /* оранжевый из вашей палитры */
    border-radius: 10px;
    /* скругление краёв */
    border: 2px solid #2b2f38;
    /* отступы, создающие «прорезь» */
    transition: background-color 0.3s ease;
}

/* При наведении на бегунок */
::-webkit-scrollbar-thumb:hover {
    background-color: #cf6528;
    /* чуть более тёмный оранжевый */
}

 /* Прелоадер в абсолютном позиционировании */
 #preloader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: #1a1c21;
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
     /* выше всех */
     transition: opacity 0.5s ease, visibility 0.5s ease;
 }

 /* Спиннер (просто анимированный круг) */
 .spinner {
     border: 8px solid #2b2f38;
     border-top: 8px solid #e8732e;
     border-radius: 50%;
     width: 60px;
     height: 60px;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     100% {
         transform: rotate(360deg);
     }
 }

 /* Скрываем основной контент на время загрузки */
 body[data-loaded="false"] #main-content {
     opacity: 0;
     transition: opacity 0.5s ease;
 }

 body[data-loaded="true"] #main-content {
     opacity: 1;
 }

 /* Пример параллакса: .parallax-bg — фоновое изображение */
 .parallax-section {
     position: relative;
     height: 70vh;
     background: url('img/your-parallax-bg.jpg') center/cover no-repeat;
     overflow: hidden;
 }

 /* Анимированные элементы при прокрутке */
 .animated-block {
     opacity: 0;
     transform: translateY(40px);
     transition: opacity 0.8s ease, transform 0.8s ease;
 }

 .animated-block.in-view {
     opacity: 1;
     transform: translateY(0);
 }

 /* Hover-анимация для карточек (пример) */
 .animated-card {
     background: #2b2f38;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     padding: 20px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     margin-bottom: 20px;
 }

 .animated-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
 }