* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f1f1;
    line-height: 1.6;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #6509737f;
    color: rgb(180, 173, 173);
}

.nav-logo {
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f6baea65;
}


.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px;
    background: linear-gradient(120deg, #70087069, #9734912d);
    color: white;
}

.hero-sadrzaj {
    max-width: 500px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.hero-slika img {
    width: 420px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: bottom right;
}

.hero-slika img:hover {
    transform: translateY(-8px) rotate(4deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gumb {
    display: inline-block;
    background: #f8fdff;
    color: black;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gumb:hover {
    transform: scale(1.08);
    background: #e453fe00;
}


.kartica {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kartica img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.kartica:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.kartica-3d:hover {
    transform: translateY(-10px) rotateY(10deg) scale(1.05);
}


.usluge {
    padding: 60px 40px;
    text-align: center;
    background: white;
}

.usluge h2 {
    margin-bottom: 40px;
}

.usluge-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}


.footer {
    background: #6509737f;
    padding: 20px;
    margin-top: 40px;
    color: white;
    text-align: center;
}


@media (max-width:768px) {

    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-slika img {
        width: 100%;
    }

    .usluge-grid {
        grid-template-columns: 1fr;
    }

}