:root {
    --primary-color: #0f172a;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --gold-color: #d97706;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --card-shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
}

body {
    background-color: var(--bg-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    padding-bottom: 60px;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.header-logo {
    max-height: 48px;
    width: auto;
}

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 60px 0 85px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-title {
    font-weight: 800;
    font-size: 2.3rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    margin-top: -45px;
    position: relative;
    z-index: 10;
}

.search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
}

.form-label-custom {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 6px;
}

.form-control-custom {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s;
}

.form-control-custom:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.btn-search {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    padding: 13px 20px;
    width: 100%;
    border: none;
    transition: all 0.2s;
}

.btn-search:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.car-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.car-card-premium.card-promo-highlight {
    border: 2px solid #ef4444 !important;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.25);
}

.car-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.car-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.car-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card-premium:hover .car-img-wrapper img {
    transform: scale(1.05);
}

.car-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #64748b;
}

.car-badge-type {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.badge-own {
    background-color: rgba(15, 23, 42, 0.85);
    color: #ffffff;
}

.badge-partner {
    background-color: rgba(217, 119, 6, 0.9);
    color: #ffffff;
}

.badge-promo-banner {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    z-index: 2;
    letter-spacing: 0.5px;
    animation: pulsePromo 2s infinite;
}

@keyframes pulsePromo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.car-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.car-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.spec-tag {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.car-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.price-day.price-promo-active {
    color: #dc2626;
}

.price-old-striked {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
}

.price-day span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.price-total {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

.btn-reserve {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.9rem;
    border: none;
    transition: all 0.2s;
}

.btn-reserve:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.modal-content-custom {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header-custom {
    background-color: #0f172a;
    color: #ffffff;
    padding: 20px 25px;
    border: none;
}

.modal-summary-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 20px;
}

.section-header-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PŁYWAJĄCA CHMURKA WHATSAPP */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.95rem;
    z-index: 1050;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    background-color: #20ba5a;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.floating-whatsapp-icon {
    font-size: 1.35rem;
    display: inline-block;
    animation: pulseWa 2s infinite;
}

@keyframes pulseWa {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 576px) {
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        padding: 10px 18px;
        font-size: 0.88rem;
    }
}