/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Чистый и дорогой шрифт для обычного текста */
body {
    font-family: 'Montserrat', sans-serif;
    color: #2d3748; /* Глубокий серо-синий вместо черного */
    line-height: 1.6;
    background-color: #e0d0c780; /* Жемчужный белый (мягче для глаз) */
    overflow-x: hidden;
}

/* Люксовый шрифт для заголовков */
h1, h2, h3 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400; 
    letter-spacing: 1px;
    color: #1a202c; /* Почти черный, но с синим подтоном */
}

/* =========================================
   АНИМАЦИИ (Keyframes)
   ========================================= */

@keyframes fadeInDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 rgba(154, 132, 120, 0.4); }
    50% { box-shadow: 0 0 15px rgba(154, 132, 120, 0.7); }
    100% { box-shadow: 0 0 0 rgba(154, 132, 120, 0.4); }
}

/* =========================================
   ЭЛЕМЕНТЫ САЙТА
   ========================================= */

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 50px;
    background-color: #1a202c; /* Глубокий графитовый синий */
    border-bottom: 1px solid #9a8478;
    color: #f4f1ea;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInDown 1s ease-out;
}

.logo-link {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    max-height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px #9a8478); /* Бронзово-платиновое свечение */
}

.nav {
    grid-column: 2; 
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-link {
    color: #f4f1ea;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.4s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #9a8478; /* Платиновый акцент */
    transition: width 0.4s ease;
}

.nav-link:hover {
    color: #9a8478;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    background-image: linear-gradient(rgba(26, 32, 44, 0.6), rgba(26, 32, 44, 0.8)), url('bg.jpg');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f4f1ea;
    background-color: #1e2430;
    border-bottom: 1px solid #9a8478;
}

.hero-content {
    transform: translateY(-250px); 
}

.hero-content h1 {
    font-size: 52px;
    letter-spacing: 2px;
    color: #c5a58e; /* Цвет "Шампань" для заголовка */
    animation: fadeInLeft 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
    color: #f4f1ea;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #9a8478; /* Спокойный бронзовый */
    color: #f4f1ea;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transform: translateY(370px); 
}

.btn:hover {
    background-color: #7a665a;
    transform: translateY(370px) scale(1.02);
    box-shadow: 0 5px 15px rgba(154, 132, 120, 0.4);
    transform: translateY(370px); 
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.onas{
    text-align: center;
}
.section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a202c;
}

.bg-light {
    background-color: #eae2de66; /* Мягкий бежевый подтон */
    max-width: 100%;
}

.typography-solutions {
    background-color: #eae2de66;
    max-width: 1000px;
    margin: 0 auto;
}

.solutions-subtitle {
    color: #9a8478;
    font-size: 16px;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.luxury-list {
    border-top: 1px solid rgba(154, 132, 120, 0.3);
    display: flex;
    width: 100%;
    flex-direction: column;
}

.luxury-list-item {
    border-bottom: 1px solid rgba(154, 132, 120, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    transition: background-color 0.4s ease, padding-left 0.4s ease;
}

.luxury-list-item:hover {
    background-color: #9a84784b;
    padding-left: 20px;
}
.item-header{
 display: flex;
 align-items: center;
 gap: 30px;
 width: 40%;

}
.item-num {
    color: #9a8478;
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 400;
    opacity: 0.7;
}

.item-header h3 {
    color: #1a202c;
    font-size: 28px;
    margin: 0;
}
.item-body{
    width: 55%;
    text-align: left;
}
.item-body p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.footer {
    background-color: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 30px;
    
}
.animate-hidden{
    opacity: 0;
    transform: translateY(30px);
    transition: opasity 1s ease-out, transform 1s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Применение анимации к конкретным элементам */
.section h2,
.section p,
.contact-info {
    composes: animate-hidden;
}

/* Карточки появляются по очереди (через JS) */
.product-card {
    composes: animate-hidden;
}
/* =========================================
   СТИЛИ ДЛЯ ПРЕМИУМ-КАРУСЕЛИ (SWIPER)
   ========================================= */

.swiper {
    width: 70%;
    padding-top: 50px;
    padding-bottom: 60px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px; /* Ширина карточки фото */
    height: 450px; /* Высота карточки фото */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Дорогая мягкая тень */
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Фото будет красиво заполнять карточку без искажений */
    transition: transform 0.6s ease;
}

/* Легкое увеличение фото при наведении мышкой */
.swiper-slide:hover img {
    transform: scale(1.05);
}

/* Перекрашиваем стандартные синие элементы Swiper в наш золотой цвет */
.swiper-button-next, 
.swiper-button-prev {
    color: #9a8478 !important; /* Золотой цвет */
    transition: transform 0.3s ease;
}

.swiper-button-next:hover { transform: translateX(3px); }
.swiper-button-prev:hover { transform: translateX(-3px); }

.swiper-pagination-bullet-active {
    background-color: #9a8478 !important;
}

/* =========================================
   СТИЛИ ДЛЯ СВЕТЯЩИХСЯ ИКОНОК СОЦСЕТЕЙ
   ========================================= */

/* Контейнер для иконок */
.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px; /* Расстояние между иконками */
    margin-top: 15px;
}

/* Общие стили для иконок-ссылок */
.social-icon {
    font-size: 50px; /* Размер иконок */
    text-decoration: none;
    transition: all 0.3s ease; /* Плавная анимация */
    display: inline-block;
}

/* Эффект при наведении (легкое увеличение) */
.social-icon:hover {
    transform: scale(1.15) translateY(-3px);
}

/* --- WHATSAPP (Цвет: Ярко-зеленый) --- */
.whatsapp-link i {
    color: #228847; /* Базовый цвет WhatsApp */
    
    /* Эффект свечения: text-shadow */
    /* Синтаксис: x y размытие цвет */
    text-shadow: 
        0 0 5px rgba(37, 211, 102, 0.7),  /* Плотное свечение */
        0 0 10px rgba(37, 211, 102, 0.5), /* Мягкое размытие */
        0 0 15px rgba(37, 211, 102, 0.3); /* Дальнее свечение */
}

/* --- INSTAGRAM (Цвет: Ярко-розовый/фиолетовый) --- */
/* У Инстаграма градиент, но для неонового свечения лучше выбрать один яркий цвет */
.instagram-link i {
    color: #7e3441; /* Один из базовых цветов Instagram (яркая фуксия) */
    
    /* Эффект свечения */
    text-shadow: 
        0 0 5px rgba(228, 64, 95, 0.7),
        0 0 10px rgba(228, 64, 95, 0.5),
        0 0 15px rgba(228, 64, 95, 0.3);
}

/* Опционально: если вы хотите, чтобы при наведении свечение становилось еще сильнее */
.whatsapp-link:hover i {
    text-shadow: 
        0 0 7px #25D366,
        0 0 15px rgba(37, 211, 102, 0.8),
        0 0 20px rgba(37, 211, 102, 0.6);
}

.instagram-link:hover i {
    text-shadow: 
        0 0 7px #E4405F,
        0 0 15px rgba(228, 64, 95, 0.8),
        0 0 20px rgba(228, 64, 95, 0.6);
}

#contacts {
    text-align: center;
    background-color: #eae2de66; /* Светлый фон для контраста */
    max-width: 100%;
    margin: 0;
}

#contacts h2 {
    margin-bottom: 20px;
}

#contacts p {
    margin-bottom: 25px;
    font-weight: 300;
    font-size: 20px;
}

.contact-info {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-item {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s;
}

.contact-item i {
    margin-right: 8px;
    color: #79685f; /* Золотой цвет для телефона */
}

.contact-item:hover {
    color: #9a8478;
}

.social-links {
    margin-top: 25px;
}

.social-links p {
    font-size: 16px;
    margin-bottom: 10px;
}


.catalog-section {
    background-color: #1a202c;
    padding: 80px 20px;
    text-align: center;
}

.catalog-content {
    border: 1px solid rgba(154, 132, 120, 0.4);
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;

}

.catalog-content:hover {
    border-color: #9a8478;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.1);
}

.catalog-icon {
    color: #9a8478;
    font-size: 45px;
    margin-bottom: 25px;

}

.catalog-content h2 {
    color: #f4f1ea;
    margin-bottom: 20px;
}

.catalog-content p {
    color: #cbd5e0;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;

}

.btn-outline-gold {
    border: 1px solid #9a8478;
    color: #9a8478;
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s ease;
    background: transparent;

}
.btn-outline-gold i {
    margin-right: 10px;
    font-size: 16px;
}

.btn-outline-gold:hover {
    background-color: #9a8478;
    color: #f4f1ea;
}
.company{
    font-size: 20px;
    text-align: justify;
}

.trust-bar {
    background-color: #eae2de66;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 50px;
    border-top: 1px solid #4a5568;
    border-bottom: 1px solid #4a5568;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    color: #4a5568;   
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;

}

.trust-item i {
    color: #9a8478;
    font-size: 25px;
}

.trust-item.highlight span {
    color: #1a202c;
    font-weight: 600;
}

/* --- 1. ДОБАВЛЯЕМ ПЛАВНУЮ ПРОКРУТКУ --- */
/* Это свойство делает все якорные переходы на сайте плавными */
html {
    scroll-behavior: smooth;
}

/* --- 2. ИСПРАВЛЕННЫЕ СТИЛИ КНОПКИ --- */

.button_up {
    position: fixed;
    /* Используем bottom и right для точного позиционирования в углу */
    bottom: 4rem; 
    right: 4rem;
    z-index: 1000;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    
    color: #fff;
    /* ВАЖНО: Добавлен запасной цвет, если переменная не сработает */
    background: var(--menu-main-color, #4a5568); 
    border-radius: 50%;
    transition: all .3s ease; /* Чуть смягчил анимацию */
    /* will-change: auto; - это можно убрать, браузер сам разберется */
    background-clip: padding-box;
    cursor: pointer;
    box-shadow: 5px 9px 10px #4a5568;
}

/* Добавим эффект при наведении для красоты */
.button_up:hover {
    transform: translateY(-5px);
    box-shadow: 5px 15px 20px rgba(0, 0, 0, .3);
    background: var(--menu-accent-color, #9a8478); /* Меняем фон на акцентный при наведении */
}

.button_up_dots {
    width: 2rem;
    height: 2rem;
    background-position: center; /* center надежнее, чем 50% */
    background-repeat: no-repeat;
    background-size: contain; /* Важная строка, оставляем */
    
    /* УБЕДИТЕСЬ, ЧТО ПУТЬ К КАРТИНКЕ ПРАВИЛЬНЫЙ */
    background-image: url(strelka_vverh_oljjiqecj2mg.svg);
    
    /* transform и will-change здесь не особо нужны, если нет анимации самой иконки */
    transition: all .3s ease;
}

/* Опционально: можно анимировать стрелку при наведении на кнопку */
.button_up:hover .button_up_dots {
    transform: translateY(-3px); /* Стрелка чуть подпрыгивает */
}










/* =========================================
   АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ И МОБИЛЬНЫХ (до 768px)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* --- 1. Шапка и Навигация --- */
    .header {
        display: flex;
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-image {
        max-height: 70px; /* Уменьшаем логотип */
    }
/* Обновляем главный экран для мобильных */
    .hero {
        min-height: 75vh; /* Задаем достаточную высоту экрана */
        align-items: flex-start; /* Прижимаем контент к верхнему краю */
        padding-top: 60px; /* Регулируйте это значение, чтобы опустить или поднять весь блок с текстом */
    }
    
    .hero-content {
        transform: none !important; 
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%; /* Контейнер теперь занимает всю высоту .hero */
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        /* ВОТ ГЛАВНЫЙ СЕКРЕТ: это свойство займет все свободное пространство между текстом и кнопкой */
        margin-bottom: auto; 
    }
    
    /* ВОТ РЕШЕНИЕ: Прижмите кнопку к низу */
    .btn {
        transform: none !important; /* Убираем десктопные сдвиги */
        margin-top: 90px; /* <--- ТЕПЕРЬ «ПРУЖИНА» ЗДЕСЬ. Она вытолкнет кнопку вниз к нижнему краю экрана. */
        margin-bottom: 20px; /* <--- Минимальный отступ от нижнего края экрана */
    }
    /* --- 3. Общие отступы и типографика секций --- */
    .section {
        padding: 60px 15px;
    }

    .section h2 {
        font-size: 28px;
    }

    .company {
        font-size: 16px;
        text-align: center; /* На мобилках выравнивание по ширине (justify) часто рвет текст */
    }

    /* --- 4. Блок преимуществ (Trust Bar) --- */
    .trust-bar {
        flex-direction: column;
        text-align: center;
        padding: 30px 8px;
        gap: 25px;
    }

    .trust-item {
        font-size: 11px;
        flex-direction:row; /* Иконка над текстом */
        gap: 2px;
    }

    /* --- 5. Список решений (Luxury List) --- */
    .luxury-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
        gap: 15px;
    }

    .luxury-list-item:hover {
        padding-left: 10px; /* Уменьшаем сдвиг при наведении для мобилок */
    }

    .item-header, .item-body {
        width: 100%; /* Элементы занимают всю ширину и встают друг под друга */
    }

    .item-header {
        gap: 15px;
    }

    .item-header h3 {
        font-size: 22px;
    }

    /* --- 6. Карусель Swiper --- */
    .swiper {
        width: 100%;
        padding-top: 30px;
    }

    .swiper-slide {
        width: 260px; /* Сужаем карточки для телефонов */
        height: 350px;
    }

    /* --- 7. Блок каталога --- */
    .catalog-content {
        padding: 40px 20px;
    }

    /* --- 8. Подвал сайта (Footer) --- */
    .footer {
        padding: 30px 20px; /* Убираем жесткий отступ слева padding-left: 173px */
    }

    /* --- 9. Кнопка "Наверх" --- */
    .button_up {
        bottom: 2rem;
        right: 1.5rem;
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Дополнительно для очень маленьких экранов (iPhone SE и т.д.) */
@media screen and (max-width: 400px) {
    .hero-content h1 {
        font-size: 26px;
    }
    .nav {
        gap: 10px;
    }
    .nav-link {
        font-size: 11px;
    }
}























































