/* Navbar */
.navbar {
    width: 100%;
    background: #D4BFAA;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 2px;
}
/* Stil za logo u mobilnom meniju */
/* Logo mobilni */
.logo-mobile img {
    display: none; /* sakriveno na desktopu */
    width: 40px;
    height: auto;
    margin: 0 auto;
}

/* Prikaz na tablet/mobilnom */
@media (max-width: 900px) {
    .logo-mobile img {
        display: block;
    }
}



/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #D4BFAA;
        width: 100%;
        transition: left 0.3s ease;
        padding: 1rem 0;
    }
    .nav-links li {
        text-align: center;
        margin: 0.5rem 0;
    }
    .nav-links.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
}
/* Hamburger linije */
.hamburger span {
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger transformacija u X kada je aktivan */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Desktop stilovi */
@media (min-width: 901px) {
    .nav-container {
        display: flex;
        justify-content: center; /* centriramo linkove */
        align-items: center;
        gap: 2rem;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .hamburger {
        display: none; /* skriven na desktopu */
    }

    /* Ako želiš da logo bude sa leve strane, možemo staviti flex i logo */
    .logo-desktop {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
}
