* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 28pt;
    margin: 20px 0;
    color: #2c3e50;
    text-align: center;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo a {
    display: block;
    line-height: 1;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.02);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list li a i {
    font-size: 16px;
}

.nav-list li a:hover {
    background-color: #ffd966;
    color: #2c3e50;
    transform: translateY(-2px);
}

.nav-list li a.active {
    background-color: #f39c12;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    position: relative;
}


.hero {
    background: linear-gradient(135deg, #ffd966, #f39c12);
    padding: 60px 20px;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 25px;
    color: #2c3e50;
}

.hero-btn {
    display: inline-block;
    background: #ffffff;
    color: #f39c12;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
}

.categories-section {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item {
    background: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    background: #ffd966;
    color: #2c3e50;
    transform: translateY(-3px);
}

.slider-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.slider-container input[type="radio"] {
    display: none;
}

.slides {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.333%;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}


#slide1:checked~.slides {
    transform: translateX(0);
}

#slide2:checked~.slides {
    transform: translateX(-33.333%);
}

#slide3:checked~.slides {
    transform: translateX(-66.666%);
}

.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.nav-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    margin: 0 5px;
    cursor: pointer;
    transition: 0.2s;
}

#slide1:checked ~ .slider-nav label[for="slide1"],
#slide2:checked ~ .slider-nav label[for="slide2"],
#slide3:checked ~ .slider-nav label[for="slide3"] {
    background: #f39c12;
    transform: scale(1.2);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}
.slider-controls label {
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    margin: 0 10px;
}
.slider-controls label:hover {
    background: #f39c12;
}

.site-footer {
    background-color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 60px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Open Sans', sans-serif;
}

.footer-cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-con {
    text-align: left;
}

.footer-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 10px;
    color: black;
    font-size: 15px;
    line-height: 1.6;
}

.footer-list a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #f39c12;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

/* Адаптивность для главной страницы */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-list {
        justify-content: center;
    }

    .nav-list li a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-item {
        padding: 12px;
        font-size: 14px;
    }

    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24pt;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .slider-controls label {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }
    .nav-dot {
        width: 8px;
        height: 8px;
    }
}