body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Общие стили для ссылок */
a {
    text-decoration: none;
    color: inherit;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
/* Стили для шапки */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 50px;
    margin-right: 10px;
}

header h1 {
    font-size: 1.5em;
    margin: 0;
}

header nav a {
    margin: 0 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: #007bff;
}
/* Стили для hero */
.hero {
     background: url('hero-bg.jpg') no-repeat center center/cover;
    padding: 100px 0;
    position: relative;
    color: #fff;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
     border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: #0056b3;
}


.hero-image {
    flex: 1;
    max-width: 50%;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
/* Стили для секции преимуществ */
.advantages {
    padding: 50px 0;
    text-align: center;
}

.advantages h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #212529;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage {
    padding: 30px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    text-align: center;
    color: #007bff;
}
.advantage h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #212529;
}
/* Стили для категорий товаров */
.categories {
    padding: 50px 0;
}

.category {
    margin-bottom: 40px;
}

.category h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: #212529;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.product {
    width: 30%;
    text-align: center;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.product h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.price-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.price-button:hover {
    background-color: #0056b3;
}
/* Стили для секции SEO */
.seo-text {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.seo-text h2 {
    margin-bottom: 20px;
}

.seo-text p {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}
/* Стили для футера */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Стили для попапа */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
}

.close-button {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.popup form {
    display: flex;
    flex-direction: column;
}

.popup label {
    margin-bottom: 5px;
}

.popup input,
.popup button {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
/* Стили для адаптивности */
@media (max-width: 768px) {
    .container{
        width: 95%;
    }
     header .container, .hero > .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 20px;
    }
    .advantages-grid,
     .products {
        grid-template-columns: 1fr;
    }
    .product {
      width: 100%;
    }
    .hero-content {
      padding: 0 20px;
     }
    .hero h2 {
       font-size: 2em;
    }
    .hero p {
      font-size: 1em;
    }
     .advantage {
        padding: 20px;
    }
    .advantage h3 {
       font-size: 1.2em;
    }
}