:root {
    --color-bg: #121212;
    --color-text: #ffffff;
    --color-primary: #e0e0e0;
    --color-overlay: rgba(0, 0, 0, 0.3);
    --font-main: 'Montserrat', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    padding: 0 var(--spacing-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: left;
}

.social-icon-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.hero__socials .social-icon-link img {
    width: 60px;
    height: 60px;
}

.social-icon-link:hover img {
    transform: scale(1.1);
}

.hero {
    height: 90vh;
    min-height: 500px;
    background-color: #000000;
    background-image: url('images/car6.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-md);
    height: 90%;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 2rem;
}

.hero__bottom-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.hero__title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #ffffff;
    padding: 0 1rem;
    padding: 0 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.brand-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

.brand-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.8));
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.brand-icon {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.8));
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: normal;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.s ease;
    gap: 10px;
}

.hero__btn {
    background-color: #DA1F18;
    width: 100%;
    max-width: 360px;
    height: 49px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    overflow: hidden;

    box-shadow: 0 0 15px rgba(218, 31, 24, 0.6),
        0 0 35px rgba(218, 31, 24, 0.4),
        0 0 55px rgba(218, 31, 24, 0.2);
    transition: box-shadow 0.3s ease;
}

.btn:hover {
    box-shadow:
        0 0 35px rgba(218, 31, 24, 1),
        0 0 70px rgba(218, 31, 24, 0.8),
        0 0 110px rgba(218, 31, 24, 0.6),
        0 0 160px rgba(218, 31, 24, 0.4);
}


.section {
    padding: var(--spacing-lg) 0;
}

.section__title {
    color: var(--color-primary);
    font-weight: bold;
}

.services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url('images/new_kia.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
}

.services__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    transform: scale(1.8);
    filter: invert(32%) sepia(86%) saturate(7480%) hue-rotate(1deg) brightness(100%) contrast(120%);
}

.services-card {
    height: 660px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.services-card .text-block {
    flex-grow: 1;
    overflow-y: auto;
}


.advantages {
    background-color: #000000;
    color: #ffffff;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.advantages__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    width: 100%;
}

.advantage__item {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 0.5rem;
}

.advantage__title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.advantage__desc {
    font-size: 0.85rem;
    color: #e0e0e0;
}

.contact__container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__address {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: #cccccc;
}

.contact__map iframe {
    width: 100%;
    border-radius: 8px;
    filter: invert(90%) hue-rotate(180deg);
}

.footer {
    background-color: #000000;
    border-top: 1px solid #222;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.footer-logo img {
    mix-blend-mode: screen;
}

@media (min-width: 768px) {
    .header {
        padding: var(--spacing-md) 0;
    }

    .hero__title {
        font-size: 3rem;
    }

    .advantages__container {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }

    .advantage__item {
        flex: 1;
    }

    .contact__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .contact__info,
    .contact__map {
        flex: 1;
    }
}