/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #ffffff;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

/* Светлая тема */
body.light-mode {
    background-color: #ffffff;
    color: #333;
}

/* Логотип */
.logo img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Навигация */
nav {
    text-align: center;
    margin-top: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

/* Исправление цвета ссылок в светлой теме */
body.light-mode nav ul li a {
    color: black;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Герой-секция */
.hero {
    padding: 50px 20px;
    background-color: #333;
    border-radius: 8px;
    max-width: 80%;
    margin: 30px auto;
}

/* Фиксируем цвет текста в светлой теме */
body.light-mode .hero {
    background-color: #f1f1f1;
    color: black;
}

.hero h1 {
    font-size: 28px;
}

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

/* Кнопка */
.cta-button {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 18px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #0056b3;
}

/* Футер */
footer {
    background: #222;
    color: white;
    padding: 20px;
    position: relative;
    width: 100%;
    bottom: 0;
    text-align: center;
    font-size: 14px;
}

/* Кнопка смены темы */
.theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
