* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

p {
    padding: 10px 0px 20px 0px;
}

/* Стили для шапки */
header {
    position: fixed;
    top: -130px; /* Скрываем шапку за пределами экрана */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 20px;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo-mobile {
    width: 90px;
    display: none;
}

/* .header-logo img {
    width: 80px;
    height: auto;
} */

.header-title h1 {
    font-size: 1.2em;
    margin: 0;
    text-align: center;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9em;
}

.header-contacts span {
    margin: 2px 0;
}

/* Класс для отображения шапки при прокрутке */
.header-visible {
    top: 0;
}

.hero {
    height: 100vh;
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Обновлённые стили */
.hero img {
    max-width: 40%;
    max-height: 40vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.top-bar {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
}

/* Анимация только для стрелки */
@keyframes arrowPulse {
    0% { transform: translateY(0); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0); }
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white !important; /* Основной цвет текста */
    position: absolute;
    bottom: 40px;
}

.scroll-down span {
    display: block !important; /* Исправление отображения */
    color: inherit;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.scroll-down svg {
    animation: arrowPulse 1.5s infinite;
    transition: all 0.3s;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.8));
}

.scroll-down:hover svg {
    animation-play-state: paused;
    transform: scale(1.2) translateY(5px);
    filter: drop-shadow(0 0 12px rgba(255,255,255,1));
}

/* Блок с текстом */
.text-block {
    padding: 60px 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.text-block ul {
    /* list-style: none; */
    margin: 20px 0;
    list-style-type: square !important;
}

.text-block li {
    margin-bottom: 15px;
    margin-left: 25px;
    /* display: flex; /* Делаем элемент flex-контейнером */
    align-items: center; /* Выравниваем элементы по центру по вертикали */
    /* height: 55px;  */
}

.text-block li::marker {
    color: #c654a6;
	font-size: 28px;
}

/* .text-block li::before {
    content: ''; 
    display: inline-block; 
    width: 48px; 
    height: 48px; 
    background-image: url('../img/icons/good.png'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    margin-right: 10px; 
} */

/* Стили для галереи */
/* Стили для галереи */
.gallery-section {
    padding: 40px 0;
    background: #f5f5f5; /* Фон секции */
}

.swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 500px; /* Фиксированная высота для слайдов */
    position: relative;
    overflow: hidden; /* Убедимся, что ничего не выходит за пределы контейнера */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Слайд занимает всю высоту контейнера */
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%; /* Изображение занимает всю высоту слайда */
    width: auto;
    height: auto;
    object-fit: contain; /* Чтобы изображение было по центру без обрезки */
}

/* Стили для пагинации (точек) */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important; /* Размещаем точки под изображением */
    left: 50% !important; /* Центрируем по горизонтали */
    transform: translateX(-50%) !important; /* Центрируем по горизонтали */
    display: flex;
    gap: 8px !important; /* Расстояние между точками */
    z-index: 10; /* Убедимся, что точки поверх изображений */
    width: auto !important; /* Ширина по содержимому */
    padding: 0 !important; /* Убираем отступы */
    margin: 0 !important; /* Убираем отступы */
}

.swiper-pagination .swiper-pagination-bullet {
    width: 12px !important; /* Ширина точки */
    height: 12px !important; /* Высота точки */
    background: #ccc !important; /* Цвет неактивной точки */
    border-radius: 2px !important; /* Делаем точки квадратными */
    opacity: 1 !important;
    transition: background 0.3s ease !important;
    margin: 0 !important; /* Убираем отступы между точками */
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #C654A6 !important; /* Цвет активной точки */
}

/* Форма */
.form-section {
    padding: 60px 20px;
    background: #f5f5f5;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.messenger-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: space-evenly;
}

/* Футер */
footer {
    background: #000;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-logo img {
    width: 256px;
}

.vertical-slide img {
    max-height: 80vh;
    max-width: 60%;
}

.btn-order {
    background: #C654A6;
    border: 1px solid #A44288;
    padding: 10px;
    color: white;
    font-weight: bold;
}

.catalog-link {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.catalog-link li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-link img {
    width: 96px;
}

.catalog-link a {
    color: black;
}

.legal-info, .footer-links {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

/* Стили для информационного контента */
.info-content {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 80px;
    line-height: 1.6;
}

.info-content h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.info-content p {
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero img {
        max-width: 80%;
    }
    
    .swiper-container {
        height: 300px; /* Уменьшаем высоту для мобильных устройств */
    }

    .swiper-pagination {
        bottom: 5px !important; /* Размещаем точки ближе к изображению */
    }

    .swiper-pagination .swiper-pagination-bullet {
        width: 10px !important; /* Уменьшаем размер точек */
        height: 10px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        display: flex;
        justify-content: center; /* Центрируем логотип по горизонтали */
        width: 100%; /* Занимает всю ширину */
        margin-bottom: 20px; /* Добавляем отступ снизу */
    }

    .footer-logo img {
        width: auto; /* Оставляем оригинальный размер логотипа */
        max-width: 100%; /* Чтобы логотип не выходил за пределы экрана */
    }

    .footer-links, .legal-info {
        text-align: left; /* Текст остается по левой стороне */
        padding: 0; /* Убираем отступы по умолчанию */
    }

    .footer-links li, .legal-info li {
        list-style: none; /* Убираем маркеры списка */
        margin-bottom: 10px; /* Добавляем отступы между элементами списка */
    }

    .scroll-down span {
        font-size: 1em; /* Уменьшаем размер на мобильных */
    }

    .header-logo {
        display: none;
    }

    .header-logo-mobile {
        display: flex;
    }

    .header-title {
        display: none;
    }

    /* Опционально: можно изменить выравнивание контактов и логотипа */
    .header-content {
        justify-content: space-between;
    }

    .header-contacts {
        align-items: flex-end;
    }

    .info-content {
        padding: 40px 20px;
        margin-top: 120px;
    }

    .info-content h1 {
        font-size: 1.5em;
    }

}






/* ...existing code... */
.catalog-section {
    padding: 40px 0;
    background: #fafafa;
}
.catalog-section h2 {
    text-align: center;
    margin-bottom: 32px;
}
.catalog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.catalog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px;
    max-width: 320px;
    min-width: 280px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Главное изменение: */
    justify-content: flex-start;
    position: relative;
}
.catalog-images {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.catalog-images img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.catalog-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.catalog-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    text-align: center;
}
.catalog-info p {
    font-size: 0.98em;
    margin-bottom: 8px;
    text-align: center;
}
.catalog-price {
    font-weight: bold;
    margin-bottom: 12px;
}
.btn-order {
    display: block;
    width: 100%;
    background: #7c3aed;
    color: #fff;
    padding: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    font-size: 1em;
    margin-top: auto; /* Кнопка всегда внизу карточки */
    text-align: center;
}
.btn-order:hover {
    background: #5b21b6;
}

.photo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.photo-modal-content {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
    transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
    opacity: 0;    
}
.photo-modal-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
.photo-modal-close:hover {
    color: #c654a6;
}
/* ...existing code... */