/* === ОСНОВНЫЕ СТИЛИ КНОПОК === */
.neon-logo {
    font-family: 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 
        0 0 5px #ff0080,
        0 0 10px #ff0080,
        0 0 20px #ff0080,
        0 0 40px #ff0080;
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px #d6336c,
            0 0 10px #d6336c,
            0 0 20px #d6336c;
    }
    to {
        text-shadow: 
            0 0 10px #d6336c,
            0 0 20px #d6336c,
            0 0 40px #d6336c,
            0 0 60px #d6336c;
    }
}

/* Адаптивные шрифты */
.card-title {
    font-size: 1.25rem !important;
}

.card-body p {
    font-size: 0.95rem !important;
}

.btn {
    font-size: 1rem !important;
    padding: 10px 16px !important;
}

/* для мобильника */
.btn, .nav-link, .form-control {
    min-height: 48px;
    font-size: 1rem;
    padding: 12px 16px;
}

.nav-link {
    margin: 4px 0;
}

/* Все кнопки с классом btn-pink */
.btn-pink,
.btn-pink:hover,
.btn-pink:focus,
.btn-pink:active {
    background-color: #d6336c !important;
    border-color: #d6336c !important;
    color: white !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Контурные кнопки */
.btn-outline-pink,
.btn-outline-pink:hover,
.btn-outline-pink:focus,
.btn-outline-pink:active {
    color: #d6336c !important;
    border-color: #d6336c !important;
    font-weight: 500 !important;
}
.btn-outline-pink:hover,
.btn-outline-pink:active {
    background-color: #d6336c !important;
    color: white !important;
}

/* === ФИКС ДЛЯ КНОПОК В ШАПКЕ === */
.navbar .btn-pink {
    background-color: #d6336c !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
}

.navbar .btn-pink:hover {
    background-color: #c02a5f !important;
    color: white !important;
}

.navbar .btn-outline-pink {
    color: #d6336c !important;
    border-color: #d6336c !important;
    padding: 7px 15px !important;
    border-width: 2px !important;
}

.navbar .btn-outline-pink:hover {
    background-color: #d6336c !important;
    color: white !important;
    border-color: #d6336c !important;
}

/* Убираем любые стили Bootstrap по умолчанию для кнопок в навбаре */
.navbar .btn:focus,
.navbar .btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* === ДОПОЛНИТЕЛЬНО === */
.text-pink,
.navbar-brand,
.nav-link:hover {
    color: #d6336c !important;
}

.rating-stars {
    color: #fbbf24 !important;
    font-size: 18px;
}

/* === ФОНОВОЕ ИЗОБРАЖЕНИЕ === */
body {
    background-image: url('/img/bg.jpg'); /* Путь к твоему изображению */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Полупрозрачная затемнённая подложка для читаемости */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Чёрный с прозрачностью */
    z-index: -1;
    pointer-events: none;
}

/* === ЛИПКАЯ ПОЛУПРОЗРАЧНАЯ ШАПКА === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(30, 30, 30, 0.2) !important; /* Тёмно-серый с прозрачностью */
    backdrop-filter: blur(10px); /* Размытие фона — ключевой эффект */
    -webkit-backdrop-filter: blur(10px); /* Поддержка Safari */
    border-bottom: 1px solid rgba(214, 51, 108, 0.3); /* Розеватая граница */
    transition: all 0.3s ease;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* При прокрутке — чуть плотнее, но всё ещё прозрачная */
body.scrolled .navbar {
    background-color: rgba(30, 30, 30, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding-top: 8px;
    padding-bottom: 8px;
}

/* === ПРОЗРАЧНЫЕ ВЫПАДАЮЩИЕ МЕНЮ (SELECT) === */

/* Прозрачный фон + белый текст */
.form-select {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(214, 51, 108, 0.5) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    padding: 0.375rem 0.75rem !important;
    backdrop-filter: blur(5px); /* Лёгкое размытие фона */
    transition: all 0.2s ease;
}

/* При фокусе — розовая рамка и тень */
.form-select:focus {
    border-color: #d6336c !important;
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 108, 0.25) !important;
    background-color: transparent !important;
    color: white !important;
}

/* Выпадающий список — прозрачный с затемнением */
.form-select option {
    background-color: rgba(30, 30, 30, 0.9) !important;
    color: #ffffff !important;
    padding: 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(214, 51, 108, 0.3);
}

/* При наведении — розовый акцент */
.form-select option:hover,
.form-select option:focus {
    background-color: #d6336c !important;
    color: white !important;
}

/* Выбранный элемент */
.form-select option:checked {
    background-color: #b02a5a !important;
    color: white !important;
}

/* Кастомная белая стрелка */
.form-select {
    appearance: none;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 5 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Для мобильных */
@media (max-width: 767.98px) {
    .form-select option {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
}

/* === ОСТАЛЬНЫЕ СТИЛИ === */
.form-label {
    margin-bottom: 0.25rem !important;
    color: #ffffff;
    font-weight: 500;
}

/* Для отладки */
.debug-border {
    border: 1px dashed yellow !important;
}

/* Для слабых устройств */
@media (prefers-reduced-motion: reduce) {
    body {
        background-attachment: scroll;
    }
}

/* Адаптация для мобильных */
@media (max-width: 767.98px) {
    .card-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .card-body p,
    .text-muted,
    .small {
        font-size: 0.95rem !important;
    }

    .btn {
        font-size: 1.1rem !important;
        padding: 12px 16px !important;
        min-height: 48px;
    }

    .rating-stars {
        font-size: 1.1rem !important;
    }

    .col-12.col-md-6.col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}