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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0b0b;
    color: #fff;
}

.navbar {
    height: 58px;
    padding: 0 11%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #050505;
    border-bottom: 1px solid #222;
}

.logo {
    color: #ffc400;
    font-size: 21px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffc400;
}

.hero {
    min-height: 290px;
    padding: 45px 20px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
            linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.84)),
            url("hero.jpg") center/cover no-repeat;
    border-bottom: 1px solid #222;
}

.hero-content {
    max-width: 900px;
}

.small-title {
    display: block;
    font-size: 14px;
    letter-spacing: 7px;
    color: #e5e5e5;
    margin-bottom: 12px;
}

.line {
    width: 60px;
    height: 3px;
    background: #ffc400;
    margin: 0 auto 25px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.2;
    color: #ffc400;
    margin-bottom: 14px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 24px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 36px;
    border: 2px solid #ffc400;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
}

.hero-button:hover {
    background: #ffc400;
    color: #111;
}

section {
    padding: 38px 11%;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 23px;
    letter-spacing: 1px;
}

.section-header .line {
    margin-top: 12px;
    margin-bottom: 0;
    width: 45px;
}

.cars-section {
    background: #111;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.car-card {
    background: linear-gradient(145deg,#1a1a1a,#121212);
    border-radius: 10px;
    overflow: hidden;

    transition: 0.2s;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;

    display: block;
}

.car-content {
    padding: 22px;
    text-align: center;
}

.car-card h3 {
    color: #ffc400;
    font-size: 19px;
    margin-bottom: 10px;
}

.car-card p {
    color: #eee;
    font-size: 14px;
    line-height: 1.6;
}

.services {
    background: #151515;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-box {
    text-align: center;
    padding: 10px 30px;
    border-right: 1px solid #444;
}

.service-box:last-child {
    border-right: none;
}

.service-icon {
    font-size: 36px;
    color: #ffc400;
    margin-bottom: 12px;
}

.service-box h3 {
    color: #ffc400;
    font-size: 17px;
    margin-bottom: 8px;
}

.service-box p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
}

.area-section {
    background: #101010;
    text-align: center;
    padding-top: 28px;
    padding-bottom: 28px;
}

.area-text {
    color: #ffc400;
    font-size: 17px;
    font-weight: 500;
}

.contact-section {
    position: relative;
    text-align: center;
    padding: 25px 20px;
    background:
            linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.82)),
            url("hero.jpg") center/cover no-repeat;
    border-top: 1px solid #222;
}

.contact-content h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.contact-content p {
    font-size: 15px;
    margin-bottom: 12px;
}

.contact-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc400;
    color: #111;
    padding: 10px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

footer {
    background: #050505;
    text-align: center;
    color: #777;
    padding: 12px;
    font-size: 13px;
}

/* TABLET */

@media (max-width: 1100px) {
    .navbar,
    section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TELEFON */

@media (max-width: 750px) {
    .navbar {
        height: auto;
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 330px;
        padding-top: 45px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-button {
        font-size: 19px;
        padding: 11px 28px;
    }

    section {
        padding: 34px 20px;
    }

    .cars-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        border-right: none;
        border-bottom: 1px solid #333;
        padding-bottom: 25px;
    }

    .service-box:last-child {
        border-bottom: none;
    }
}

/* TEKST SEO */

.seo-text {
    background: #0d0d0d;
    color: #ddd;
    padding: 42px 11%;
    border-top: 1px solid #222;
}

.seo-text h2 {
    max-width: 1050px;
    margin: 0 auto 18px;
    color: #ffc400;
    font-size: 24px;
    line-height: 1.35;
}

.seo-text p {
    max-width: 1050px;
    margin: 0 auto 14px;
    font-size: 15px;
    line-height: 1.75;
}

.seo-text a {
    color: #ffc400;
    font-weight: 600;
    text-decoration: none;
}

.seo-text a:hover {
    text-decoration: underline;
}

@media (max-width: 750px) {
    .seo-text {
        padding: 34px 20px;
    }

    .seo-text h2 {
        font-size: 21px;
    }

    .seo-text p {
        font-size: 14px;
    }
}
