/* Leasing Page Specific Styles */

/* Hero Section Button - гарантируем видимость текста */
.hero-leasing a.bg-white {
    background-color: #ffffff !important;
    color: #ea580c !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.hero-leasing a.bg-white:hover {
    background-color: #f3f4f6 !important;
    color: #c2410c !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Hero Section */
.hero-leasing {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    position: relative;
    overflow: hidden;
}

.hero-leasing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

/* Benefits Section */
.benefits .bg-orange-100 {
    transition: all 0.3s ease;
}

.benefits .bg-orange-100:hover {
    transform: scale(1.05);
    background: #fed7aa !important;
}

/* Car Cards */
.car-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.car-specs {
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 0;
}

.price-section {
    background: linear-gradient(135deg, #fef3e2 0%, #fef7ed 100%);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fed7aa;
}

/* Quick Order Button */
.quick-order-btn {
    transition: all 0.3s ease;
    min-width: 48px;
}

.quick-order-btn:hover {
    transform: scale(1.1);
    background: #1f2937 !important;
}

/* Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #f97316;
    color: white;
    border-color: #f97316;
}

/* Price Guarantee Section */
.price-guarantee .bg-orange-50 {
    border-left: 4px solid #f97316;
}

/* Modal Styles */
.modal {
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important;
    opacity: 1;
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f97316;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin: 1rem 0;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Car Filter Animation */
.car-card {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-leasing {
        padding: 3rem 1rem;
    }
    
    .hero-leasing h1 {
        font-size: 2.5rem;
    }
    
    .quick-filter {
        padding: 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .car-card {
        margin-bottom: 1.5rem;
    }
    
    .benefits .grid {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-leasing h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .car-specs {
        grid-template-columns: 1fr;
    }
    
    .price-section {
        text-align: center;
    }
    
    .price-guarantee .grid {
        gap: 2rem;
    }
}
