:root {
    --racing-red: #D40000;
    --gasoline-blue: #005F8C;
    --leather-tan: #E6D5B8;
    --asphalt-black: #1A1A1A;
    --chrome-silver: #E0E0E0;
    --racing-stripe: #F8F8F8;
    --white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
    color: var(--asphalt-black);
    line-height: 1.7;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Racing Sans One', cursive;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.display-1, .display-2, .display-3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Навигация в стиле приборной панели */
.navbar {
    background: linear-gradient(to bottom, var(--asphalt-black) 0%, #000 100%) !important;
    border-bottom: 4px solid var(--racing-red);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.navbar-toggler {
    border: none; /* Убираем стандартную рамку */
    font-size: 1.5rem; /* Размер иконки */
    color: #cccccc; /* Цвет иконки (замените на нужный) */
    padding: 0.5rem; /* Отступы */
}

.navbar-toggler:focus {
    box-shadow: none; /* Убираем тень при фокусе */
}

.animated-toggler {
    border: none;
    background: transparent !important;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.animated-toggler i {
    font-size: 1.8rem;
    color: #cccccc; /* Основной цвет */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Анимация при открытии */
.animated-toggler[aria-expanded="true"] i {
    transform: rotate(90deg);
    color: #f00; /* Цвет при открытии */
}

/* Дополнительные эффекты при наведении */
.animated-toggler:hover i {
    transform: scale(1.1);
    color: #555;
}

.navbar-brand {
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: var(--racing-red) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    padding-left: 50px;
}

.navbar-brand:before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--chrome-silver);
    font-size: 1.8rem;
}

.nav-link {
    color: var(--chrome-silver) !important;
    margin: 0 10px;
    position: relative;
    padding: 8px 15px !important;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--racing-red) !important;
    background-color: rgba(255,255,255,0.1);
}

/* Герой-секция в стиле капота классического авто */
.hero {
    background: url('https://images.unsplash.com/photo-1698663198293-d06df57687ac?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    height: 80vh;
    position: relative;
    border-bottom: 8px solid var(--racing-red);
    box-shadow: inset 0 -60px 80px -30px rgba(0,0,0,0.7);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.4) 100%);
    height: 100%;
}

.hero-content {
    color: var(--chrome-silver);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Кнопки как педали газа */
.btn-vintage {
    background-color: var(--racing-red);
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    margin: 10px;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-vintage:hover {
    background-color: #FF2A2A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Карточки автомобилей в стиле номерных знаков */
.card {
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
    border-top: 4px solid var(--racing-red);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-img-wrapper
{
    height: 220px;
    border-bottom: 3px solid var(--racing-red);
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    color: var(--gasoline-blue);
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    color: var(--racing-red);
    font-weight: bold;
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
}

.mileage {
    color: var(--asphalt-black);
    font-weight: bold;
}

/* Футер в стиле заднего бампера */
.auto-footer {
    background: linear-gradient(to bottom, var(--asphalt-black) 0%, #000 100%);
    color: var(--chrome-silver);
    padding: 50px 0 20px;
    border-top: 8px solid var(--racing-red);
    position: relative;
}

.auto-footer::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: repeating-linear-gradient(
        45deg, 
        var(--asphalt-black), 
        var(--asphalt-black) 10px, 
        var(--racing-red) 10px, 
        var(--racing-red) 20px
    );
}

.footer-content {
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--racing-red);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gasoline-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--chrome-silver);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--racing-red);
}

.contact-info a {
    color: var(--racing-red);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--chrome-silver);
    text-decoration: underline;
}

.social-icons {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--asphalt-black);
    color: var(--racing-red);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    border: 2px solid var(--racing-red);
}

.social-icon:hover {
    background-color: var(--racing-red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-buttons {
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.legal-links {
    text-align: right;
}

.legal-links a {
    color: var(--chrome-silver);
    font-size: 0.9rem;
    margin-left: 15px;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--racing-red);
}


/* Секционные заголовки в стиле гоночных полос */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-family: 'Racing Sans One', cursive;
    color: var(--gasoline-blue);
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--racing-red) 0%, var(--gasoline-blue) 100%);
}

/* Бейдж "NEW" в стиле гоночного номера */
.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--racing-red);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.2rem;
    border: 3px solid white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transform: rotate(15deg);
}

/* Форма в стиле автомобильного радио */
.request-form {
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--gasoline-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Кастомные чекбоксы */
.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    background-color: transparent;
    border: 2px solid var(--gasoline-blue);
}

.form-check-input:checked {
    background-color: var(--racing-red);
    border-color: var(--racing-red);
}

/* Социальные иконки в стиле кнопок приборной панели */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--asphalt-black);
    color: var(--racing-red);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    border: 2px solid var(--racing-red);
}

.social-icon:hover {
    background-color: var(--racing-red);
    color: white;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--racing-red);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
}