* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-required {
    background: var(--bg-color);
    color: var(--text-color);
}

.btn-required:hover {
    background: #e0e0e0;
}

.btn-all {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-all:hover {
    background: #2980b9;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-header {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-header:hover {
    background: var(--bg-color);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2980b9;
}

.phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-label {
    color: #666;
    font-size: 14px;
}

.phone-number {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    border-top: 1px solid var(--border-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li {
    flex: 1;
}

.nav-menu a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    background: var(--bg-color);
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

.nav-menu a.active {
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 0 0 5px 5px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    margin-top: 3px;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 12px 15px;
    text-align: left;
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-color);
    border-bottom: none;
}

/* Tab Content */
.main-content {
    /* min-height removed - was causing spacing issues */
}

#about-tab,
#leasing-tab,
#rent-tab {
    min-height: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hero Section - Full Screen Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

/* Ukryj slider i inne sekcje Home w innych zakładkach */
#about-tab .hero-slider,
#about-tab .banners-section,
#about-tab .filters-section,
#about-tab .results-section,
#leasing-tab .hero-slider,
#leasing-tab .banners-section,
#leasing-tab .filters-section,
#leasing-tab .results-section,
#rent-tab .hero-slider,
#rent-tab .banners-section,
#rent-tab .filters-section,
#rent-tab .results-section {
    display: none !important;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.slider-top-section {
    flex: 2;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 60px 80px 40px;
}

.slider-top-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.slider-top-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.slider-bottom-section {
    flex: 1;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 80px;
    position: relative;
}

.slider-car-image-wrapper {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 700px;
    height: 120%;
    z-index: 2;
    animation: floatCar 4s ease-in-out infinite;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slider-car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    position: relative;
}



@keyframes floatCar {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-8px);
    }
}

.slider-top-left {
    position: relative;
    z-index: 3;
    color: var(--white);
    flex: 1;
    max-width: 500px;
}

.slider-top-right {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: right;
}

.slider-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.slider-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slider-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--text-color);
    padding: 0;
    max-width: 500px;
    flex: 1;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-top-left h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-top: 0;
}

.slider-top-left .car-specs {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slider-top-right h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin: 0;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.slider-content .car-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.slider-content .car-detail {
    padding: 12px 24px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.slider-content .car-detail::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: left 0.5s;
}

.slider-content .car-detail:hover::before {
    left: 100%;
}

.slider-content .car-detail:hover {
    background: #e8f4f8;
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.slider-bottom-left .price-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.slider-bottom-left .price-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.slider-bottom-left .price-icon svg {
    width: 20px;
    height: 20px;
    stroke: #6b7280;
    fill: none;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.slider-bottom-left .price-icon:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

.slider-bottom-left .price-icon:hover svg {
    stroke: #2563eb;
}

.slider-bottom-left .price-icon.active {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.slider-bottom-left .price-icon.active svg {
    stroke: var(--white);
}

.slider-bottom-left .price-icon.active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.slider-bottom-left .car-price {
    font-size: 64px;
    font-weight: 900;
    margin: 10px 0;
    color: #2563eb;
    display: flex;
    align-items: baseline;
    gap: 5px;
    letter-spacing: -2px;
}

.slider-bottom-left .car-price .price-main {
    font-size: 64px;
}

.slider-bottom-left .car-price .price-cents {
    font-size: 48px;
    margin-left: 2px;
}

.slider-bottom-left .price-label-box {
    display: inline-block;
    background: var(--text-color);
    color: var(--white);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: top;
    margin-top: 8px;
}

.slider-bottom-left .price-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 10px 0;
}

.slider-bottom-left .offer-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
    margin-top: 5px;
}

.slider-bottom-left .offer-link:hover {
    color: #2563eb;
}

.slider-bottom-left .offer-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #2563eb;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.slider-bottom-left .offer-btn:hover {
    background: #1e40af;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(52, 152, 219, 0.8), 0 0 40px rgba(52, 152, 219, 0.4);
    }
}

.slider-content .car-price .price-label {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

.slider-content .btn-offer {
    margin-top: 35px;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1e6fa8 100%);
    border: none;
    border-radius: 50px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4), 0 0 0 0 rgba(52, 152, 219, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-content .btn-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.slider-content .btn-offer:hover::before {
    left: 100%;
}

.slider-content .btn-offer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.slider-content .btn-offer:hover::after {
    width: 300px;
    height: 300px;
}

.slider-content .btn-offer:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.6), 0 0 0 10px rgba(52, 152, 219, 0.1);
}

.slider-content .btn-offer:active {
    transform: translateY(-2px) scale(1.02);
}

.slider-content .car-discount {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4), 0 0 0 0 rgba(76, 175, 80, 0.5);
    animation: discountPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes discountPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4), 0 0 0 0 rgba(76, 175, 80, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6), 0 0 0 8px rgba(76, 175, 80, 0);
    }
}

.slider-content .car-discount::before {
    content: '🎉';
    margin-right: 8px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 60px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--text-color);
    border-color: var(--text-color);
    transform: scale(1.3);
}

.slider-overlay {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.car-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-color);
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    border-color: var(--secondary-color);
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.car-card:hover::before {
    transform: scaleX(1);
}

.car-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.car-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.3;
    min-height: 56px;
}

.car-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.car-detail {
    padding: 6px 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 20px;
    color: #555;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #e0e4e8;
    transition: all 0.2s;
}

.car-detail:hover {
    background: linear-gradient(135deg, #e8ecf1 0%, #d4dae0 100%);
    transform: translateY(-1px);
}

.car-price-container {
    margin-top: auto;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
}

.car-price-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.car-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.car-price::after {
    content: 'netto/msc.';
    font-size: 14px;
    font-weight: 500;
    color: #888;
}

/* Wyłącz ::after dla slidera, bo ma własny price-label-box */
.slider-bottom-left .car-price::after {
    content: none;
}

.car-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.btn-offer {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-offer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-offer:hover::before {
    width: 300px;
    height: 300px;
}

.btn-offer:hover {
    background: linear-gradient(135deg, #2980b9 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

.btn-offer:active {
    transform: translateY(0);
}

.car-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.3);
    z-index: 10;
}

/* Banners Section */
.banners-section {
    padding: 30px 0;
    background: var(--bg-color);
}

.banners-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.banner-item {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.banner-item a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-item .banner-mobile {
    display: none;
}

@media (max-width: 768px) {
    .banner-item .banner-desktop {
        display: none;
    }
    
    .banner-item .banner-mobile {
        display: block;
    }
    
    .banners-container {
        grid-template-columns: 1fr;
    }
}

/* Filters Section */
.filters-section {
    padding: 40px 0;
    background: var(--white);
}

.filter-top-section {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.acquisition-type-group,
.price-range-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.acquisition-btn,
.price-range-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    min-width: 100px;
}

.acquisition-btn:hover,
.price-range-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.acquisition-btn.active,
.price-range-btn.active {
    background: var(--text-color);
    color: var(--white);
    border-color: var(--text-color);
}

.filter-dropdowns-section {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.filter-dropdown-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-dropdown-row:last-of-type {
    margin-bottom: 0;
}

.filter-dropdown-item {
    display: flex;
    flex-direction: column;
}

.filter-dropdown-item label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #666;
    font-size: 13px;
}

.filter-dropdown {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.filter-dropdown:hover {
    border-color: var(--secondary-color);
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.filter-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: #666;
    font-size: 16px;
}

.btn-search,
.btn-reset {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-search:hover {
    background: #2980b9;
}

.btn-reset {
    background: #95a5a6;
    color: var(--white);
}

.btn-reset:hover {
    background: #7f8c8d;
}

/* Results Section */
.results-section {
    padding: 40px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: #666;
    font-size: 14px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Branches Section */
.branches-section {
    padding: 40px 0;
    background: var(--white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.branch-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.branch-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.branch-card p {
    margin-bottom: 8px;
    color: #666;
}

.branch-card .phone {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Info Sections */
.info-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 3px solid var(--secondary-color);
}

.about-section,
.leasing-section,
.rent-section {
    padding: 20px 0 40px 0;
    border-top: none !important;
}

.about-section .container,
.leasing-section .container,
.rent-section .container {
    padding-top: 0;
}

.about-section h1,
.leasing-section h1,
.rent-section h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.section-intro {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.leasing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.leasing-subtab {
    padding: 12px 30px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--text-color);
}

.leasing-subtab:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.leasing-subtab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.leasing-subtab-content {
    display: none;
}

.leasing-subtab-content.active {
    display: block;
}

.leasing-subtab-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Hero Section */
.about-hero {
    margin-bottom: 40px;
    padding: 20px 0;
}

.about-hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-lead {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    max-width: 850px;
    margin: 0 auto;
}

/* About Features */
.about-features {
    margin-bottom: 60px;
}

.about-feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e4e8;
    transition: all 0.3s;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-feature-card:hover .feature-icon {
    transform: rotateY(15deg) rotateX(-10deg) scale(1.15) translateZ(20px);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.about-feature-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-feature-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

/* About Services */
.about-services {
    margin-top: 80px;
}

.services-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #2980b9);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-30px);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover .service-icon {
    transform: rotateY(20deg) rotateX(-15deg) scale(1.2) translateZ(30px);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)) drop-shadow(0 10px 20px rgba(52, 152, 219, 0.4));
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .about-main-title {
        font-size: 36px;
    }
    
    .about-lead {
        font-size: 18px;
    }
    
    .about-feature-card {
        padding: 30px 20px;
    }
    
    .about-feature-card h3 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-title {
        font-size: 28px;
    }
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-text ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.about-text li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.info-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-section p {
    font-size: 18px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Calculator Section */
.calculator-section {
    padding: 40px 0;
    background: var(--bg-color);
}

.calculator-main-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.calculator-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.calc-tab {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    color: var(--text-color);
}

.calc-tab:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.calc-tab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.calculator-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calc-form-group {
    margin-bottom: 25px;
}

.calc-form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.calc-form-group input[type="number"],
.calc-form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.calc-form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.calc-value-display {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 8px;
    background: var(--bg-color);
    border-radius: 5px;
}

.calc-percent-buttons,
.calc-period-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.percent-btn,
.period-btn {
    padding: 10px 16px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 60px;
}

.percent-btn:hover,
.period-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.percent-btn.active,
.period-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.calc-period-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.calc-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.calc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.calc-btn-primary,
.calc-btn-secondary {
    padding: 15px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.calc-btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.calc-btn-primary:hover {
    background: #2980b9;
}

.calc-btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.calc-btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.calculator-results {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.calculator-results h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.calc-result-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-result-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.calc-result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-result-label {
    font-size: 14px;
    color: #666;
}

.calc-result-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.calc-result-price {
    font-size: 32px;
    color: var(--secondary-color);
}

.calc-result-suffix {
    font-size: 14px;
    color: #666;
}

.matching-vehicles {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.matching-vehicles h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.matching-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.matching-car-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.matching-car-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.matching-car-card .car-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.matching-car-card .car-price-new {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 5px 0;
}

.calculator-info {
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calculator-info h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.calculator-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.calculator-info ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.calculator-info li {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* How It Works Section */
.how-it-works-section {
    padding: 60px 0;
    background: var(--white);
}

.how-it-works-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.step-container {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: lowercase;
}

.step-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.step-total {
    color: #999;
}

.step-content {
    max-width: 900px;
}

.step-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.step-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.step-features {
    margin: 30px 0;
}

.step-feature {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.step-feature h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-feature p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.financing-types {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.financing-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.financing-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.step-action-btn,
.step-action-btn-secondary {
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.step-action-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.step-action-btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.step-action-btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.how-it-works-contact {
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    color: var(--white);
    text-align: center;
}

.how-it-works-contact h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-phone {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
    margin: 10px 0;
}

.contact-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-btn {
    padding: 15px 40px;
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .hero-slider {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .slider-slide {
        flex-direction: column;
        height: auto;
    }

    .slider-title {
        font-size: 32px;
    }

    .slider-top-section {
        flex: 1;
        padding: 30px 20px;
        flex-direction: column;
        gap: 15px;
        min-height: 300px;
        position: relative;
    }
    
    .slider-top-left {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .slider-top-left h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .slider-top-left .car-specs {
        font-size: 14px;
    }

    .slider-top-right {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .slider-top-right h2 {
        font-size: 24px;
        text-align: center;
        margin: 0;
    }

    .slider-car-image-wrapper {
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
        width: 60%;
        max-width: 280px;
        height: 80%;
        z-index: 2;
        opacity: 0.9;
    }
    
    .slider-bottom-section {
        flex: 1;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: var(--white);
    }
    
    .slider-bottom-left {
        position: relative;
        z-index: 10;
        width: 100%;
    }
    
    .slider-bottom-left .price-icons {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    
    .slider-bottom-left .price-icon {
        width: 32px;
        height: 32px;
    }
    
    .slider-bottom-left .price-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .slider-bottom-left .car-price {
        font-size: 32px;
        justify-content: center;
        margin: 10px 0;
    }
    
    .slider-bottom-left .car-price .price-main {
        font-size: 32px;
    }
    
    .slider-bottom-left .car-price .price-cents {
        font-size: 24px;
    }
    
    .slider-bottom-left .price-label-box {
        font-size: 9px;
        padding: 2px 5px;
        margin-left: 4px;
    }
    
    .slider-bottom-left .price-divider {
        margin: 8px 0;
    }
    
    .slider-bottom-left .offer-link {
        font-size: 14px;
        justify-content: center;
        margin-top: 0;
    }
    
    .slider-bottom-left .offer-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .slider-content {
        max-width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .slider-content h3 {
        font-size: 32px;
        text-align: center;
    }

    .slider-content .car-details {
        justify-content: center;
    }

    .slider-content .car-price {
        font-size: 32px;
        justify-content: center;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 40px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .slider-overlay {
        top: 60px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-tabs {
        gap: 5px;
    }

    .calc-tab {
        padding: 10px 16px;
        font-size: 12px;
    }

    .step-container {
        padding: 25px;
    }

    .step-title {
        font-size: 24px;
    }

    .how-it-works-contact {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 20px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .filter-buttons {
        gap: 5px;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Modal z widokiem samochodu */
.car-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.car-modal.active {
    opacity: 1;
    visibility: visible;
}

.car-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.car-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s;
    z-index: 10001;
}

.car-modal.active .car-modal-content {
    transform: scale(1);
}

.car-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s;
    z-index: 10002;
}

.car-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.car-modal-body {
    padding: 30px;
}

.car-modal-image-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car-modal-placeholder {
    font-size: 120px;
    opacity: 0.3;
}

.car-modal-info {
    padding: 0 10px;
}

.car-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.car-modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.car-modal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 10px;
}

.detail-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.detail-value.highlight {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
}

.car-modal-contact-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-modal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

@media (max-width: 768px) {
    .car-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .car-modal-body {
        padding: 20px;
    }
    
    .car-modal-image-container {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .car-modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .car-modal-details {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .car-modal-detail-item {
        padding: 12px;
    }
    
    .detail-value {
        font-size: 16px;
    }
    
    .detail-value.highlight {
        font-size: 20px;
    }
    
    .car-modal-contact-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

