/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Hero секция */
.hero {
    background: url('Images/bg.png') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Для мобильных устройств */
@media (max-width: 600px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}

#openFormBtn {
    background: #ffcc00;
    color: #000;
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#openFormBtn:hover {
    transform: scale(1.05);
}

/* About секция */
.about {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.card {
    background: #222;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.card h2 {
    margin-bottom: 15px;
}

/* Ссылки */
.links {
    padding: 40px 0;
    background-color: #111;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.telegram {
    background: #0096c7;
    color: white;
}

.telegram:hover {
    background: #0280b0;
}

.yandex {
    background: #facc15;
    color: black;
}

.yandex:hover {
    background: #eac110;
}

/* Форма обратной связи */
.contact-form {
    background-color: #1a1a1a;
    padding: 40px 20px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

.form-container {
    max-width: 500px;
    margin: auto;
    background: #222;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.5s ease;
}

/* Добавьте это в конец style.css */
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
    min-height: 100px;
    resize: vertical;
    font-family: 'Segoe UI', sans-serif;
}

textarea:focus {
    outline: none;
    border: 1px solid #ffcc00;
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

#closeFormBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
}

#closeFormBtn:hover {
    color: #fff;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
}

input:focus {
    outline: none;
    border: 1px solid #ffcc00;
}

button[type="submit"] {
    background: #ffcc00;
    color: #000;
    padding: 12px;
    width: 100%;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: scale(1.03);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}