
/* ======================================================
   OLIVELEPHANT — ZLATNI HLADNI V5
   Dark winter / frozen glass / gold accents
====================================================== */


/* ==========================================
   OLIVELEPHANT — ORIGINALNA BOJA NAVBARA
   Tamna maslinastozelena kao footer
   Snijeg i ledenice ostaju netaknuti
========================================== */

header {
    background: #10170f !important;
    border-bottom: 1px solid rgba(194, 163, 107, 0.25) !important;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.25) !important;
}


/* Uklanjanje starih ukrasa preko cijelog headera */
header::before,
header::after {
    content: none !important;
    display: none !important;
}

/* GLAVNA NAVIGACIJA */
header nav {
    position: relative;
    overflow: visible !important;
}

/* ZALEĐENA DUGMAD */
header nav > a,
header nav > .dropdown > a,
header nav > .dropdown > .nav-drop {
    position: relative !important;
    isolation: isolate;
    overflow: visible !important;

    color: #e9e9e3 !important;

    border: 1px solid rgba(178, 209, 218, 0.65) !important;
    border-radius: 999px !important;

    background:
        linear-gradient(
            165deg,
            rgba(166, 199, 205, 0.16) 0%,
            rgba(32, 55, 58, 0.3) 25%,
            rgba(8, 19, 21, 0.92) 65%,
            rgba(27, 47, 49, 0.75) 100%
        ) !important;

    box-shadow:
        inset 0 2px 2px rgba(234, 247, 250, 0.4),
        inset 0 -2px 5px rgba(120, 177, 195, 0.22),
        0 0 10px rgba(158, 201, 218, 0.15),
        0 5px 14px rgba(0, 0, 0, 0.4) !important;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* SNIJEG NA VRHU DUGMADI */
header nav > a::before,
header nav > .dropdown > a::before,
header nav > .dropdown > .nav-drop::before {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    left: 7% !important;
    right: 7% !important;
    top: -6px !important;
    height: 11px !important;

    z-index: 3;
    pointer-events: none;

    background:
        radial-gradient(ellipse at 13% 65%, #fff 0 33%, transparent 67%),
        radial-gradient(ellipse at 34% 40%, #f8fdff 0 39%, transparent 70%),
        radial-gradient(ellipse at 62% 58%, #fff 0 42%, transparent 75%),
        radial-gradient(ellipse at 85% 65%, #e6f7ff 0 35%, transparent 70%),
        linear-gradient(to bottom, #f7fcff, #b4dce9 75%, transparent) !important;

    border-radius: 48% 53% 34% 45% / 65% 70% 25% 25%;

    filter: drop-shadow(0 2px 2px rgba(167, 220, 241, 0.35));
}

/* PRIRODNE LEDENICE — ISTI OBLIK I BOJA */
header nav > a::after,
header nav > .dropdown > a::after,
header nav > .dropdown > .nav-drop::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    left: 7% !important;
    right: 7% !important;
    top: calc(100% - 2px) !important;
    height: 28px !important;

    z-index: 3;
    pointer-events: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 45' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='i' x1='0' y1='0' x2='.25' y2='1'%3E%3Cstop stop-color='%23f5fdff' stop-opacity='.92'/%3E%3Cstop offset='.3' stop-color='%23a5d6e9' stop-opacity='.72'/%3E%3Cstop offset='.75' stop-color='%236db2ce' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23e5faff' stop-opacity='.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23i)' stroke='%23d5f4ff' stroke-opacity='.5' d='M0 0 Q22 3 38 2 Q43 3 45 10 Q47 21 48 41 Q50 44 51 37 L55 12 Q57 3 65 3 L88 2 Q94 3 96 10 L100 24 Q102 28 104 21 L107 9 Q110 3 117 3 L143 2 Q148 3 150 10 L153 36 Q155 42 157 35 L162 12 Q165 3 173 3 L195 2 Q200 3 202 10 L205 22 Q207 26 209 19 L212 9 Q215 3 221 3 L237 2 Q243 3 245 11 L249 39 Q251 44 253 36 L257 7 L260 2 Z'/%3E%3Cpath fill='none' stroke='white' stroke-opacity='.72' stroke-width='1.5' d='M48 8 Q49 19 49 34 M154 8 L155 33 M250 9 L251 33 M101 8 L102 20 M206 8 L207 18'/%3E%3C/svg%3E") !important;

    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;

    filter: drop-shadow(0 2px 3px rgba(132, 211, 242, 0.35));
}

/* AKTIVNA KATEGORIJA — ZLATNI SJAJ */
header nav > a[aria-current="page"],
header nav > a.winter-active,
header nav > .dropdown > a[aria-current="page"] {
    color: #f7dba4 !important;

    border-color: #e2ba76 !important;

    background:
        linear-gradient(
            165deg,
            rgba(147, 100, 39, 0.3),
            rgba(15, 25, 25, 0.93) 55%,
            rgba(114, 76, 31, 0.24)
        ) !important;

    box-shadow:
        inset 0 1px 3px rgba(255, 228, 176, 0.48),
        0 0 18px rgba(235, 175, 87, 0.4),
        0 5px 14px rgba(0, 0, 0, 0.4) !important;
}

/* HOVER EFEKAT */
header nav > a:hover,
header nav > .dropdown > a:hover,
header nav > .dropdown > .nav-drop:hover {
    transform: translateY(-2px) !important;

    border-color: rgba(239, 250, 253, 0.95) !important;

    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.4),
        0 0 19px rgba(160, 209, 225, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

/* RAZMAK ZA LEDENICE */
@media (min-width: 769px) {
    header nav {
        padding-top: 9px !important;
        padding-bottom: 28px !important;
        row-gap: 28px !important;
    }
}

/* JEZICI — ZLATNI DETALJI */
header .lang-btn,
header .lang-switch button,
header .language-switch button {
    border-color: rgba(210, 176, 113, 0.5);
}

/* SNIJEG PADA I PREKO NAVIGACIJE */
#oliv-snow-canvas {
    z-index: 2147483640 !important;
    pointer-events: none !important;
}

/* MOBILNA VERZIJA */
@media (max-width: 768px) {
    header nav > a,
    header nav > .dropdown > a,
    header nav > .dropdown > .nav-drop {
        border-radius: 12px !important;
        margin-bottom: 9px !important;
    }

    header nav > a::before,
    header nav > .dropdown > a::before,
    header nav > .dropdown > .nav-drop::before {
        top: -4px !important;
        height: 8px !important;
    }

    header nav > a::after,
    header nav > .dropdown > a::after,
    header nav > .dropdown > .nav-drop::after {
        height: 13px !important;
    }

    header nav {
        row-gap: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    header nav > a,
    header nav > .dropdown > a,
    header nav > .dropdown > .nav-drop {
        transition: none !important;
    }
}
