/* ==========================================================================
   RESET I BAZA
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #231F20;
    background-color: #ffffff;
    line-height: 1.45;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

/* TYPOGRAPHY (Miriam Libre) */
h1, h2, h3, .main-menu a, .fond-number, .lang-selector, .ifdt-info, .footer-column h4, .footer-about-col h3 {
    font-family: 'Miriam Libre', sans-serif;
}

/* ==========================================================================
   HEADER (Ažuriran: Smanjen font i maksimalno guranje menija udesno)
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    width: 100%;
}

.top-bar {
    border-bottom: 1px solid #231F20;
    padding: 2px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ifdt-info {
    font-size: 13px;
    font-weight: 400;
    color: #231F20;
}

.lang-selector {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-selector a {
    text-decoration: none;
    color: #231F20;
}

.lang-selector a.active {
    color: #D1242A;
}

.lang-separator {
    color: #231F20;
    margin: 0 4px;
    opacity: 0.5;
}

.header-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 0px;
    width: 100%;
    gap: 100px;
}

.logo {
    flex-shrink: 0; /* Sprečava skupljanje logotipa */
}

.logo img {
    height: 35px;
    display: block;       /* Ovo ostavi */
    margin: 0 auto 8px;   /* Ovde je trik: gore=0, levo/desno=auto, dole=8px */
}

.main-menu {
    flex-grow: 1; /* Dozvoljava meniju da koristi sav prostor desno */
    display: flex;
    justify-content: flex-end; /* Gura navigaciju uz desnu ivicu ekrana */
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 22px; /* Smanjen razmak između stavki da sve stane komotno */
}

.main-menu ul li a {
    text-decoration: none;
    color: #231F20;
    font-weight: 700;
    font-size: 13px; /* Smanjen font sa 15px na 13px za stabilan raspored */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-top: 20px; /* Podesi ovu vrednost dok ne legne gde želiš */
    margin-bottom: 0;
    white-space: nowrap; /* Sprečava da dugačke stavke skaču u novi red */
}

.main-menu ul li a.active {
    color: #D1242A;
}

/* --- BRUTALISTIČKI DROPDOWN - CELOKUPAN BLOK --- */

/* 1. Pozicioniranje kontejnera */
.main-menu li.has-dropdown {
    position: relative;
}

/* 2. Meni kontejner */
.main-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
    border: 1px solid #231F20;
    list-style: none;
    width: max-content;
    z-index: 999;
    margin-top: 0 !important; /* Ovde smo sklonili -1px da ne pravi duple ivice */
}

/* 3. Hover trigger */
.main-menu li.has-dropdown:hover .dropdown-menu {
    display: block !important;
}

/* 4. Stavke liste */
.main-menu .dropdown-menu li {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. Linkovi - ovde definišemo visinu i čistoću */
.main-menu .dropdown-menu li a {
    display: block;
    padding: 8px 15px; 
    color: #231F20 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    background-color: #ffffff;
    border: none;
    margin: 0 !important;
    line-height: 1.2; /* Minimalni prored */
}

/* 6. Hover efekat */
.main-menu .dropdown-menu li a:hover {
    background-color: #231F20 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   HERO SEKCIJA
   ========================================================================== */
.hero-section {
    display: flex;
    height: 460px;
    background-color: #D1242A;
}

.hero-image {
    width: 50%;
    background: url('../img/crno-bela-slika.jpg') no-repeat center center;
    background-size: cover;
}

.hero-content {
    width: 50%;
    background-color: #D1242A;
    color: #ffffff;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-family: 'Miriam Libre', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-top: -10px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 480px;
    opacity: 0.9;
}

/* ==========================================================================
   FONDOVI I ZBIRKE
   ========================================================================== */
.fondovi-section {
    padding: 80px 0;
}

.fondovi-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.fondovi-section > p {
    font-size: 17px;
    line-height: 1.5;
    max-width: 630px;
    margin-bottom: 45px;
}

.fond-row {
    display: flex;
    border-top: 2px solid #231F20;
    padding: 18px 0;
    align-items: center;
}

.fond-row:last-child {
    border-bottom: 2px solid #231F20;
}

.fond-number {
    font-size: 28px;
    font-weight: 700;
    width: 8%;
}

.fond-title {
    font-size: 24px;
    font-weight: 700;
    width: 42%;
}

.fond-title a {
    color: #231F20;
    text-decoration: none;
}

.fond-desc {
    width: 50%;
    font-size: 15px;
    line-height: 1.45;
    color: #231F20;
}

/* ==========================================================================
   AKTUELNOSTI
   ========================================================================== */
.aktuelnosti-section {
    background-color: #D1242A;
    color: #ffffff;
    padding: 60px 0 80px 0;
}

.aktuelnosti-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.aktuelnosti-header h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.all-news-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Miriam Libre', sans-serif;
    font-weight: 400;
    font-size: 17px;
}

.aktuelnosti-grid {
    display: flex;
    gap: 40px;
}

.aktuelnosti-card {
    width: 33.33%;
    border-top: 1px solid #ffffff;
    padding-top: 20px;
}

.news-date {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.aktuelnosti-card h3 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 15px;
    font-weight: 700;
}

.aktuelnosti-card p {
    font-size: 16px;
    line-height: 1.45;
    opacity: 0.95;
    margin-bottom: 20px;
}

.read-more {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
    display: inline-block;
}

.arrow-icon {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    line-height: 1;
}

/* ==========================================================================
   KAKO SE KORISTI ARHIV
   ========================================================================== */
.koriscenje-section {
    padding: 60px 0 90px 0;
}

.koriscenje-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.koriscenje-grid {
    display: flex;
    gap: 30px;
}

.koriscenje-card {
    width: 25%;
    border-top: 1px solid #231F20;
    border-bottom: 1px solid #231F20;
    padding: 20px 0 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.koriscenje-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.koriscenje-card p {
    font-size: 14px;
    color: #231F20;
    line-height: 1.4;
}

.koriscenje-card .arrow-link {
    font-size: 32px;
    font-weight: 400;
    color: #231F20;
    text-decoration: none;
    display: block;
    line-height: 1;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

/* ==========================================================================
   DONJI POZIV
   ========================================================================== */
.poziv-wrapper {
    width: 100%;
    border-top: 1px solid #231F20;
    border-bottom: 1px solid #231F20;
    background-color: #ffffff;
}

.poziv-section {
    display: flex;
    align-items: center; /* Poravnava sliku i tekst vertikalno po sredini */
    justify-content: space-between;
}

.poziv-image {
    flex: 0 0 40%;  /* Fiksna širina 40% */
    background-image: url('../img/donja-slika.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* Ovo je ključ: "prikaži celu sliku" */
    width: 100%;
    height: 500px; /* Ili visina koju želiš */
}

.poziv-content {
    width: 50%;
}

.poziv-content h2 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.poziv-content p {
    font-size: 15px;
    line-height: 1.45;
    color: #231F20;
    margin-bottom: 20px;
    max-width: 540px;
}

.poziv-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #231F20;
    color: #231F20;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
    margin-top: 15px;
    text-transform: uppercase;
}

/* ==========================================================================
   FOOTER (Maksimalno zbijene stavke i čisto beli tekst na dnu)
   ========================================================================== */
.site-footer {
    background-color: #231F20;
    color: #ffffff;
    padding: 70px 0 0 0;
}

/* Gornji deo: Logo i Opis */
.footer-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo-col {
    width: 40%;
}

.footer-logo {
    height: 42px;
    display: block;
}

.footer-about-col {
    width: 50%;
}

.footer-about-col h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-about-col p {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 12px;
    max-width: 580px;
}

.footer-about-col p:last-child {
    margin-bottom: 0;
}

/* Srednji deo: Kolone sa linkovima */
.footer-links-flex {
    display: flex;
    justify-content: flex-start;
    gap: 180px;
    margin-bottom: 60px;
}

.footer-column {
    width: auto;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px; /* Smanjen razmak od naslova do prve stavke */
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 4px; /* Zbijene stavke menija, jedna tik ispod druge */
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.3;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-column .contact-item {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.85;
    margin-bottom: 4px; /* Zbijene kontakt informacije */
    line-height: 1.3;
}

.footer-column .contact-item a {
    color: #ffffff;
    text-decoration: none;
}

/* Najdonji deo: Linija i Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: flex-start;
}

.footer-bottom p {
    font-size: 12px;
    color: #ffffff; /* Čisto bela boja fonta za maksimalnu vidljivost */
    opacity: 1;       /* Uklonjena providnost */
    letter-spacing: 0.2px;
}