* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('kukus.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: orange;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: orange;
}

.hero-content {
    text-align: center;
    margin: auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,140,0,0.8);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}


.glavni h2,
.sadrzaj h2 {
    text-align: center;
    margin-bottom: 25px;
    color: orange;
    font-size: 2.2rem;
}

.glavni p,
.sadrzaj p {
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

img {
    width: 50%;
    border-radius: 20px;
    margin-top: 30px;
    transition: 0.4s;
}

img:hover {
    transform: scale(1.02);
}

.kartice {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.kartica {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    backdrop-filter: blur(6px);
}

.kartica:hover {
    transform: translateY(-10px);
    background: rgba(255,140,0,0.2);
}

.kartica h3 {
    margin-bottom: 15px;
    color: orange;
}



footer {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.7);
    margin-top: 50px;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .glavni,
    .sadrzaj {
        margin: 30px 15px;
        padding: 25px;
    }
}