
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f8f9fa;
    color: #212529;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Univerzalna Animacija --- */
@keyframes ulazak {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}


header {
    background: #1e3a5f;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
}

nav h2 {
    color: #FFC857;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 1.3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #FFC857;
}


.hero-sekcija {
    height: 70vh;
    background: linear-gradient(135deg, #1e3a5f 0%, #2980b9 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    animation: ulazak 0.8s ease-out;
}

.hero-sekcija h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-sekcija p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}


.flex-sekcija {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.kartica {
    background: white;
    padding: 40px;
    width: 280px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-weight: 700;
    color: #1e3a5f;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 5px solid #FFC857;
    animation: ulazak 1s ease-out 0.2s backwards;
}

.kartica:hover {
    transform: perspective(800px) rotateY(15deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


.galerija {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.slika {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.5s;
    filter: brightness(0.9);
}

.slika:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}


.opis-posla, .put-do-dizajnera, .alati {
    max-width: 850px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.naslov-sekcije {
    color: #1e3a5f;
    margin-bottom: 20px;
    font-weight: 800;
    border-left: 6px solid #FFC857;
    padding-left: 15px;
}


.hamburger-gumb {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


footer {
    background: #1e3a5f;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
}


@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        background: #1e3a5f;
        width: 100%;
        padding: 20px;
    }
    nav ul.active { display: flex; }
    .hamburger-gumb { display: block; }
}