/* Reset osnovnih stilova */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: white;
    background: #000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0a500;
}

/* Blog Post Sekcija */
.blog-post {
    position: relative;
    height: 100vh;
    background: url('images/construction-background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: left;
    flex: 1; /* Omogućava da sadržaj raste i gura footer prema dolje */
    padding-bottom: 40px; /* Dodatni razmak između sadržaja i footera */
}

.blog-post .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.blog-post .content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #f0a500;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.blog-post .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-post article h2 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #f0a500;
}

.blog-post article p {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.9rem;
}


/* Responsive Design za mobilne uređaje */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .blog-post {
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .blog-post .content {
        padding: 20px;
        max-width: 100%;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .blog-post .subtitle {
        font-size: 1rem;
    }

    .blog-post article h2 {
        font-size: 1.5rem;
    }

    .blog-post article p {
        font-size: 0.9rem;
    }
}

