/*
Theme Name: ArmstrongLite
Theme URI: https://armstronglite.ru
Author: Your Name
Author URI: https://armstronglite.ru
Description: Тема для сайта ArmstrongLite - производителя потолочных плит и фасадных термопанелей
Version: 1.0
Text Domain: armstronglite
*/


 :root {
            --primary: #1A1E2B;
            --secondary: #2D4059;
            --accent: #EA5455;
            --light: #F6F6F6;
            --dark: #12141D;
            --text: #E0E0E0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text);
            background-color: var(--dark);
            line-height: 1.6;
        }
        
        /* Обновленное меню */
        header {
            background-color: var(--primary);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: transform 0.3s;
        }
        
        .logo:hover {
            transform: scale(1.05);
        }
        
        .logo span {
            color: var(--accent);
        }
        
nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}
        .menu {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
        }
        
        .menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
            padding: 0.5rem 0;
        }
        
        .menu a:hover {
            color: var(--accent);
        }
        
        .menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: width 0.3s;
        }
        
        .menu a:hover::after {
            width: 100%;
        }
        
        .header-contacts {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }
        
        .contact-item i {
            color: var(--accent);
        }
        
        .social-links {
            display: flex;
            gap: 0.8rem;
        }
        
        .social-link {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .social-link:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }
        
        /* Адаптивность меню */
        @media (max-width: 1024px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-container {
                flex-direction: column;
                gap: 1rem;
                width: 100%;
            }
            
            .menu {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .header-contacts {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .contact-item {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .menu {
                gap: 1rem;
            }
            
            .header-contacts {
                gap: 1rem;
            }
            
            .contact-item {
                white-space: normal;
                flex-direction: column;
                text-align: center;
                gap: 0.2rem;
            }
        }

        /* Остальные стили остаются без изменений */
        .hero {
            background: linear-gradient(rgba(26, 30, 43, 0.9), rgba(26, 30, 43, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="white" stroke-width="2"/></svg>');
            color: white;
            padding: 6rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 2.5rem;
            opacity: 0.9;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 1rem 2rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            box-shadow: 0 4px 8px rgba(234, 84, 85, 0.3);
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #D84343;
            transform: translateY(-3px);
        }
        
        .btn-center {
            display: block;
            margin: 2rem auto 0;
            width: fit-content;
        }
        
        /* Секции продуктов */
        .products {
            padding: 5rem 0;
            background-color: var(--primary);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.5rem;
            color: white;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--accent);
            margin: 1rem auto;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 20px;
        }
        
        .product-card {
            background: var(--secondary);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
        }
        
        .product-img {
            height: 220px;
            background-color: var(--dark);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .product-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="white" stroke-width="2"/></svg>');
            background-size: 50px;
        }
        
        .product-img-2 {
            z-index: 2;
        }
        
        .product-info {
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .product-title {
            font-size: 1.5rem;
            margin-bottom: 0.8rem;
            color: white;
            min-height: 3.6rem; /* Фиксированная высота для заголовков */
        }
        
        .product-price {
            font-size: 1.3rem;
            color: var(--accent);
            font-weight: bold;
            margin-bottom: 1.2rem;
        }
        
        .product-desc {
            color: #B0B0B0;
            margin-bottom: 1.8rem;
            flex-grow: 1;
        }
        
        .specs {
            margin: 1.5rem 0;
            padding: 0;
            flex-grow: 1;
        }
        
        .specs li {
            list-style-type: none;
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
            color: #C0C0C0;
        }
        
        .specs li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }
        
        .btn-container {
            margin-top: auto; /* Прижимаем кнопку к низу карточки */
            padding-top: 1.5rem;
        }
        
        .btn-2 {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 1rem 2rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            box-shadow: 0 4px 8px rgba(234, 84, 85, 0.3);
            border: none;
            cursor: pointer;
            text-align: center;
            width: 100%;
        }
        
        .btn:hover {
            background-color: #D84343;
            transform: translateY(-3px);
        }


        /* Фасадные панели */
        .facade-product-card {
            max-width: 800px;
            margin: 2rem auto;
            background: var(--secondary);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        
        .facade-product-content {
            padding: 2rem;
        }
        
        .facade-product-title {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: white;
        }
        
        .facade-product-price {
            font-size: 1.5rem;
            color: var(--accent);
            font-weight: bold;
            margin-bottom: 1.5rem;
        }
        
        .facade-product-desc {
            color: #B0B0B0;
            margin-bottom: 2rem;
        }
        
        .facade-specs {
            margin: 2rem 0;
        }
        
        .facade-specs h4 {
            color: var(--accent);
            font-size: 1.2rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 0.5rem;
        }
        
        .specs-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }
        
        .spec-item {
            margin-bottom: 0.8rem;
        }
        
        .spec-name {
            color: #C0C0C0;
            font-size: 0.9rem;
        }
        
        .spec-value {
            color: white;
            font-weight: 500;
        }
        
        .facade-btn-container {
            text-align: center;
            margin-top: 1.5rem;
        }
        
        /* Преимущества */
        .features {
            padding: 5rem 0;
            background: linear-gradient(rgba(45, 64, 89, 0.9), rgba(45, 64, 89, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="2"/></svg>');
        }
        
        .feature-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
        }
        
        .feature-item {
            text-align: center;
            padding: 2rem;
            background: rgba(26, 30, 43, 0.7);
            border-radius: 10px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s;
        }
        
        .feature-item:hover {
            transform: translateY(-10px);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }
        
        .feature-item h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }
        
        .feature-item p {
            color: #C0C0C0;
        }
        
        /* Карта и контакты */
        .contact-map {
            padding: 5rem 0;
            background-color: var(--secondary);
        }
        
        .map-container {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            align-items: center;
        }
        
        #map {
            height: 400px;
            flex: 1;
            min-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .map-contacts {
            flex: 1;
            min-width: 300px;
        }
        
        .map-contacts h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: white;
        }
        
        .contact-info {
            margin-bottom: 2rem;
        }
        
        .contact-info p {
            margin: 0.8rem 0;
            color: #C0C0C0;
            display: flex;
            align-items: center;
        }
        
        .contact-info i {
            margin-right: 1rem;
            color: var(--accent);
            width: 20px;
            text-align: center;
        }
        
        .contact-note {
            color: #B0B0B0;
            font-style: italic;
            margin-top: 2rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.2);
            border-left: 3px solid var(--accent);
        }
        
        /* Форма обратной связи */
        .contact {
            padding: 5rem 0;
            background: linear-gradient(rgba(26, 30, 43, 0.9), rgba(26, 30, 43, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="white" stroke-width="2"/></svg>');
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: var(--secondary);
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .form-group {
            margin-bottom: 2rem;
            text-align: left;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 500;
            color: white;
        }
        
        .form-group input, 
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }
        
        .form-group textarea {
            min-height: 120px;
        }
        
        /* Футер */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 3rem;
            margin-bottom: 2rem;
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        
        .footer-section h3 {
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            color: var(--accent);
        }
        
        .footer-section p, 
        .footer-section a {
            color: #B0B0B0;
            margin-bottom: 0.8rem;
            display: block;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: var(--accent);
        }
        
        .social-icons {
            display: flex;
            gap: 1.5rem;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.5rem;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--accent);
        }
        
        .copyright {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #808080;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .feature-list {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .map-container {
                flex-direction: column;
            }
            
            #map {
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .feature-list {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
        }

        /* ===== БАЗОВЫЕ СТИЛИ МЕНЮ ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.menu a:hover {
    color: var(--accent);
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 1024px) ===== */
@media (max-width: 1024px) {
    /* Показываем гамбургер */
    .menu-toggle {
        display: flex;
    }
    
    /* Скрываем обычное меню */
    .menu {
        display: none;
        position: fixed;
        top: 70px; /* Высота header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .menu a {
        display: block;
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu a::after {
        display: none;
    }
    
    .menu a:hover {
        background: var(--accent);
        color: white;
        transform: none;
    }
    
    /* Анимация гамбургера */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Скрываем контакты в хедере */
    .header-contacts {
        display: none;
    }
}

/* ===== ДЕСКТОПНАЯ ВЕРСИЯ (1025px+) ===== */
@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
    
    .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        gap: 1.5rem;
    }
    
    .menu li {
        width: auto;
    }
    
    .menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
        border-bottom: none;
    }
    
    .menu a::after {
        display: block;
    }
    
    .menu a:hover {
        background: none;
        color: var(--accent);
    }
    
    .header-contacts {
        display: flex;
    }


    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo {
        order: 1;
        margin-right: 0;
    }
    
    nav {
        order: 2;
        width: auto;
        justify-content: center;
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ РАЗНЫХ ЭКРАНОВ ===== */
@media (max-width: 768px) {
    .menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 1.5rem;
    }
    
    .menu a {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        width: 25px;
        height: 18px;
    }

    .header-content {
        padding: 0.6rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    

}

@media (max-width: 480px) {
    .menu {
        top: 50px;
        height: calc(100vh - 50px);
        padding: 1rem;
    }
    
    .menu a {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .menu-toggle {
        width: 22px;
        height: 16px;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu.active {
    animation: slideIn 0.3s ease;
}

/* ===== УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 1024px) {
    body.menu-open {
        overflow: hidden;
    }
    
    .header-content {
        position: relative;
        z-index: 1002;
    }
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 1024px) ===== */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: row; /* Важно: оставляем в строке */
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem 0;
    }
    
    /* Гамбургер справа */
    .menu-toggle {
        display: flex;
        order: 2; /* Помещаем справа */
        margin-left: 0;
    }
    
    /* Лого слева */
    .logo {
        order: 1;
        font-size: 1.4rem;
        margin-right: auto;
    }
    
    /* Навигация скрыта по умолчанию */
    nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-container {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }
    
    /* Скрываем обычное меню */
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        margin-top: 0.5rem;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
    }
    
    .menu a {
        display: block;
        padding: 1rem 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        width: 100%;
    }
    
    .menu a:hover {
        background: var(--accent);
    }
    
    /* Скрываем контакты в хедере */
    .header-contacts {
        display: none;
    }
    
    /* Анимация гамбургера */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */

@media (max-width: 360px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .menu a {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .menu-toggle {
        width: 20px;
        height: 14px;
    }
    
    .menu-toggle span {
        height: 2px;
    }
}

/* ===== АНИМАЦИЯ ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu.active {
    animation: slideDown 0.3s ease;
}