/* Основные стили */
:root {
    --primary-color: #00A0E3;
    --secondary-color: #000000;
    --accent-color: #E6E6E6;
    --text-color: #333333;
    --light-text: #FFFFFF;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0085C3;
    transform: translateY(-3px);
}

/* Навигация */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--secondary-color);
    position: fixed;
    width: 90%;
    top: 0;
    z-index: 1000;
}

.navbar-brand a {
    color: var(--light-text);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.navbar-nav li a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Features Section */
.features {
    padding: 5rem 10%;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

/* Новости */
.latest-news {
    padding: 5rem 10%;
    text-align: center;
    background: var(--accent-color);
}

.news-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.news-page .news-container {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Попап */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Форма */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Футер */
footer {
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Новые стили для кнопок в Hero */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-telegram {
    background: #0088cc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-telegram::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/telegram-icon.svg') no-repeat center;
    background-size: contain;
}

.btn-drive2 {
    background: #e30613;
}

.btn-drive2:hover {
    background: #c00510;
}

/* Иконка Telegram (можно добавить как SVG или PNG) */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?123456');
    src: url('../fonts/icomoon.eot?123456#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?123456') format('truetype'),
        url('../fonts/icomoon.woff?123456') format('woff'),
        url('../fonts/icomoon.svg?123456#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-telegram:before {
    content: "\e900";
    color: white;
    font-size: 1.2rem;
}