/* === Navbar kao na slici === */


.navbar-custom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
}

.navbar-custom .navbar-brand img {
    max-height: 100px;
    max-width: 200px;
}



.navbar-custom .nav-link {
    color: #fff;
    margin-right: 2rem;
    /* umesto samo desne margine */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    /* veće */
    letter-spacing: 0.5px;
    /* malo više prostora među slovima */
    padding: 0.8rem 0;
    /* više visine */
}

.navbar-custom .nav-link:hover {
    color: #ddd;
}



.dropdown-auswash {
    background-color: rgba(0, 0, 0, 0.3);
    /* Crna providna pozadina */
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    backdrop-filter: blur(4px);
    /* Nežno zamućenje pozadine */
    min-width: 220px;
    animation: fadeDown 0.3s ease-in-out;
}

.dropdown-auswash .dropdown-item {
    color: #dc3545;
    /* Bootstrap danger boja */
    padding: 10px 20px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-auswash .dropdown-item:hover {
    background-color: #dc3545;
    /* Danger crvena pozadina */
    color: #fff;
    /* Beli tekst na hover */
    border-radius: 0;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Samo za mobilne uređaje */
@media (max-width: 991.98px) {
    .mobile-rounded-menu {
        background-color: rgba(23, 23, 23, 0.85);
        border-radius: 25px;
        margin: 0.5rem auto 1rem auto;
        padding: 1.5rem 1rem;
        width: 90%;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-rounded-menu .nav-item {
        width: 100%;
    }

    .mobile-rounded-menu .nav-link {
        color: #fff;
        font-size: 1.2rem;
        margin: 0.3rem 0;
        font-weight: 600;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .mobile-rounded-menu .nav-link:hover {
        color: #dc3545;
    }

    .mobile-rounded-menu .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.95);
        border-radius: 10px;
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }

    .mobile-rounded-menu .dropdown-item {
        color: #dc3545;
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .mobile-rounded-menu .dropdown-item:hover {
        background-color: #dc3545;
        color: white;
    }

    .navbar-custom {
        background-color: transparent !important;
        box-shadow: none !important;
    }
}





/* === Hero sekcija === */
.hero-section {
    position: relative;
    overflow: visible;
    /* omogućava da banner iskoči ispod */
    height: 80vh;
    min-height: 500px;
}

.hero-section .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* === Hero naslov (desktop) === */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
}

/* === Crveni banner (desktop) === */
.hero-banner {
    position: absolute;
    bottom: -25px;
    right: 0;
    width: 70%;
    padding: 2rem 4rem;
    background-color: #d0011b;
    z-index: 2;
}

.hero-banner .container {
    padding: 0;
}

/* === Mobile prilagođavanje (≤ 991.98px) === */
@media (max-width: 991.98px) {
    .hero-section {
        height: 60vh;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
        text-align: center;
        margin: 0 auto;
    }

    .hero-banner {
        position: absolute;
        bottom: -20px;
        right: 0;
        width: 75%;
        padding: 1.2rem 1rem;
        text-align: left;
    }
}









.patterned-section {
    background-color: #0d0d0d;
    background-image: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 5px);
    color: #fff;
    overflow: visible;
}




.pricing-section {
    background-color:#0d0d0d;
        background-image: repeating-linear-gradient(45deg,
                rgba(255, 255, 255, 0.02) 0,
                rgba(255, 255, 255, 0.02) 1px,
                transparent 1px,
                transparent 5px);
    overflow: hidden;
    min-height: 600px;
}

.car-bg-img {
    position: absolute;
        right: 14%;
        /* Pozicionira desnu ivicu slike auta na sredinu sekcije */
        bottom: 0;
        transform: translatey(-50px);
        /* Pomera auto ka desno – kontroliše koliko auta se vidi */
        width: 900px;
        z-index: 0;
        pointer-events: none;
}

.pricing-card {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: rgb(255, 255, 255);
    /* ili neka tvoja */
    backdrop-filter: blur(7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 110px;
    width: 510px;
        /* fiksna širina */
        height: 670px;
        /* fiksna visina (ili koliko ti treba) */
        display: flex;
            flex-direction: column;
}

.card-content {
    margin: 0 auto;
    max-width: 320px;
    /* ili koliko ti odgovara */ }

.btn-call {
    position: relative;
    display: inline-block;
    width: clamp(220px, 40vw, 300px);
    padding: clamp(1.2rem, 2.5vw, 1.4rem) clamp(2.4rem, 6vw, 4rem);
    border: none;
    border-radius: 50px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: bold;
    color: #fff;
    background-color: #DC3545;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-call::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: inherit;
    /* PRATI ZAOBLJENOST dugmeta */
    z-index: 0;
    transition: left 0.4s ease;
    pointer-events: none;
}

.btn-call:hover::before {
    left: 0;
}

.btn-call span,
.btn-call i {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-call:hover span,
.btn-call:hover i {
    color: #000;
}

@media (max-width: 768px) {
    .pricing-card {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        border-radius: 110px;
    }

    .car-bg-img {
        display: none;
    }

   
        .car-bg-img {
            display: none;
        }

      .pricing-card {
        width: 90%;   }

    }

/* 1. Sakrij sliku auta ispod 1200px i centriraj karticu */

    @media (max-width: 1199.98px) {
    
            /* sakrij sliku */
            .car-bg-img {
                display: none !important;
            }
    
            /* vertikalno složi glavne kolone */
            .pricing-section .row.justify-content-between {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
            }
    
            /* centriraj karticu */
            .pricing-card {
                margin: 50px auto;
            }
    
            /* kontakt-podaci i radno vreme ispod kartice */
            .pricing-section .contact-section {
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
                width: 100%;
            }
    
            /* kolona sa kontaktom centrirana */
            .pricing-section .col-md-6 {
                width: 100% !important;
                max-width: 600px;
                margin: 20px auto !important;
            }
    
            /* razmak između “Kontakt” i “Radno vreme” */
            .pricing-section .contact-section>div {
                margin: 1.5rem 0;
            }
        }





/* === Linija iznad === */


.footer-section i {
    display: block;
}

.footer-line-wrapper {
    background-color: #0d0d0d;
    /* isto kao footer pozadina */
    display: flex;
    justify-content: center;
}

.footer-line {
    height: 6px;
    width: 80%;
    background-color: #DC3545;
    border-radius: 5px;
    max-width: 1000px;
}

.footer-section {
    background-color: #242323;
    background-image: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 5px);
    color: #fff;

    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0 0px 0;
    /* top 60px, right/left 0, bottom 20px   crvena boja:#E60012*/
}

.text-custom-red {
    color: #DC3545;
}

.copyright-overlay-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.overlay-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(49, 48, 48, 0.2);
    /* providna siva */
    z-index: 0;
}









.go-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    z-index: 999;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.go-top img {
    width: 100px;
    /* VEĆA slika */
    transition: transform 0.3s ease;
}

.go-top:hover img {
    transform: scale(1.1);
}

.go-top-text {
    font-size: 0.55rem;
    /* MANJI tekst */
    letter-spacing: 0.5px;
    margin-top: 1px;
    opacity: 0.8;
    font-weight: 700;
}