* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header styles */
header {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 28px;
    color: #ff8c00;
    margin: 0;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

nav ul li a:hover {
    color: #ff8c00;
}

/* Main content */
main {
    flex: 1;
    padding: 40px 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #2c2c2c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Content section */
.content-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #ff8c00;
    margin-bottom: 20px;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: #2c2c2c;
    font-size: 36px;
}

/* About page */
.about-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-text h2 {
    color: #ff8c00;
    margin: 25px 0 15px 0;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-text ul li {
    margin: 10px 0;
    color: #555;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    line-height: 1.6;
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

.menu-toggle {
    display: none;  /* Скрыта на десктопе */
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}
/* Responsive design */
@media (max-width: 768px) {
    /* Общие настройки для мобильных */
    .container {
        padding: 0 15px;
    }

    /* Шапка - компактная */
    header {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .header-content {
        flex-direction: row;           /* Горизонтально */
        justify-content: space-between; /* Лого слева, меню справа */
        align-items: center;
    }

    /* Меню в виде иконки-бургера (гамбургер) - рекомендуемый вариант */
    nav {
        position: relative;
    }

    nav ul {
        display: none;                 /* Скрываем меню по умолчанию */
        position: absolute;
        top: 100%;
        right: 0;
        background: #2c2c2c;
        flex-direction: column;
        gap: 0;
        min-width: 180px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        overflow: hidden;
    }

    nav ul.show {
        display: flex;                 /* Показываем при открытии */
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #444;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    /* Кнопка-бургер */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
    }

    /* Остальные мобильные стили */
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 40px 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .menu-toggle {
        display: block;  /* Показываем на мобильных */
    }
}