/* Основные переменные */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #7ED321;
    --accent-color: #FF6B6B;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #555555;
    --border-color: #DDDDDD;
    --font-main: 'Montserrat', sans-serif;
    --font-text: 'Open Sans', sans-serif;
}

/* Обнуление стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-family: var(--font-main);
    font-weight: 600;
}

.nav-link.active {
    color: var(--primary-color);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #3A7BC8;
}

/* Hero-блок */
.hero {
    padding: 100px 0;
    text-align: center;
    background-color: var(--gray-color);
}

.hero h1 {
    font-family: var(--font-main);
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Продукты */
.products {
    padding: 60px 0;
}

.products-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    max-width: 400px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-card h3 {
    font-family: var(--font-main);
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-card p {
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Контакты */
.contacts {
    padding: 60px 0;
    background-color: var(--gray-color);
}

.contacts-content {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    max-width: 400px;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-family: var(--font-main);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 10px;
}

/* Форма обратной связи */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-family: var(--font-main);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-text);
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    width: 100%;
}

/* Футер */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 20px 0;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .products-grid {
        flex-direction: column;
        align-items: center;
    }

    .contacts-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 32px;
    }
}