* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: "Inconsolata", sans-serif;
    line-height: 1.65;
    color: #333;
}

/* ==================== NAVIGACIJA ==================== */
.w3-top {
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0;
}

.w3-top .w3-row {
    background-color: #000000 !important;
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.nav-btn {
    padding: 20px 12px !important;
    font-size: 1.12rem !important;
    font-weight: 500;
    color: #ffffff !important;
    min-height: 68px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none !important;
}

.nav-btn:hover {
    background-color: #333333 !important;
}

/* Aktivna stranica */
.current-page,
.w3-button[aria-current="page"] {
    background-color: #222222 !important;
    color: #ffffff !important;
    border-bottom: 4px solid #ddd !important;
}

/* ==================== OPĆE - POVEĆANI TEKST ==================== */
.w3-tag {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    font-size: 1.12rem;
}

.content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.18rem;           /* POVEĆANO */
    line-height: 1.75;
}

.content p {
    margin-bottom: 1.45em;
}

.content h3 {
    font-size: 1.85rem;           /* POVEĆANO */
    margin: 55px 0 30px 0;
    color: #111;
}

.content h5 {
    font-size: 1.48rem;           /* POVEĆANO */
}

/* Slike */
.w3-image {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 30px 0;
}

/* ==================== POČETNA STRANICA ==================== */
.bgimg {
    background-position: center;
    background-size: cover;
    background-image: url("auto1.avif");
    min-height: 85vh;
    position: relative;
}

.bgimg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 4px 4px 15px rgba(0,0,0,0.9);
    width: 90%;
    z-index: 2;
}

.banner-text h1 {
    font-size: 4.4rem;
    margin: 0;
    line-height: 1.1;
}

.banner-text p {
    font-size: 1.72rem;
    margin-top: 14px;
}

/* ==================== TIMELINE (lenta.html) ==================== */
.cd-main-header {
    background: linear-gradient(#1a1a1a, #0a0a0a);   
    color: white;
    padding: 140px 20px 100px;
    margin: 52px 0 40px;
    text-align: center;
}

.cd-timeline__content {
    background-color: #f8f8f8;
    border-left: 7px solid #000000;
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.cd-timeline__date {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.15rem;
    display: inline-block;
}

.cd-timeline__content h2 {
    color: #111;
    font-size: 1.95rem;
    margin-bottom: 14px;
}

/* ==================== RESPONSIVNOST ==================== */
@media (max-width: 768px) {
    .nav-btn {
        font-size: 1.0rem !important;
        padding: 16px 8px !important;
        min-height: 62px;
    }
    
    .banner-text h1 {
        font-size: 3.1rem;
    }
    
    .banner-text p {
        font-size: 1.45rem;
    }
    
    .content {
        font-size: 1.12rem;
    }
    
    .content h3 {
        font-size: 1.65rem;
    }
    
    .cd-main-header h1 {
        font-size: 2.9rem;
    }
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #000;
    color: #ddd;
    text-align: center;
    padding: 48px 20px;
    font-size: 1.12rem;
}

footer strong {
    color: #fff;
}