/* --- GOLDEN BIOMETRIC DUST (IDEAL BALANCE) POZADINA --- */
#synapseCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.95;
    background-color: #010402;
}

/* SPECIFIČNI STILOVI ZA MENTOR STRANICU */
.mentor-hero {
    padding: 160px 5% 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(230, 179, 74, 0.05) 0%, transparent 70%);
    border-bottom: 1px inset rgba(230, 179, 74, 0.1);
    position: relative;
}

.mentor-profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(230, 179, 74, 0.5);
    box-shadow: 0 0 30px rgba(230, 179, 74, 0.2);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.mentor-profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(230, 179, 74, 0.4);
}

.timeline-section {
    padding: 80px 5%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 40px;
    bottom: -50px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(230, 179, 74, 0.5), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    font-family: 'Space Mono', monospace;
    color: #50fa7b;
    font-size: 14px;
    min-width: 80px;
    padding-top: 5px;
}

.timeline-node {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(2, 8, 6, 0.9);
    border: 2px solid #e6b34a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(230, 179, 74, 0.3);
    z-index: 2;
}

.timeline-node-inner {
    width: 8px;
    height: 8px;
    background: #e6b34a;
    border-radius: 50%;
}

.timeline-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(230, 179, 74, 0.1);
    backdrop-filter: blur(5px);
    width: 100%;
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-content p {
    font-family: 'Manrope', sans-serif;
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

.seo-highlight {
    color: #e6b34a;
    font-weight: 500;
}

/* Desktop navigacija i prostranost hero sekcije */
@media (min-width: 768px) {
    nav #langDropdown {
        margin-right: 30px !important;
    }

    nav {
        gap: 20px;
    }

    /* Odmicanje cele sekcije nadole kako slika ne bi sekla navigaciju */
    .mentor-hero {
        padding-top: 220px !important;
    }

    /* Odvajanje teksta i dugmeta isključivo na desktopu */
    .mentor-hero p {
        margin-bottom: 40px !important;
    }

    .mentor-hero .cta-btn {
        margin-top: 40px !important;
    }
}

/* --- KOREKCIJA ZA MOBILNE EKRANE (PROŠIRENJE TEKST BOKSOVA) --- */
@media (max-width: 768px) {
    .timeline-section {
        padding: 60px 12px;
    }

    .timeline-item {
        gap: 12px;
    }

    .timeline-year {
        min-width: 55px;
        font-size: 12px;
    }

    .timeline-content {
        padding: 18px 15px;
    }

    .timeline-content p,
    .timeline-content h3 {
        word-break: normal;
        overflow-wrap: break-word;
    }

    .system-status-badge {
        font-size: 9px !important;
        padding: 2px 4px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
    }
}

/* ============================================================
           1. THE "FROSTED PEARL" NAV & FOOTER (PURE WHITE GLASS)
           ============================================================ */
/* The Top Glass Nav */
body nav {
    background: rgba(255, 254, 254, 0.05) !important;
    /* Changed to Pure White */
    backdrop-filter: blur(12px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(110%) !important;
    border-bottom: 1px solid rgba(184, 150, 67, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Forces the button wrapper into the absolute center */
body nav .nav-center-group {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
}

/* The Bottom Glass Footer (Shortened & Compact) */
body footer {
    background: rgba(15, 15, 15, 0.5) !important;
    /* Changed to Pure White */
    backdrop-filter: blur(12px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(110%) !important;
    border-top: 1px solid rgba(184, 150, 67, 0.4) !important;
    padding: 20px 20px !important;
    position: relative;
    z-index: 10;
}

/* ============================================================
           2. THE BRAND CONSISTENCY BUTTON (GOLD GRADIENT)
           ============================================================ */
body nav .nav-center-group .app-btn-bespoke {
    background: linear-gradient(135deg, #B89643 0%, #d4b76a 50%, #9e7f32 100%) !important;
    color: #111111 !important;
    border: 1px solid rgba(184, 150, 67, 0.8) !important;
    box-shadow: 4px 4px 0px rgba(184, 150, 67, 0.25) !important;
    font-weight: 800 !important;
}

body nav .nav-center-group .app-btn-bespoke:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 6px 6px 0px rgba(184, 150, 67, 0.4) !important;
    background: linear-gradient(135deg, #d4b76a 0%, #F59E0B 50%, #d4b76a 100%) !important;
}

/* ============================================================
           3. LUMINOUS TYPOGRAPHY (BRIGHTER, CRISPER TEXT)
           ============================================================ */
.mentor-hero p,
.timeline-content p {
    color: #E8E3D9 !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
}

.timeline-content h3 {
    color: #FDFBF7 !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

.mentor-hero h1 {
    color: #FDFBF7 !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* ============================================================
           4. FOOTER AUTHORITY POP (COMPACTED)
           ============================================================ */
body footer img {
    opacity: 0.9 !important;
    transform: scale(1.1) !important;
    /* Slightly reduced so it fits the shorter footer */
    margin-bottom: 10px !important;
    /* Sliced margin in half */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15)) !important;
}

body footer p {
    color: #f1d416 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    margin: 0 !important;
    /* Kills any invisible default margins stretching the footer */
}

/* ============================================================
           5. LANGUAGE ARRAY (FROSTED PEARL UI)
           ============================================================ */
body nav .nav-center-group {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Space between the "Back" button and the languages */
}

.lang-array {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    /* Dark pill background for contrast against white glass */
    border: 1px solid rgba(184, 150, 67, 0.3);
    border-radius: 30px;
    padding: 4px 12px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lang-array-btn {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #ccc;
    text-decoration: none;
    padding: 6px 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.lang-array-btn:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* The Active Language State */
.lang-array-btn.active {
    color: #e6b34a;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(230, 179, 74, 0.6);
}

.lang-divider {
    color: #555;
    font-size: 10px;
    user-select: none;
    padding: 0 2px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    body nav .nav-center-group {
        gap: 10px;
        /* Tighter spacing on mobile */
    }

    .lang-array {
        padding: 2px 8px;
    }

    .lang-array-btn {
        font-size: 9px;
        padding: 4px 6px;
    }

    .lang-divider {
        font-size: 8px;
    }
}