/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Шапка - фиксированный темный цвет */
header {
    background: #2c3e50 !important;
    color: white;
    padding: 3px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
}

nav ul li a:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Герой секция */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('../images/filler-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 200px 0 120px;
    margin-top: 60px;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.95;
}

/* О компании */
.about {
    background: white;
    position: relative;
}

.about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, #667eea, #764ba2);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #2d3748;
    font-size: 36px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    transition: transform 0.3s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Продукция */
.products {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.product-image {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Преимущества опта */
.benefits {
    background: white;
}

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

.benefit-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.benefit-item:hover h3,
.benefit-item:hover p {
    color: white;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-item:hover .benefit-icon {
    -webkit-text-fill-color: white;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2d3748;
}

.benefit-item p {
    color: #718096;
}

/* Форма обратной связи - светлая */
.contact {
    background: white;
    color: #2d3748;
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, #667eea, #764ba2);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    color: #2d3748;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4a5568;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    background: white;
    color: #2d3748;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

#form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
    font-weight: 500;
}

#form-message.success {
    background: rgba(72, 187, 120, 0.1);
    color: #2d7d4d;
    border: 1px solid rgba(72, 187, 120, 0.3);
    display: block;
}

#form-message.error {
    background: rgba(245, 101, 101, 0.1);
    color: #c53030;
    border: 1px solid rgba(245, 101, 101, 0.3);
    display: block;
}

/* Подвал */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #a0aec0;
    padding: 30px 0 5px;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-contact {
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.copyright {
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #718096;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 8px 0;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
        padding: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}