
/* Globalni reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVIGACIJA */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #595a5e 0%, #260c3f 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .nav-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

nav .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav .nav-links li a {
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav .nav-links li a:hover {
    color: #ffd92f;
    border-bottom-color: #ffd92f;
}

/* HERO SEKCIJA */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
    background: linear-gradient(135deg, #595a5e 0%, #260c3f 100%);
    color: #ffffff;
    gap: 40px;
    min-height: 300px;
}

.hero-sadrzaj {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

.hero h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.gumb {
    display: inline-block;
    padding: 16px 40px;
    background-color: #ffd92f;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gumb:hover {
    background-color: #ffec66;
    transform: scale(1.08);
}

.hero-slika {
    flex: 0.75;
    animation: slideInRight 0.8s ease;
}

.hero-slika img {
    width: 70%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-slika img:hover {
    transform: rotate(8deg) scale(1.08);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* SEKCIJA USLUGA */
.usluge {
    padding: 80px 40px;
    background-color: #f9f9f9;
}

.usluge h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    font-weight: bold;
}

.usluge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.kartica {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.kartica:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.kartica img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.kartica:hover img {
    transform: scale(1.05);
}

.kartica h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.kartica p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 3D Transform efekt za treću karticu */
.kartica-3d {
    perspective: 1000px;
}

.kartica-3d:hover {
    transform: translateY(-12px) scale(1.05) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 30px 40px;
    background: linear-gradient(135deg, #595a5e 0%, #260c3f 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    border-top: 3px solid #ffd92f;
}

.footer p {
    margin: 0;
}

/* RESPONSIVNOST - Mobile First */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    nav .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav .nav-links li a {
        display: block;
        padding: 10px;
        text-align: center;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .hero {
        flex-direction: column;
        padding: 40px 20px;
        min-height: auto;
        gap: 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .usluge {
        padding: 50px 20px;
    }

    .usluge h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .usluge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kartica {
        padding: 20px;
    }
}

