body {
    background-image: url("../images/background_image1.jpg");
    background-size: cover;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

/* Хедер и навигация */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #121212;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #3A3DF0;
}

.contact-button {
    background: #3A3DF0;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

/* Форма отправки */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    color: #000;
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-container input,
.form-container textarea,
.form-container button {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-container #button {
    display: inline-block;
    padding: 12px 24px; /* Отступы внутри кнопки */
    font-size: 16px; /* Размер текста */
    font-weight: bold; /* Жирный текст */
    color: #fff; /* Белый цвет текста */
    text-align: center;
    text-decoration: none; /* Убираем подчеркивание */
    border: none; /* Убираем границу */
    border-radius: 30px; /* Закругленные углы */
    background: linear-gradient(90deg, #6a11cb, #2575fc); /* Градиентный фон */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Тень для объема */
    transition: all 0.3s ease; /* Плавный переход для hover-эффекта */
}

.form-container #button:hover {
    background: linear-gradient(90deg, #2575fc, #6a11cb); /* Инвертируем градиент при наведении */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Увеличиваем тень при наведении */
    transform: translateY(-2px); /* Легкий подъем кнопки */
}

footer {
    background: #3A3DF0;
    color: #fff;
    text-align: center;
    padding: 20px;
    white-space: nowrap;
}

/* Адаптивность для мобильных устройств */
/* Для экранов до 1024px */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .form-container {
        max-width: 500px;
        padding: 25px;
    }

    .form-container input,
    .form-container textarea,
    .form-container button {
        font-size: 14px;
    }

    .contact-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Для экранов до 768px */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .form-container {
        max-width: 400px;
        padding: 20px;
    }

    .form-container input,
    .form-container textarea,
    .form-container button {
        font-size: 14px;
    }

    .contact-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Для экранов до 480px */
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logo {
        font-size: 16px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .form-container {
        max-width: 90%;
        padding: 15px;
    }

    .form-container input,
    .form-container textarea,
    .form-container button {
        font-size: 14px;
    }

    .contact-button {
        font-size: 14px;
        padding: 8px 15px;
    }

    footer {
        padding: 15px;
        font-size: 14px;
    }
}
