:root {
    --primary: #ff4500;
    --primary-hover: #e03e00;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #dcdcdc;
    --gray: #343434;
    --font-main: "Ubuntu", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: var(--dark);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 20px; }
.nav-links a { 
    font-weight: 600; 
    font-size: 14px; 
    text-transform: uppercase; 
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.back-link { font-weight: 600; color: #ccc; }
.back-link:hover { color: white; }

.btn-call {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-call:hover { background: var(--primary-hover); transform: scale(1.05); }

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin: 10px 5px;
    text-align: center;
}
.hero-btn.primary { background: var(--primary); color: white; }
.hero-btn.secondary { background: white; color: var(--dark); }
.full-width { width: 100%; box-sizing: border-box; }

.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: #ccc; max-width: 600px; margin-left: auto; margin-right: auto; }

.info-bar { background: var(--primary); color: white; padding: 20px 0; }
.info-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    font-weight: 700;
    text-align: center;
}

.section-padding { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-card .icon { font-size: 40px; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; }

.services-list { max-width: 800px; margin: 0 auto; }
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.list-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.list-item p { font-size: 0.9rem; color: var(--gray); }
.item-price { font-weight: 800; font-size: 1.2rem; color: var(--dark); white-space: nowrap; margin-left: 20px;}
.list-item.highlight { background: #fff3e0; border-color: #e65100; }

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.slider-btn {
    background: var(--dark);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
}
.car-display {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}
.img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #ddd;
}
.car-details { padding: 25px; }
.car-details h3 { font-size: 1.8rem; margin-bottom: 15px; }
.specs-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.car-desc { margin: 15px 0; font-size: 0.9rem; color: var(--gray); }


@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
    .info-grid { flex-direction: column; }
    .slider-container { position: relative; }
    .slider-btn { position: absolute; top: 35%; z-index: 10; opacity: 0.8; }
    .prev { left: -10px; }
    .next { right: -10px; }
}

footer {
    background: var(--dark);
    color: #777;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.8rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.c-icon { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.social-icons-row { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 5px solid white;
}

/* --- FOOTER --- */
.main-footer {
    background: #000; /* Głęboka czerń jak na screenie */
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-brand h2 { color: white; margin-bottom: 15px; }
.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #aaa; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }

.footer-contact p { color: #aaa; margin-bottom: 10px; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

.auto-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 50;
    border: 2px solid var(--primary);
}

.top-nav {
    background-color: #0f172a;
    padding: 15px 0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo span { color: #ff4500; font-weight: 800; }
.nav-phone {
    background: #ff4500;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

.hero-banner {
    position: relative;
    height: 75vh;
    background: url('../images/background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-content h1 { font-size: 3.5rem; text-transform: uppercase; line-height: 1.1; }
.hero-content h1 span { color: #ff4500; }
.btn-main { background: #ff4500; color: white; padding: 15px 30px; border-radius: 50px; font-weight: bold; display: inline-block; margin: 10px; }
.btn-sub { background: white; color: #0f172a; padding: 15px 30px; border-radius: 50px; font-weight: bold; display: inline-block; margin: 10px; }

/* --- Stopka --- */
.main-footer { background: #000; color: white; padding: 60px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; color: #666; font-size: 0.8rem; }

.media {
    height: 10%;
    width: 10%;
}