/* === Navbar === */
.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;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    padding: 0.8rem 0;
}

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

/* Dropdown menu */
.dropdown-auswash {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    backdrop-filter: blur(4px);
    min-width: 220px;
    animation: fadeDown 0.3s ease-in-out;
}

.dropdown-auswash .dropdown-item {
    color: #dc3545;
    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;
    color: #fff;
    border-radius: 0;
}

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

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

/* Mobile navbar */
@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 section === */
.hero-section {
    position: relative;
    overflow: visible;
    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;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

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

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

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

@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 {
        bottom: -20px;
        width: 75%;
        padding: 1.2rem 1rem;
        text-align: left;
    }
}

/* === Pricing section === */
.pricing-section {
    position: relative;
    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%;
    bottom: 0;
    transform: translateY(-50px);
    width: 900px;
    z-index: 0;
    pointer-events: none;
}

.pricing-card {
    position: relative;
    z-index: 2;
    margin: 50px 0;
    background-color: #fff;
    backdrop-filter: blur(7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 110px;
    width: 510px;
    height: 790px;
    display: flex;
    flex-direction: column;
}

.card-content {
    margin: 0 auto;
    max-width: 320px;
}

.pricing-card .card-content ul {
    column-count: 2;
    column-gap: 2rem;
}

.pricing-card .card-content ul li {
    margin-bottom: 0.75rem;
}

/* Button styling */
.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;
    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;
}



/* Mobile adjustments ≤768px */
@media (max-width: 768px) {
    .pricing-card {
        margin: 50px auto;
        width: 90%;
        border-radius: 110px;
    }
}

@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;
    }
}


/* === Footer === */
.footer-section i {
    display: block;
}

.footer-line-wrapper {
    background-color: #0d0d0d;
    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 0 0;
}

.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);
    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;
    transition: transform 0.3s ease;
}

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

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