/* -------------------------------------------------------
   HERO – POZADINSKA SLIKA
-------------------------------------------------------- */
.hero {
    background: url('/hero.jpg') center/cover no-repeat !important;
    position: relative;

    /* MANJE, DA SE LOGO I TEKST PODIGNU GORE */
    padding-top: 360px;
    padding-bottom: 180px;

    text-align: center;
    z-index: 1;
}

/* LOGO – BEZ VELIKOG SPUŠTANJA */
.hero-logo-box {
    margin-top: 30px;   /* možeš staviti i 0px ako želiš još gore */
}

/* -------------------------------------------------------
   NEWS OVERLAY – SUŽEN, CENTRIRAN, TRANSPARENTAN
-------------------------------------------------------- */
.news-overlay {
    position: absolute;
    top: 20px;               /* overlay tik ispod menija */
    left: 50%;
    transform: translateX(-50%);

    width: 760px;
    max-width: 92%;

    padding: 22px 28px;

    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.30);

    z-index: 10;
}

/* Naslov – centriran + bijeli */
.news-overlay h3 {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

/* -------------------------------------------------------
   NEWS CARDS – 3 KARTICE U JEDNOM REDU
-------------------------------------------------------- */
.news-cards {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: stretch;
    gap: 18px;

    overflow: hidden;
}

.news-card {
    display: block;
    width: 230px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.news-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.news-info {
    padding: 12px;
}

.news-date {
    font-size: 12px;
    color: #666;
}

.news-info h4 {
    font-size: 15px;
    margin-top: 6px;
    line-height: 1.3;
}

/* -------------------------------------------------------
   RESPONSIVE – MOBITEL
-------------------------------------------------------- */
@media (max-width: 768px) {

    .hero {
        padding-top: 420px;
        padding-bottom: 140px;
    }

    .hero-logo-box {
        margin-top: 20px;
    }

    .news-overlay {
        width: 94%;
        padding: 20px 22px;
        top: 30px;
    }

    .news-cards {
        overflow-x: auto;
        gap: 18px;
    }

    .news-card {
        min-width: 220px;
        max-width: 220px;
    }

    .news-card img {
        height: 130px;
    }

    .news-info h4 {
        font-size: 15px;
    }
}
.hero-inner {
    margin-top: -50px;   /* podiže tekst ispod loga */
}
/* SAKRIJ OVERLAY NA MOBITELU */
@media (max-width: 768px) {
    .news-overlay {
        display: none;
    }
}
