/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Навигационная панель */
.navbar {
    background-color: #0056b3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

/* Логотип */
.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: white !important;
}

/* Наведение и нажатие на логотип */
.navbar-brand:hover img,
.navbar-brand:active img {
    filter: brightness(1.1); /* чуть ярче */
}

/* Навигационные ссылки */
.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px !important;
    
}

.nav-link:hover,
.nav-link:active {
    color: #FFD700 !important;
}

/* Герой-секция */
.hero {
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    color: #0057b8;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 20px;
}
.hero h2 {
    font-size: 35px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 25px;
    margin-bottom: 20px;
}

/* Карточки */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #0056b3;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
    color: orange
}

.card-title {
    margin-bottom: 0;
    
}

/* Формы */
.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Футер */
footer {
    background-color: #0056b3;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    margin-top: 50px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer p {
    margin: 0;
}

footer .btn i {
    font-size: 24px;
    color: white;
    
}

footer .btn:hover i,
footer .btn:focus i {
    
    color: #FFD700;
}

footer .btn:active i {
    
    color: #FFD700;
}

/* Разное */
.section-title {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #0056b3;
}

.icon-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.icon-box i {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .card-header h2, .card-header h3 {
        font-size: 1.3rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Страница оформления заказа */
.needs-validation .form-control:invalid {
    border-color: #dc3545;
}

.needs-validation .invalid-feedback {
    display: none;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Страница успешного оформления */
.success-icon {
    animation: bounce 1s;
}



/* Страница о компании */
.partner-logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контакты */
.contact-form .form-control {
    margin-bottom: 1rem;
}

.contact-info h5 {
    color: #0056b3;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Общий стиль для всех кнопок */
.btn,
.btn-primary,
.btn-outline-primary {
    background-color: #0056b3;
    color: white !important;
    border: none;
    padding: 10px 25px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    
}

/* Наведение и нажатие — только изменение цвета текста */
.btn:hover,
.btn:active,
.btn:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    color: #FFD700 !important;
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    
}
/* Анимация кнопок при наведении */
.btn,
.btn-primary,
.btn-outline-primary {
    transition: all 0.3s ease !important;
    transform: scale(1);
}

.btn:hover,
.btn-primary:hover,
.btn-outline-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Для мобильных устройств убираем анимацию */
@media (max-width: 768px) {
    .btn:hover,
    .btn-primary:hover,
    .btn-outline-primary:hover {
        transform: scale(1);
    }
}
/* Стили для cookie-уведомления */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notice p {
    margin: 0;
    font-size: 14px;
    flex-grow: 1;
}

.cookie-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.cookie-button:hover {
    background-color: #444;
    color: #ffff00;
}

.hidden {
    display: none !important;
}

/* Стили для ссылок в футере */
.container a {
    color: #f0f0f0;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container a:hover {
    color: #ffff00 !important;
}