/*
Theme Name: ArmstrongLite
Theme URI: https://armstronglite.ru
Author: ArmstrongLite
Author URI: https://armstronglite.ru
Description: Тема для сайта ArmstrongLite – производителя потолочных плит и фасадных термопанелей.
Version: 1.0
Text Domain: armstronglite
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
:root {
            --primary: #1A1E2B;
            --secondary: #2D4059;
            --accent: #EA5455;
            --light: #FFFFFF;
            --dark: #F5F5F5;
            --text: #333333;
            --text-light: #666666;
            --border: #E0E0E0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text);
            background-color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        /* Header Styles */
        header {
            background-color: var(--light);
            color: var(--text);
            padding: 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            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;
            padding: 1rem 0;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary);
            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;
        }
        
        .nav-container {
            display: flex;
            align-items: center;
            gap: 2rem;
			font-size: 14.7px;
        }
        
        .menu {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
        }
        
        .menu a {
            color: var(--text);
            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;
            color: var(--text);
        }
        
        .contact-item i {
            color: var(--accent);
        }
        
        .social-links {
            display: flex;
            gap: 0.8rem;
        }
        
        .social-link {
            color: var(--text);
            background: var(--dark);
            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);
            color: white;
            transform: translateY(-2px);
        }
        
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
        }
        
        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background: var(--primary);
            border-radius: 3px;
            transition: all 0.3s;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 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="gray" stroke-width="2"/></svg>');
            color: var(--text);
            padding: 6rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s ease;
            color: var(--primary);
        }
        
        .hero p {
            font-size: 1.3rem;
            margin: 0 auto 2.5rem;
            color: var(--text-light);
            max-width: 600px;
            animation: fadeInUp 1s ease 0.2s forwards;
            opacity: 0;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 1rem 2.5rem;
            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;
            animation: fadeInUp 1s ease 0.4s forwards;
            opacity: 0;
        }
        
        .btn:hover {
            background-color: #D84343;
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(234, 84, 85, 0.4);
        }
        
        /* Products Section */
        .products {
            padding: 5rem 0;
            background-color: var(--light);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.5rem;
            color: var(--primary);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--accent);
            margin: 1rem auto;
        }
        
        .products-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 4rem;
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        /* Slider Styles */
        .slider-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .product-slider {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .product-slide {
            flex: 0 0 calc(33.333% - 2rem);
            margin: 0 1rem;
            background: var(--light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
        }
        
        .product-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--accent);
        }
        
        .product-img {
            height: 280px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background: var(--dark);
        }
        
        .product-img img {
            max-height: 280px;
            transition: transform 0.3s;
        }
        
        .product-slide:hover .product-img img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .product-title {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }
        
        .product-price {
            font-size: 1.2rem;
            color: var(--accent);
            font-weight: bold;
            margin-bottom: 1rem;
        }
        
        .product-desc {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            flex-grow: 1;
            font-size: 0.95rem;
        }
        
        .btn-container {
            margin-top: auto;
        }
        
        .btn-2 {
            display: inline-block;
            background-color: transparent;
            color: var(--accent);
            padding: 0.6rem 1.2rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            border: 2px solid var(--accent);
            text-align: center;
            width: 100%;
        }
        
        .btn-2:hover {
            background-color: var(--accent);
            color: white;
            transform: translateY(-2px);
        }
        
        .slider-controls {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 1rem;
        }
        
        .slider-btn {
            background: var(--dark);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--text);
        }
        
        .slider-btn:hover {
            background: var(--accent);
            color: white;
        }
        
        /* Certificates Section */
        .certificates {
            padding: 5rem 0;
            background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 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="gray" stroke-width="2"/></svg>');
        }
        
        .certificates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .certificate-item {
            background: var(--light);
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s;
            border-left: 4px solid var(--accent);
        }
        
        .certificate-item:hover {
            transform: translateY(-5px);
        }
        
        .certificate-icon {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        
        .certificate-item h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        
        .certificate-item p {
            color: var(--text-light);
        }
        
        /* About Section */
        .about {
            padding: 5rem 0;
            background-color: var(--light);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .about-text h2 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }
        
        .about-text p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .stat-item {
            text-align: center;
            padding: 1.5rem;
            background: var(--dark);
            border-radius: 10px;
        }
        
        .stat-number {
            font-size: 2.2rem;
            font-weight: bold;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }
        
        .stat-text {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        .about-image {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .about-image-placeholder {
            height: 350px;
            background-color: var(--dark);
            display: flex;
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        .about-image-placeholder img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }

        /* Footer */
        footer {
            background-color: var(--primary);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .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;
            margin-top: 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;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        

        
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .product-slide {
        flex: 0 0 calc(100% - 2rem);
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    /* Стили для мобильного меню */
    .menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    /* Скрываем обычное меню на мобильных */
    .nav-container {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 350px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 1000;
    }
    
    /* Показываем мобильное меню когда активно */
    .nav-container.active {
        display: flex;
        right: 0;
    }
    
    .nav-container.active::before:hover {
        color: var(--accent);
    }
    
    .menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text);
        width: 100%;
        transition: all 0.3s;
    }
    
    .menu a:hover {
        color: var(--accent);
    }
    
    .menu a::after {
        display: none;
    }
    
    .header-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .contact-item {
        justify-content: flex-start;
        font-size: 1rem;
        color: var(--text);
    }
    
    .contact-item i {
        color: var(--accent);
        width: 20px;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    /* Анимация бургер-меню */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--accent);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--accent);
    }
    
    /* Затемнение фона - ПОД меню */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Адаптация мобильного меню для маленьких экранов */
    .nav-container {
        width: 300px;
        padding: 90px 1.5rem 2rem;
    }
    
    .nav-container.active::before {
        top: 25px;
        right: 25px;
    }
}