

.hero-header {
    position: relative;
    text-align: left;
    background-color: #1C3F33;
}
.logo {
    max-height: 220px;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
}
.header-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}
section {
    padding: 40px 20px;
}
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.footer-contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto 30px auto;
}
.footer-contact input,
.footer-contact textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
}
.footer-contact button {
    background-color: #1C3F33;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}
.contact-icons-svg {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.header-text-overlay h1 {
    font-size: 32px;
    margin-bottom: 10px;
}
.header-text-overlay p {
    font-size: 18px;
    margin: 0;
}
.hero-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.header-text-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    max-width: 90%;
    padding: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.header-text-overlay h1 {
    font-size: 26px;
    margin-bottom: 8px;
}
.header-text-overlay p {
    font-size: 16px;
    margin: 0;
}

/* Sekcije - stilizacija */
section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    font-size: 18px;
    line-height: 1.6;
}



section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1C3F33;
}

section 

section ul 

section 

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 16px;
        font-size: 16px;
    }
}

.fact-box {
    background-color: #e9f2f4;
    padding: 40px 20px;
    text-align: center;
}


.facts strong {
    font-size: 26px;
    color: #1C3F33;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.language-selector select {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
}

.language-flags {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.language-flags img {
    width: 32px;
    height: auto;
    margin-left: 8px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Naizmenične pozadine */


/* Osnovna struktura sekcija */
section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    font-size: 18px;
    line-height: 1.7;
    animation: fadeIn 1s ease-in;
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #003049;
    border-left: 6px solid #1C3F33;
    padding-left: 12px;
}

/* Quote box */
.quote-box {
    background: #e0f7fa;
    border-left: 6px solid #1C3F33;
    padding: 30px 20px;
    font-size: 22px;
    font-style: italic;
    color: #004d40;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
    border-radius: 8px;
}

/* Fade in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fakt box mobilna prilagodba */


/* Mobilna prilagodba */
@media (max-width: 768px) {
    section {
        padding: 40px 16px;
        font-size: 16px;
    }

    section h2 {
        font-size: 22px;
    }

    .quote-box {
        font-size: 18px;
        padding: 20px 16px;
    }
}





nav {
    position: sticky;
    top: 0;
    background: white;
    z-index: 999;
    border-bottom: 1px solid #ccc;
    padding: 10px 20px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    color: #004d40;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
}

.card {
    flex: 1 1 260px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card h3 {
    margin-top: 0;
    font-size: 20px;
    color: #003049;
}

.timeline {
    border-left: 4px solid #1C3F33;
    margin-left: 20px;
    padding-left: 20px;
    margin-top: 40px;
}
.timeline-item {
    margin-bottom: 20px;
}
.timeline-item h4 {
    margin: 0;
    font-size: 18px;
    color: #1C3F33;
}
.timeline-item p {
    margin: 5px 0 0;
}

.facts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
    flex-direction: row;
    text-align: center;
}

.facts div {
    font-size: 20px;
    color: #1C3F33;
    flex: 0 1 auto;
}

.facts strong {
    font-size: 26px;
    color: #1C3F33;
}

@media (max-width: 768px) {
    .facts {
        flex-direction: row;
        gap: 20px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background-color: #1C3F33;
}

.site-logo {
    height: 50px;
}

.hamburger-nav {
    position: relative;
}

.menu-icon {
    font-size: 28px;
    color: white;
    cursor: pointer;
    display: block;
}

.menu {
    display: none;
    flex-direction: column;
    background: #1C3F33;
    position: absolute;
    top: 48px;
    right: 0;
    min-width: 160px;
    z-index: 999;
    padding: 10px 0;
}

.menu 

.menu li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.menu li a:hover {
    background: #1C3F33;
}

#menu-toggle:checked + .menu-icon + .menu {
    display: flex;
}

@media (min-width: 768px) {
    .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
    }

    .menu-icon {
        display: none;
    }

    .menu li a {
        color: white;
    }
}

.partner-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.partner-card {
    width: 150px;
    height: 100px;
    border: 1px solid #ccc;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}



body {
    background-color: #f5f7fa;
    background-image: url('logo_watermark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    opacity: 1;
}

ul, ol {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

ul li, ol li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 10px;
}

ul li::before, ol li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: #1C3F33;
    font-size: 18px;
    line-height: 1.4;
}

/* Zlatno-zelena paleta */
:root {
    --gold: #D4AF37;
    --gold-dark: #BFA046;
    --green-dark: #1C3F33;
    --green-light: #A6C48A;
}

/* Naslovi */
h1, h2, h3 {
    color: var(--green-dark);
}

/* Dugmad */
button, .btn, input[type="submit"] {
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    background-color: var(--gold-dark);
}

/* Linkovi */
a {
    color: var(--green-dark);
    text-decoration: none;
}

a:hover {
    color: var(--gold);
}

/* List bullets (–) */
ul li::before {
    color: var(--gold);
}

/* Partner kartice border */
.partner-card {
    border: 2px solid var(--gold);
}

/* Timeline linije i oznake */
.timeline:before {
    background-color: var(--gold);
}

.timeline-step {
    background-color: var(--green-light);
    color: var(--green-dark);
}

/* Stil za tekst u headeru - ostaje beo */
.header-text {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


/* AOS fallback styling */
[data-aos] {
    opacity: 1;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: ease-out;
}


/* === Header text animation === */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-overlay h1 {
  animation: fadeSlideUp 1s ease-out forwards;
  opacity: 0;
}

.header-overlay p {
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.watermark-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('logo_watermark.png');
    background-repeat: repeat;
    background-size: 300px;
    background-position: center;
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
}
.sticky-nav {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 999;
}

.top-menu {
    position: fixed;
    top: 20px;
    right: 120px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    text-decoration: none;
    color: #1C3F33;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-links li a:hover {
    color: #4CAF50;
}

body {
    background-color: #f9f9f9;
}
.top-menu {
    background-color: rgba(255, 255, 255, 0.65);
}

.footer-contact {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

.footer-contact {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive dizajn za uređaje do 768px širine */
@media (max-width: 768px) {
    .top-menu {
        position: static;
        text-align: center;
        padding: 15px 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links li a {
        font-size: 18px;
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-section > div {
        margin: 15px 0 !important;
        width: 100% !important;
    }

    header img,
    .logo {
        max-width: 150px !important;
        height: auto;
    }

    .hero-header {
        text-align: center;
        padding: 20px;
    }

    .footer-contact form {
        width: 100% !important;
    }

    body {
        padding: 0 10px;
    }
}
