/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 100px; /* Добавляем отступ равный высоте шапки */
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0066cc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
    height: 100px; /* Фиксируем высоту шапки */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    color: white; /* Белый цвет текста на синем фоне */
    font-size: 24px;
}

/* Navigation Styles for Blue Header */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: white; /* Белый цвет текста на синем фоне */
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}


/* Section Common Styles */
section {
    padding: 100px 0;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 2px;
    font-size: 45px;
    color: #0066cc;
}

h2 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 1px;
    font-size: 32px;
    color: #0066cc;
}

h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #3495ab;
}

/* Promo Section */
.promo-section {
    background-color: #f8f9fa;
    margin-top: 0px;
}

.promo-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px; /* Добавляем небольшой отступ вместо удаленного */
}

.promo-content {
    flex: 1;
    padding-right: 30px;
}

.promo-content h2 {
    text-align: left;
    font-size: 42px;
    margin-bottom: 20px;
}

.promo-content p {
    font-size: 18px;
    margin-bottom: 10px;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0055aa;
}

.promo-image {
    flex: 1;
}

.promo-image img {
    max-width: 100%;
    height: 500px;
    border-radius: 10px;
}

/* Introduction Section */

.intro-section {
    background-color: #5786b5;
}

.intro-section .container {
    padding-top: 30px; /* Добавляем отступ для intro-секции */
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 2px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 2px;
    font-size: 18px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Catalog Section */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.category:hover {
    transform: translateY(-10px);
}

.category h3 {
    margin: 15px 0;
    color: #0066cc;
}

.category img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Terms Section */

.terms-section {
    background-color: #5786b5;
}

.terms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.terms-content div {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.terms-content h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

/* Contacts Section */
.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .main-nav ul {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .promo-section .container,
    .intro-content,
    .contact-content {
        flex-direction: column;
    }

    .promo-content h2 {
        text-align: center;
        font-size: 42px;
        margin-bottom: 20px;
    }
    .promo-content {
        align-items: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content > div {
        margin-bottom: 20px;
    }
}
/* Language Switcher Styles for Blue Header */
.language-switcher {
    display: flex;
    margin-left: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 14px;
    border-radius: 3px;
}

.lang-btn.active {
    background-color: white;
    color: #0066cc;
    border-color: white;
    font-weight: bold;
}

.lang-btn.active:hover {
    background-color: white;
}

.lang-btn.active:hover {
    background-color: white;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .full-width-banner img {
        max-height: 50vh;
        margin-top: -60px; /* Меньшее отрицательное поле для мобильных */
    }
}

.language-switcher {
    margin-top: 10px;
    margin-left: 0;
    justify-content: center;
}

/* Убираем отступы у соседних секций */
.header {
    margin-bottom: 0 !important;
}

.promo-section {
    margin-top: 0 !important;
    padding-top: 0 !important; /* Убираем верхний отступ у промо-секции */
}
/* Full Width Banner Styles */
.full-width-banner {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    z-index: 1; /* Убедимся, что баннер ниже шапки */
}

.full-width-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: cover;
    margin: 0;
}
/* Catalog Page Styles */
.catalog-page-section {
    padding: 120px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-bottom: 10px;
    color: #0066cc;
}

.product-card p {
    font-size: 16px;
}

/* Centering for fewer than 4 items */
.products-grid.centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Update category styles for links */
.category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category h3 {
    margin: 15px 0;
    color: #0066cc;
}

.category img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
/* Active navigation item */
.main-nav a.active {
    border-bottom: 2px solid white;
    font-weight: bold;
}
/* Стиль для активной навигационной ссылки */
.nav-link.active {
    border-bottom: 2px solid white;
    font-weight: bold;
}
/* Стили для ссылки логотипа */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 140px; /* Увеличиваем отступ для мобильных */
    }
    
    .header {
        height: auto; /* Разрешаем шапке растягиваться */
        padding: 15px 0;
    }
    
    .header .container {
        flex-direction: column;
    }
    
    .logo-img {
        height: 50px; /* Уменьшаем логотип для мобильных */
    }
    
    .logo h1 {
        font-size: 20px; /* Уменьшаем текст для мобильных */
    }
    
    .main-nav ul {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .promo-section .container,
    .intro-content,
    .contact-content {
        flex-direction: column;
    }

    .promo-content h2 {
        text-align: center;
        font-size: 32px; /* Уменьшаем размер заголовка */
        margin-bottom: 20px;
    }
    
    .promo-content {
        align-items: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content > div {
        margin-bottom: 20px;
    }
    
    .full-width-banner img {
        max-height: 50vh;
    }
    
    .language-switcher {
        margin-top: 10px;
        margin-left: 0;
        justify-content: center;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    body {
        padding-top: 160px; /* Еще больше отступ для очень маленьких экранов */
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 5px 0;
    }
}
/* Динамическое определение высоты шапки */
@media (max-width: 768px) {
    .header {
        min-height: 120px; /* Минимальная высота для мобильных */
    }
}

/* Плавная анимация для изменяющихся элементов */
.header, .logo-img, .main-nav {
    transition: all 0.3s ease;
}

/* Гарантия, что шапка всегда поверх всего */
.header {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Дополнительная защита от перекрытия */
section {
    position: relative;
    z-index: 2;
}
/* Медиа-запрос для мобильных устройств */
        @media (max-width: 768px) {
            body.home-page .main-nav {
                display: none;
            }
        }
/* Стили для слайдера дополнительных возможностей */
.features-slider-section {
    width: 100%;
    margin: 60px 0;
    text-align: center;
}

.features-slider-section h2 {
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 28px;
}

.features-slider {
    width: 80%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    height: 60vh;
    max-height: 500px;
    background-color: #f8f9fa;
}

.features-slides-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.features-slide {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.features-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.features-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.features-slider-btn {
    background-color: rgba(0, 102, 204, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.features-slider-btn:hover {
    background-color: rgba(0, 102, 204, 1);
    transform: scale(1.1);
}

.features-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 100;
}

.features-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.features-indicator.active {
    background-color: #0066cc;
    transform: scale(1.2);
}

.features-indicator:hover {
    transform: scale(1.2);
    background-color: rgba(0, 102, 204, 0.7);
}

/* Адаптивность для слайдера */
@media (max-width: 768px) {
    .features-slider {
        width: 95%;
        height: 50vh;
    }
    
    .features-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
} 
/* Стили для секции решений */
.solutions-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.solution-image {
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-content p {
    margin: 0;
    font-weight: 600;
    color: #0066cc;
    line-height: 1.4;
}

/* Адаптивность для секции решений */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-image {
        height: 180px;
    }
    
    .solution-content {
        padding: 15px;
    }
}
.video-section {
    background-color: #8eb2d5; /* Сероватый фон */
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-container {
    width: 80%;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    padding: 20px;
}

.video-container h2 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 28px;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.video-caption {
    margin-top: 15px;
    color: #555;
    font-size: 16px;
}

@media (max-width: 768px) {
    .video-container {
        width: 95%;
        padding: 15px;
    }
    
    .video-container h2 {
        font-size: 24px;
    }
}      