/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


body.dark-mode {
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    transition: all 0.5s ease;
}


body.light-theme {
    background: #f8f9fa;
    color: #212529;
    transition: all 0.5s ease;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


.main-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.light-theme .nav-logo {
    color: #212529;
}

.logo-premium {
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

.light-theme .nav-link {
    color: #495057;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.light-theme .nav-action-btn {
    border-color: rgba(0,0,0,0.2);
    color: #495057;
}

.nav-action-btn:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    transform: scale(1.1);
}

.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #e74c3c, #ff7979);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.hero-section {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(44, 62, 80, 0.9));
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.light-theme .hero-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #3498db, #2ecc71, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
}

.light-theme .hero-title {
    background: linear-gradient(45deg, #ffffff, #f1c40f, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item i {
    font-size: 40px;
    color: #3498db;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item p {
    opacity: 0.8;
    font-size: 14px;
}


.catalog-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header p {
    font-size: 18px;
    opacity: 0.8;
}

.filters-panel {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .filters-panel {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.light-theme .filter-item label {
    color: #212529;
}

#searchInput,
#sortSelect {
    padding: 12px 20px;
    border: 2px solid #3498db;
    border-radius: 10px;
    font-size: 16px;
    min-width: 200px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    transition: all 0.3s;
}

.light-theme #searchInput,
.light-theme #sortSelect {
    background: white;
    color: #333;
}

#searchInput:focus,
#sortSelect:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 10px 20px;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-btn:hover,
.view-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .results-info {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
}

.results-count i {
    color: #3498db;
}

.results-count strong {
    color: #3498db;
    font-weight: bold;
}


.cars-container {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.list-view {
    grid-template-columns: 1fr;
}

.car-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 0.8s ease;
}

.light-theme .car-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.light-theme .car-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.car-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #e74c3c, #ff7979);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.car-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #e74c3c;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fav-btn:hover {
    transform: scale(1.2);
    background: white;
}

.fav-btn.active {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid #ff4757;
}

.car-info {
    padding: 25px;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.car-title {
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
}

.light-theme .car-title {
    color: #333;
}

.car-price {
    font-size: 28px;
    font-weight: bold;
    color: #27ae60;
}

.car-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #888;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.car-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.feature-tag {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    color: #3498db;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.feature-tag:hover {
    transform: translateY(-3px);
}

.car-actions-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.detail-btn,
.contact-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detail-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.contact-btn {
    background: linear-gradient(45deg, #27ae60, #219653);
    color: white;
}

.detail-btn:hover,
.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.favorites-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(231, 76, 60, 0.1));
    margin-top: 60px;
}

.light-theme .favorites-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(231, 76, 60, 0.1));
}

.favorites-container {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    min-height: 200px;
}

.empty-favorites {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
    grid-column: 1 / -1;
    width: 100%;
}

.empty-favorites i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-favorites h3 {
    margin-bottom: 10px;
    color: inherit;
}


.contacts-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(52, 152, 219, 0.1));
}

.light-theme .contacts-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(52, 152, 219, 0.1));
}

.contacts-content {
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: #3498db;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .contact-form {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #3498db;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.light-theme .form-group input {
    background: white;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    transform: translateY(-3px);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.5);
}


.main-footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.light-theme .main-footer {
    background: white;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
}

.light-theme .footer-bottom {
    border-top-color: rgba(0,0,0,0.1);
}


.widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.telegram-widget {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
}

.scroll-top {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.hidden {
    display: none !important;
}

.search-panel {
    background: rgba(10, 10, 10, 0.95);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.light-theme .search-panel {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0,0,0,0.1);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container i {
    color: #888;
    font-size: 20px;
}

#globalSearch {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.search-close:hover {
    color: #e74c3c;
    transform: scale(1.2);
}


.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 350px;
    animation: fadeIn 0.5s ease;
}

.notification i {
    font-size: 20px;
}


button, .btn, .nav-action-btn, .hero-btn, .submit-btn, .widget-btn,
.view-btn, .detail-btn, .contact-btn, .fav-btn {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 100 !important;
    transform-style: flat !important;
    backface-visibility: visible !important;
}


.nav-action-btn:hover {
    transform: scale(1.1) !important;
}

.hero-btn:hover {
    transform: translateY(-5px) !important;
}

.widget-btn:hover {
    transform: scale(1.1) !important;
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: inherit;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {

display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: rgba(52, 152, 219, 0.1);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }
    
    .filters-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    #searchInput,
    #sortSelect {
        width: 100%;
        min-width: auto;
    }
    
    .cars-container.grid-view {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .widgets {
        bottom: 20px;
        right: 20px;
    }
    
    .widget-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .car-actions-bottom {
        grid-template-columns: 1fr;
    }
    
    .car-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .car-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.logo-premium {
    animation: shimmer 3s infinite linear !important;
}


.hero-title {
    animation: shimmer 3s infinite linear !important;
}

.nav-action-btn:hover {
    transform: scale(1.1) rotate(5deg) !important;
    animation: pulse 0.5s ease !important;
}


.action-badge {
    animation: heartbeat 1.5s ease infinite !important;
}


.hero-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    animation: glow 2s infinite !important;
}


.car-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    z-index: 10 !important;
}


.fav-btn:hover {
    transform: scale(1.2) !important;
    animation: heartbeat 0.5s ease !important;
}

.fav-btn.active {
    animation: heartbeat 1.5s infinite !important;
}


.feature-tag:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2) !important;
}


.widget-btn:hover {
    transform: scale(1.15) !important;
    animation: bounce 0.5s ease !important;
}


.stat-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}


.stat-item i {
    animation: float 3s ease-in-out infinite !important;
}


.submit-btn:hover {
    transform: translateY(-5px) scale(1.02) !important;
    animation: glow 2s infinite !important;
}


.section-header h2 i {
    animation: spin 20s linear infinite !important;
}


.search-container i {
    animation: pulse 2s infinite !important;
}


.car-price {
    animation: pulse 2s infinite !important;
}




button, .btn, .nav-action-btn, .hero-btn, .submit-btn, .widget-btn,
.view-btn, .detail-btn, .contact-btn, .fav-btn {

    transform-style: flat !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    perspective: none !important;
    -webkit-perspective: none !important;
    

    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 100 !important;
    

    transition: all 0.3s ease !important;
}


button:not(:hover), .btn:not(:hover) {
    animation: none !important;
}


.car-card {
    transform-style: flat !important;
    backface-visibility: visible !important;
}


@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .nav-action-btn:hover,
    .widget-btn:hover {
        transform: scale(1.1) !important;
        animation: none !important;
    }
}



@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0073e6, 0 0 20px #0073e6;
    }
    50% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0073e6, 0 0 40px #0073e6;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

@keyframes zoomRotate {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}



.nav-logo {
    animation: neonGlow 3s infinite alternate;
}


.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}


.nav-action-btn:hover {
    animation: shake 0.5s ease, pulse 0.5s ease !important;
    transform: scale(1.2) rotate(10deg) !important;
    background: linear-gradient(45deg, #3498db, #9b59b6) !important;
}


.hero-title {
    animation: typing 3s steps(40, end), blink .5s step-end infinite alternate;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #3498db;
}


.hero-subtitle {
    animation: slideUp 1s ease 1s both;
}


.hero-btn {
    background: linear-gradient(45deg, #3498db, #2ecc71, #3498db, #9b59b6) !important;
    background-size: 300% 300% !important;
    animation: gradientShift 3s ease infinite !important;
}

.hero-btn:hover {
    transform: translateY(-10px) scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.7) !important;
    animation: gradientShift 1s ease infinite, glow 2s infinite !important;
}


.stat-item {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.stat-item:hover {
    transform: translateY(-15px) rotateX(10deg) !important;
    background: linear-gradient(45deg, rgba(52,152,219,0.3), rgba(155,89,182,0.3)) !important;
}

.stat-item i {
    animation: zoomRotate 4s linear infinite !important;
}


.car-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.car-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) !important;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 2px rgba(52,152,219,0.2) !important;
}


.car-image {
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.car-card:hover .car-image {
    transform: scale(1.15) rotate(2deg) !important;
}


.fav-btn {
    position: relative;
    overflow: hidden;
}

.fav-btn::after {
    content: '❤️';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s;
}

.fav-btn:hover::after {
    opacity: 1;
    transform: translateY(0);
    animation: float 1s ease-in-out infinite;
}

.fav-btn:hover i {
    opacity: 0;
}


.car-price {
    display: inline-block;
    animation: bounce 2s infinite;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 5px 10px;
    border-radius: 10px;
}


.feature-tag {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.feature-tag:hover {
    transform: translateY(-5px) scale(1.1) rotate(-2deg) !important;
    background: linear-gradient(45deg, #3498db, #2ecc71) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(52,152,219,0.3) !important;
}


.detail-btn:hover {
    background: linear-gradient(45deg, #3498db, #2980b9, #2c3e50) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
    transform: translateY(-8px) scale(1.05) !important;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #27ae60, #219653, #2ecc71) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
    transform: translateY(-8px) scale(1.05) !important;
}


#searchInput:focus,
#sortSelect:focus {
    transform: scale(1.05) !important;
    border-color: #9b59b6 !important;
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.6) !important;
    animation: wobble 0.5s ease !important;
}


.view-btn {
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-btn.active {
    animation: pulse 1s infinite !important;
}


.telegram-widget {
    position: relative;
    overflow: hidden;
}

.telegram-widget::after {
    content: '✈️';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s;
}

.telegram-widget:hover::after {
    right: 15px;
    opacity: 1;
    animation: float 1s ease-in-out infinite;
}

.telegram-widget:hover {
    animation: shake 0.3s ease, glow 2s infinite !important;
    background: linear-gradient(45deg, #0088cc, #00a8ff, #0088cc) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
}


.scroll-top {
    position: relative;
}

.scroll-top:hover {
    transform: translateY(-10px) scale(1.2) !important;
    animation: bounce 0.5s ease !important;
    background: linear-gradient(45deg, #e74c3c, #c0392b, #ff7979) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
}


.form-group input {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.form-group input:focus {
    transform: translateY(-5px) scale(1.02) !important;
    border-color: #e74c3c !important;
    box-shadow: 
        0 10px 20px rgba(231, 76, 60, 0.3),
        0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    animation: wobble 0.3s ease !important;
}


.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '✉️';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s;
}

.submit-btn:hover::after {
    right: 20px;
    opacity: 1;
    animation: float 1s ease-in-out infinite;
}

.submit-btn:hover {
    transform: translateY(-8px) scale(1.05) !important;
    animation: gradientShift 2s ease infinite !important;
    background: linear-gradient(45deg, #3498db, #9b59b6, #3498db) !important;
    background-size: 200% 200% !important;
}


.notification {
    animation: slideInFromRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    background: linear-gradient(45deg, #27ae60, #2ecc71, #27ae60) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

.notification i {
    animation: spin 3s linear infinite !important;
}


.footer-logo {
    animation: wobble 3s ease-in-out infinite !important;
}


* {
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

button, .btn {
    transform-style: flat !important;
    animation-fill-mode: both !important;
}


@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .nav-action-btn:hover,
    .widget-btn:hover {
        transform: scale(1.1) !important;
        animation: none !important;
    }
    
    .hero-title {
        animation: none !important;
        border-right: none !important;
        white-space: normal !important;
    }
}


.car-card, .stat-item, .contact-item, .filter-item {
    animation: fadeIn 0.8s ease both;
}


.car-card:nth-child(1) { animation-delay: 0.1s; }
.car-card:nth-child(2) { animation-delay: 0.2s; }
.car-card:nth-child(3) { animation-delay: 0.3s; }
.car-card:nth-child(4) { animation-delay: 0.4s; }

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.filter-item:nth-child(1) { animation-delay: 0.1s; }
.filter-item:nth-child(2) { animation-delay: 0.2s; }

#searchInput, #sortSelect {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

#sortSelect option {
    background: #333 !important;
    color: white !important;
}


.light-theme #searchInput,
.light-theme #sortSelect {
    color: black !important;
    background: white !important;
}

.light-theme #sortSelect option {
    background: white !important;
    color: black !important;
}
.hero-logo {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-width: 480px;  
    width: 100%;       
    height: auto;      
    border-radius: 30px;
    padding: 20px 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    object-fit: contain; 
}


@media (max-width: 768px) {
    .hero-logo img {
        max-width: 90%;  
        padding: 15px 30px;  
        border-radius: 20px;  
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 95%;
        padding: 10px 20px;
        border-radius: 15px;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
}

.current-lang {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.language-modal:not(.hidden) {
    display: flex !important;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 62, 80, 0.95));
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    animation: zoomIn 0.3s ease;
}

.light-theme .modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(0,0,0,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-theme .modal-header {
    border-bottom-color: rgba(0,0,0,0.1);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #ffffff;
}

.light-theme .modal-header h3 {
    color: #212529;
}

.modal-header h3 i {
    color: #3498db;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #e74c3c;
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.languages-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.light-theme .language-option {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    color: #212529;
}

.language-option:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    transform: translateX(10px);
}

.language-option.active {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(46, 204, 113, 0.3));
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.flag {
    font-size: 24px;
    min-width: 30px;
}

.lang-name {
    flex: 1;
    font-weight: 500;
}

.lang-code {
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.language-option.active .lang-code {
    background: #3498db;
    color: white;
}


@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }
    
    .language-option {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .flag {
        font-size: 20px;
    }
} */






* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


body.dark-mode {
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    transition: all 0.5s ease;
}


body.light-theme {
    background: #f8f9fa;
    color: #212529;
    transition: all 0.5s ease;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


.main-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.light-theme .nav-logo {
    color: #212529;
}

.logo-premium {
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

.light-theme .nav-link {
    color: #495057;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.light-theme .nav-action-btn {
    border-color: rgba(0,0,0,0.2);
    color: #495057;
}

.nav-action-btn:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    transform: scale(1.1);
}

.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #e74c3c, #ff7979);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.hero-section {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(44, 62, 80, 0.9));
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.light-theme .hero-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #3498db, #2ecc71, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
}

.light-theme .hero-title {
    background: linear-gradient(45deg, #ffffff, #f1c40f, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item i {
    font-size: 40px;
    color: #3498db;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item p {
    opacity: 0.8;
    font-size: 14px;
}


.catalog-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header p {
    font-size: 18px;
    opacity: 0.8;
}

.filters-panel {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .filters-panel {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.light-theme .filter-item label {
    color: #212529;
}

#searchInput,
#sortSelect {
    padding: 12px 20px;
    border: 2px solid #3498db;
    border-radius: 10px;
    font-size: 16px;
    min-width: 200px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    transition: all 0.3s;
}

.light-theme #searchInput,
.light-theme #sortSelect {
    background: white;
    color: #333;
}

#searchInput:focus,
#sortSelect:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 10px 20px;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-btn:hover,
.view-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .results-info {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
}

.results-count i {
    color: #3498db;
}

.results-count strong {
    color: #3498db;
    font-weight: bold;
}


.cars-container {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.list-view {
    grid-template-columns: 1fr;
}

.car-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 0.8s ease;
}

.light-theme .car-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.light-theme .car-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.car-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #e74c3c, #ff7979);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.car-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #e74c3c;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fav-btn:hover {
    transform: scale(1.2);
    background: white;
}

.fav-btn.active {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid #ff4757;
}

.car-info {
    padding: 25px;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.car-title {
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
}

.light-theme .car-title {
    color: #333;
}

.car-price {
    font-size: 28px;
    font-weight: bold;
    color: #27ae60;
}

.car-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #888;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.car-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.feature-tag {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    color: #3498db;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.feature-tag:hover {
    transform: translateY(-3px);
}

.car-actions-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.detail-btn,
.contact-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detail-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.contact-btn {
    background: linear-gradient(45deg, #27ae60, #219653);
    color: white;
}

.detail-btn:hover,
.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.favorites-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(231, 76, 60, 0.1));
    margin-top: 60px;
}

.light-theme .favorites-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(231, 76, 60, 0.1));
}

.favorites-container {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    min-height: 200px;
}

.empty-favorites {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
    grid-column: 1 / -1;
    width: 100%;
}

.empty-favorites i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-favorites h3 {
    margin-bottom: 10px;
    color: inherit;
}


.contacts-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(52, 152, 219, 0.1));
}

.light-theme .contacts-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(52, 152, 219, 0.1));
}

.contacts-content {
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: #3498db;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light-theme .contact-form {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #3498db;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.light-theme .form-group input {
    background: white;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    transform: translateY(-3px);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.5);
}


.main-footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.light-theme .main-footer {
    background: white;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
}

.light-theme .footer-bottom {
    border-top-color: rgba(0,0,0,0.1);
}


.widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.telegram-widget {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
}

.scroll-top {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.hidden {
    display: none !important;
}

.search-panel {
    background: rgba(10, 10, 10, 0.95);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.light-theme .search-panel {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0,0,0,0.1);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container i {
    color: #888;
    font-size: 20px;
}

#globalSearch {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.search-close:hover {
    color: #e74c3c;
    transform: scale(1.2);
}


.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 350px;
    animation: fadeIn 0.5s ease;
}

.notification i {
    font-size: 20px;
}


button, .btn, .nav-action-btn, .hero-btn, .submit-btn, .widget-btn,
.view-btn, .detail-btn, .contact-btn, .fav-btn {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 100 !important;
    transform-style: flat !important;
    backface-visibility: visible !important;
}


.nav-action-btn:hover {
    transform: scale(1.1) !important;
}

.hero-btn:hover {
    transform: translateY(-5px) !important;
}

.widget-btn:hover {
    transform: scale(1.1) !important;
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: inherit;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {

display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: rgba(52, 152, 219, 0.1);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }
    
    .filters-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    #searchInput,
    #sortSelect {
        width: 100%;
        min-width: auto;
    }
    
    .cars-container.grid-view {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .widgets {
        bottom: 20px;
        right: 20px;
    }
    
    .widget-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .car-actions-bottom {
        grid-template-columns: 1fr;
    }
    
    .car-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .car-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.logo-premium {
    animation: shimmer 3s infinite linear !important;
}


.hero-title {
    animation: shimmer 3s infinite linear !important;
}

.nav-action-btn:hover {
    transform: scale(1.1) rotate(5deg) !important;
    animation: pulse 0.5s ease !important;
}


.action-badge {
    animation: heartbeat 1.5s ease infinite !important;
}


.hero-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    animation: glow 2s infinite !important;
}


.car-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    z-index: 10 !important;
}


.fav-btn:hover {
    transform: scale(1.2) !important;
    animation: heartbeat 0.5s ease !important;
}

.fav-btn.active {
    animation: heartbeat 1.5s infinite !important;
}


.feature-tag:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2) !important;
}


.widget-btn:hover {
    transform: scale(1.15) !important;
    animation: bounce 0.5s ease !important;
}


.stat-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}


.stat-item i {
    animation: float 3s ease-in-out infinite !important;
}


.submit-btn:hover {
    transform: translateY(-5px) scale(1.02) !important;
    animation: glow 2s infinite !important;
}


.section-header h2 i {
    animation: spin 20s linear infinite !important;
}


.search-container i {
    animation: pulse 2s infinite !important;
}


.car-price {
    animation: pulse 2s infinite !important;
}




button, .btn, .nav-action-btn, .hero-btn, .submit-btn, .widget-btn,
.view-btn, .detail-btn, .contact-btn, .fav-btn {

    transform-style: flat !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    perspective: none !important;
    -webkit-perspective: none !important;
    

    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 100 !important;
    

    transition: all 0.3s ease !important;
}


button:not(:hover), .btn:not(:hover) {
    animation: none !important;
}


.car-card {
    transform-style: flat !important;
    backface-visibility: visible !important;
}


@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .nav-action-btn:hover,
    .widget-btn:hover {
        transform: scale(1.1) !important;
        animation: none !important;
    }
}



@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0073e6, 0 0 20px #0073e6;
    }
    50% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0073e6, 0 0 40px #0073e6;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

@keyframes zoomRotate {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}



.nav-logo {
    animation: neonGlow 3s infinite alternate;
}


.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}


.nav-action-btn:hover {
    animation: shake 0.5s ease, pulse 0.5s ease !important;
    transform: scale(1.2) rotate(10deg) !important;
    background: linear-gradient(45deg, #3498db, #9b59b6) !important;
}


.hero-title {
    animation: typing 3s steps(40, end), blink .5s step-end infinite alternate;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #3498db;
}


.hero-subtitle {
    animation: slideUp 1s ease 1s both;
}


.hero-btn {
    background: linear-gradient(45deg, #3498db, #2ecc71, #3498db, #9b59b6) !important;
    background-size: 300% 300% !important;
    animation: gradientShift 3s ease infinite !important;
}

.hero-btn:hover {
    transform: translateY(-10px) scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.7) !important;
    animation: gradientShift 1s ease infinite, glow 2s infinite !important;
}


.stat-item {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.stat-item:hover {
    transform: translateY(-15px) rotateX(10deg) !important;
    background: linear-gradient(45deg, rgba(52,152,219,0.3), rgba(155,89,182,0.3)) !important;
}

.stat-item i {
    animation: zoomRotate 4s linear infinite !important;
}


.car-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.car-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) !important;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 2px rgba(52,152,219,0.2) !important;
}


.car-image {
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.car-card:hover .car-image {
    transform: scale(1.15) rotate(2deg) !important;
}


.fav-btn {
    position: relative;
    overflow: hidden;
}

.fav-btn::after {
    content: '❤️';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s;
}

.fav-btn:hover::after {
    opacity: 1;
    transform: translateY(0);
    animation: float 1s ease-in-out infinite;
}

.fav-btn:hover i {
    opacity: 0;
}


.car-price {
    display: inline-block;
    animation: bounce 2s infinite;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 5px 10px;
    border-radius: 10px;
}


.feature-tag {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.feature-tag:hover {
    transform: translateY(-5px) scale(1.1) rotate(-2deg) !important;
    background: linear-gradient(45deg, #3498db, #2ecc71) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(52,152,219,0.3) !important;
}


.detail-btn:hover {
    background: linear-gradient(45deg, #3498db, #2980b9, #2c3e50) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
    transform: translateY(-8px) scale(1.05) !important;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #27ae60, #219653, #2ecc71) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
    transform: translateY(-8px) scale(1.05) !important;
}


#searchInput:focus,
#sortSelect:focus {
    transform: scale(1.05) !important;
    border-color: #9b59b6 !important;
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.6) !important;
    animation: wobble 0.5s ease !important;
}


.view-btn {
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-btn.active {
    animation: pulse 1s infinite !important;
}


.telegram-widget {
    position: relative;
    overflow: hidden;
}

.telegram-widget::after {
    content: '✈️';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s;
}

.telegram-widget:hover::after {
    right: 15px;
    opacity: 1;
    animation: float 1s ease-in-out infinite;
}

.telegram-widget:hover {
    animation: shake 0.3s ease, glow 2s infinite !important;
    background: linear-gradient(45deg, #0088cc, #00a8ff, #0088cc) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
}


.scroll-top {
    position: relative;
}

.scroll-top:hover {
    transform: translateY(-10px) scale(1.2) !important;
    animation: bounce 0.5s ease !important;
    background: linear-gradient(45deg, #e74c3c, #c0392b, #ff7979) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 2s ease infinite !important;
}


.form-group input {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.form-group input:focus {
    transform: translateY(-5px) scale(1.02) !important;
    border-color: #e74c3c !important;
    box-shadow: 
        0 10px 20px rgba(231, 76, 60, 0.3),
        0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    animation: wobble 0.3s ease !important;
}


.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '✉️';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s;
}

.submit-btn:hover::after {
    right: 20px;
    opacity: 1;
    animation: float 1s ease-in-out infinite;
}

.submit-btn:hover {
    transform: translateY(-8px) scale(1.05) !important;
    animation: gradientShift 2s ease infinite !important;
    background: linear-gradient(45deg, #3498db, #9b59b6, #3498db) !important;
    background-size: 200% 200% !important;
}


.notification {
    animation: slideInFromRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    background: linear-gradient(45deg, #27ae60, #2ecc71, #27ae60) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

.notification i {
    animation: spin 3s linear infinite !important;
}


.footer-logo {
    animation: wobble 3s ease-in-out infinite !important;
}


* {
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

button, .btn {
    transform-style: flat !important;
    animation-fill-mode: both !important;
}


@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .nav-action-btn:hover,
    .widget-btn:hover {
        transform: scale(1.1) !important;
        animation: none !important;
    }
    
    .hero-title {
        animation: none !important;
        border-right: none !important;
        white-space: normal !important;
    }
}


.car-card, .stat-item, .contact-item, .filter-item {
    animation: fadeIn 0.8s ease both;
}


.car-card:nth-child(1) { animation-delay: 0.1s; }
.car-card:nth-child(2) { animation-delay: 0.2s; }
.car-card:nth-child(3) { animation-delay: 0.3s; }
.car-card:nth-child(4) { animation-delay: 0.4s; }

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.filter-item:nth-child(1) { animation-delay: 0.1s; }
.filter-item:nth-child(2) { animation-delay: 0.2s; }

#searchInput, #sortSelect {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

#sortSelect option {
    background: #333 !important;
    color: white !important;
}


.light-theme #searchInput,
.light-theme #sortSelect {
    color: black !important;
    background: white !important;
}

.light-theme #sortSelect option {
    background: white !important;
    color: black !important;
}
.hero-logo {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-width: 480px;  
    width: 100%;       
    height: auto;      
    border-radius: 30px;
    padding: 20px 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    object-fit: contain; 
}


@media (max-width: 768px) {
    .hero-logo img {
        max-width: 90%;  
        padding: 15px 30px;  
        border-radius: 20px;  
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 95%;
        padding: 10px 20px;
        border-radius: 15px;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
}

.current-lang {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.language-modal:not(.hidden) {
    display: flex !important;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(44, 62, 80, 0.95));
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    animation: zoomIn 0.3s ease;
}

.light-theme .modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(0,0,0,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.light-theme .modal-header {
    border-bottom-color: rgba(0,0,0,0.1);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #ffffff;
}

.light-theme .modal-header h3 {
    color: #212529;
}

.modal-header h3 i {
    color: #3498db;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #e74c3c;
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.languages-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.light-theme .language-option {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    color: #212529;
}

.language-option:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    transform: translateX(10px);
}

.language-option.active {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(46, 204, 113, 0.3));
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.flag {
    font-size: 24px;
    min-width: 30px;
}

.lang-name {
    flex: 1;
    font-weight: 500;
}

.lang-code {
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.language-option.active .lang-code {
    background: #3498db;
    color: white;
}


@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }
    
    .language-option {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .flag {
        font-size: 20px;
    }
}
/* ===== СТИЛИ ДЛЯ КНОПОК И ФОРМ ===== */

/* Кнопки в шапке */
.nav-action-btn {
    position: relative;
}

.nav-action-btn .action-label {
    font-size: 11px;
    display: block;
    margin-top: 3px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-action-btn .action-label {
        display: none;
    }
}

/* Модальные окна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #667eea;
}

.modal-header .modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-header .modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body .form-group {
    margin-bottom: 22px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.modal-body textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.modal-body select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

.modal-body .submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.modal-body .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.modal-body .submit-btn:active {
    transform: translateY(-1px);
}

/* Сообщение об успехе */
.success-message {
    text-align: center;
    padding: 25px;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    margin-top: 25px;
    animation: fadeInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message i {
    font-size: 42px;
    color: #2ecc71;
    margin-bottom: 15px;
    display: block;
}

.success-message p {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp кнопка */
.widgets .whatsapp-widget {
    background: #25D366;
    color: white;
    bottom: 120px;
    right: 25px;
}

.widgets .whatsapp-widget:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* Стили для кнопок отправки в форме контактов */
.contact-form .submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.contact-form .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Адаптивность модальных окон */
@media (max-width: 768px) {
    .modal-content {
        padding: 25px 20px;
        width: 95%;
        margin: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .modal-body input,
    .modal-body select,
    .modal-body textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .modal-body .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
    
    .nav-action-btn.consultation-btn .action-label,
    .nav-action-btn.callback-btn .action-label {
        display: inline-block;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}
/* ===== КНОПКА КОНСУЛЬТАЦИИ В КАТАЛОГЕ ===== */
.consultation-catalog-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.consultation-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
}

/* ===== WIDGETS - ПОДНИМЕМ WHATSAPP ВЫШЕ ===== */
.widgets {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: #0088cc;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.widget-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp кнопка - ПОДНИМАЕМ ВЫШЕ */
.whatsapp-widget {
    background: #25D366;
    order: 1; /* Делаем первой (сверху) */
}

.telegram-widget {
    background: #0088cc;
    order: 2; /* Вторая (посередине) */
}

.scroll-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    order: 3; /* Третья (снизу) */
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .widgets {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .widget-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .consultation-catalog-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* ===== СТИЛИ ДЛЯ КНОПОК НА КАРТОЧКАХ АВТО ===== */
.car-consultation-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.car-consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #667eea;
}

.modal-header .modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-header .modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body .form-group {
    margin-bottom: 22px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.modal-body textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.modal-body select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

.modal-body .submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.modal-body .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.modal-body .submit-btn:active {
    transform: translateY(-1px);
}

/* Сообщение об успехе */
.success-message {
    text-align: center;
    padding: 25px;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    margin-top: 25px;
    animation: fadeInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message i {
    font-size: 42px;
    color: #2ecc71;
    margin-bottom: 15px;
    display: block;
}

.success-message p {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== WHATSAPP КНОПКА В МЕНЮ ===== */
.nav-actions .whatsapp-btn {
    background: #25D366;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions .whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* ===== TELEGRAM КНОПКА В МЕНЮ ===== */
.nav-actions #telegramBtn {
    background: #0088cc;
    color: white;
}

.nav-actions #telegramBtn:hover {
    background: #0077b5;
    transform: scale(1.1);
}

/* ===== КНОПКА КОНСУЛЬТАЦИИ В КАТАЛОГЕ ===== */
.consultation-catalog-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.consultation-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
}

/* ===== СТИЛИ ДЛЯ TELEGRAM МОДАЛЬНОГО ОКНА ===== */
.telegram-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.telegram-link-btn {
    background: #0088cc;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.telegram-link-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .nav-actions .whatsapp-btn,
    .nav-actions #telegramBtn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .consultation-catalog-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}
.car-consultation-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.car-consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.consultation-catalog-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.consultation-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.success-message {
    text-align: center;
    padding: 25px;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    margin-top: 25px;
    animation: fadeInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message i {
    font-size: 42px;
    color: #2ecc71;
    margin-bottom: 15px;
    display: block;
}

.nav-actions .whatsapp-btn {
    background: #25D366;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions .whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.nav-actions #telegramBtn {
    background: #0088cc;
    color: white;
}

.nav-actions #telegramBtn:hover {
    background: #0077b5;
    transform: scale(1.1);
}
/* ===== КНОПКИ АРЕНДЫ НА КАРТОЧКАХ ===== */
.rent-btn {
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.rent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 107, 69, 0.4);
}

.car-price .price {
    font-size: 24px;
    font-weight: 700;
    color: #00b09b;
}

.price-per-day {
    font-size: 14px;
    color: #aaa;
    margin-left: 5px;
}

/* ===== СТИЛИ ДЛЯ ФОРМЫ АРЕНДЫ ===== */
.checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.rent-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rent-summary h4 {
    color: #00b09b;
    margin-bottom: 10px;
    font-size: 20px;
}

.price-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}

/* ===== БЭДЖ АРЕНДЫ ===== */
.rent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* ===== ИНФО ОБ АРЕНДЕ ===== */
.rent-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}

.rent-info i {
    color: #00b09b;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .rent-btn {
        padding: 8px 15px;
        font-size: 13px;
        margin-left: 5px;
    }
    
    .checkboxes {
        grid-template-columns: 1fr;
    }
    
    .car-price {
        flex-direction: column;
        gap: 10px;
    }
    
    .car-price .price {
        font-size: 20px;
    }
}
/* ВСЕ СТИЛИ ИЗ ТВОЕГО CSS ОСТАЮТСЯ ТАКИМИ ЖЕ, ПЛЮС ДОБАВЛЯЕМ ЭТО В КОНЕЦ: */

/* ===== КНОПКА КОНСУЛЬТАЦИИ В КАТАЛОГЕ ===== */
.consultation-catalog-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.consultation-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
}

/* ===== КНОПКА АРЕНДЫ В КАТАЛОГЕ ===== */
.rent-catalog-btn {
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(244, 107, 69, 0.3);
}

.rent-catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 107, 69, 0.4);
}

/* ===== КНОПКИ В КАТАЛОГЕ ===== */
.catalog-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== КНОПКА АРЕНДЫ НА КАРТОЧКЕ ===== */
.rent-now-btn {
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.rent-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 107, 69, 0.4);
}

/* ===== БЕЙДЖ АРЕНДЫ НА КАРТОЧКЕ ===== */
.rent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f46b45 0%, #eea849 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(244, 107, 69, 0.3);
}

/* ===== МОДАЛЬНОЕ ОКНО АРЕНДЫ ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #667eea;
}

.modal-header .modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-header .modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body .form-group {
    margin-bottom: 22px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.modal-body textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.modal-body select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

.modal-body .submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.modal-body .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ===== ЧЕКБОКСЫ В ФОРМЕ АРЕНДЫ ===== */
.checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* ===== ИТОГО В ФОРМЕ АРЕНДЫ ===== */
.rent-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rent-summary h4 {
    color: #00b09b;
    margin-bottom: 10px;
    font-size: 20px;
}

.price-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}

/* ===== TELEGRAM ССЫЛКИ ===== */
.telegram-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.telegram-link-btn {
    background: #0088cc;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.telegram-link-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* ===== WHATSAPP КНОПКА В МЕНЮ ===== */
.nav-actions .whatsapp-btn {
    background: #25D366;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions .whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* ===== TELEGRAM КНОПКА В МЕНЮ ===== */
.nav-actions #telegramBtn {
    background: #0088cc;
    color: white;
}

.nav-actions #telegramBtn:hover {
    background: #0077b5;
    transform: scale(1.1);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {

.catalog-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .consultation-catalog-btn,
    .rent-catalog-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-content {
        padding: 25px 20px;
        width: 95%;
        margin: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .checkboxes {
        grid-template-columns: 1fr;
    }
    
    .nav-actions .whatsapp-btn,
    .nav-actions #telegramBtn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body input,
    .modal-body select,
    .modal-body textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .modal-body .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
}