/* ==========================================
   1. CSS RESET & BASE (ELEMENTOR SAFE)
========================================== */

html { scroll-behavior: smooth; }

body {
    background: #121218;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    padding-top: 0;
}





/* ==========================================
   2. TYPOGRAPHY
========================================== */
h1 { font-size: 2.2rem; font-weight: 100; line-height: 1.2; }
h2 { font-size: 1.2rem; font-weight: 100; line-height: 1.3; }
p { font-size: 0.7rem; line-height: 1.6; }
strong{font-weight: 700; }
@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.1rem; }
    p { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.2rem; }
    h2 { font-size: 0.9rem; }
    p { font-size: 0.7rem; }
}


/* ==========================================
   3. CSS VARIABLES
========================================== */
:root {
    --color-primary: #ff6b35;
    --color-primary-dark: #e55a2b;
    --color-primary-light: #ff8c42;
    --color-green: #6be764;
    --color-yellow: #f8d548;
    --color-blue: #3579e6;
    --color-pink: #eb55ab;
    --color-text: #ffffff;
    --color-text-dark: #131313;
    --color-background: #121218;
    --container-max-width: 70rem;
    --container-padding: 2rem;
}

/* ==========================================
   4. HEADER (HIDDEN INITIALLY)
========================================== */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background-color: transparent; 
    padding: 2rem 0 !important;
    z-index: 10000; 
    border-bottom: none; 
    
    /* OVO JE BITNO: Sakriveno na početku */
    opacity: 0;
    visibility: hidden;
    /* transition: opacity 0.5s ease; <- Skloni transition da ne blica */
}



.header-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: var(--container-max-width); 
    margin: 0 auto !important; 
    padding: 0 var(--container-padding) !important; 
}


.header-left { 
    flex: 0 0 auto; 
    display: flex;
    align-items: center; /* Poravnanje loga i jezika po vertikali */
}
.site-logo img { height: 27.5px; width: auto; display: block; }

/* Hamburger */
.menu-icon { 
    width: 25px; height: 20px; 
    cursor: pointer; 
    z-index: 10002; /* Iznad overlay-a */
    position: relative; 
}
.hamburger { width: 22.5px; height: 11px; display: flex; flex-direction: column; justify-content: space-between; transition: .4s; }
.hamburger span { height: 2px; background: #fff; border-radius: 2px; transition: .4s; position: relative; }

/* Hamburger animacija */
.hamburger span:first-child::after { content: ""; position: absolute; left: -4px; top: -2px; width: 6px; height: 2px; background: #fff; transform: rotate(-130deg); transition: .4s; }
.hamburger span:last-child::after { content: ""; position: absolute; right: -4px; bottom: 2px; width: 6px; height: 2px; background: #fff; transform: rotate(130deg); transition: .4s; }
.hamburger .mid { left: -5.5px; }

.menu-icon.active .hamburger span { background: var(--color-text-dark); }
.menu-icon.active .hamburger span:first-child { transform: rotate(45deg) translate(3px, 3.5px); }
.menu-icon.active .hamburger .mid { opacity: 0; }
.menu-icon.active .hamburger span:last-child { transform: rotate(-45deg) translate(3.5px, -3.5px); }
.menu-icon.active .hamburger span:first-child::after, .menu-icon.active .hamburger span:last-child::after { opacity: 0; }

/* ==========================================
   HEADER LEFT & LOGO / LANG SWITCH TOGGLE
========================================== */

/* 1. Kontejner mora biti relativan da bi držao poziciju */
.header-left { 
    position: relative; 
    display: flex;
    align-items: center;
    min-width: 120px; 
    min-height: 40px; 
}

/* 2. LOGO STILOVI */
.site-logo {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    display: block;
}

/* KAD JE MENI OTVOREN -> LOGO NESTAJE */
body.menu-open .site-logo {
    opacity: 0;
    visibility: hidden;
}

/* 3. HEADER LANGUAGE SWITCHER */
.header-lang-switcher {
    position: absolute; /* Ključno: Lijepi ga točno preko loga */
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Savršeno centriranje */
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

/* KAD JE MENI OTVOREN -> SWITCHER SE POJAVLJUJE */
body.menu-open .header-lang-switcher {
    opacity: 1;
    visibility: visible;
}

/* 4. BOJE LINKOVA (Prilagođeno za bijeli Overlay) */
.header-lang-switcher .lang-link {
    text-decoration: none;
    color: #999; /* Neaktivni jezik je SIV */
    font-size: 0.8rem; /* Veličina slična logotipu */
    font-weight: 200;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: pointer;
}

/* Aktivni jezik i Hover -> CRNA BOJA (jer je pozadina bijela) */
.header-lang-switcher .lang-link:hover,
.header-lang-switcher .lang-link.active {
    color: #000; 
    font-weight: 500;
}

/* ==========================================
   MENU OVERLAY
========================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-overlay.active .menu-close-btn { display: block; }



.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 2rem 40px;
    gap: 2.5rem;
}

.menu-logo { margin-bottom: 1rem; }
.menu-logo img { height: 60px; width: auto; }

.menu-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    width: 100%;
}

.menu-card {
    background: var(--color-primary);
    border-radius: 20px;
    padding: 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.menu-card:hover::before { opacity: 1; }
.menu-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
.menu-card:active { transform: translateY(-2px) scale(0.98); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

.menu-card-icon {
    width: 48px; height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-icon { transform: scale(1.1); }

.menu-card-label {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-label { transform: translateY(2px); }

.menu-social {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100%;
}

.social-link {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 4px;
}

.social-link:hover { transform: translateY(-3px) scale(1.15); background: rgba(0, 0, 0, 0.05); }
.social-link:active { transform: translateY(0) scale(0.95); }
.social-link img { max-width: 100%; max-height: 100%; object-fit: contain; vertical-align: middle; transition: filter 0.3s ease; }
.social-link:hover img { filter: brightness(0.7); }

.menu-footer {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.menu-footer-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.footer-contact-item:hover { color: var(--color-primary); background: rgba(255, 107, 53, 0.08); transform: translateY(-2px); }
.footer-contact-item:active { transform: translateY(0); }
.footer-contact-item img { width: 20px; height: 20px; object-fit: contain; opacity: 0.7; transition: opacity 0.3s ease, transform 0.3s ease; }
.footer-contact-item:hover img { opacity: 1; transform: scale(1.1); }

.menu-footer-links { display: flex; gap: 1.5rem; justify-content: center; }
.menu-footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.menu-footer-links a:hover { color: #000; }
.menu-footer-links a:hover::after { width: 100%; }

.menu-close-btn {
    position: absolute;
    top: 2rem; right: 2rem;
    width: 32px; height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1003;
    color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.menu-close-btn:hover { transform: rotate(90deg) scale(1.1); background: rgba(0, 0, 0, 0.05); }
.menu-close-btn:active { transform: rotate(90deg) scale(0.95); }

.lang-link { color: #999; text-decoration: none; transition: all 0.3s ease; padding: 0.25rem 0.5rem; border-radius: 4px; }
.lang-link.active { color: #000; }
.lang-link:hover { color: #000; background: rgba(0, 0, 0, 0.05); }

/* Menu Responsive */
@media (max-width: 992px) {
    .menu-cards { grid-template-columns: repeat(3, 1fr); max-width: 450px; }
    .menu-footer { flex-direction: column; text-align: center; }
    .menu-footer-contact { justify-content: center; }
    .menu-footer-links { justify-content: center; }
}

@media (max-width: 768px) {
    .menu-language { top: 1.5rem; left: 1.5rem; font-size: 0.75rem; }
    .menu-close-btn { top: 1.5rem; right: 1.5rem; width: 24px; height: 24px; }
    .menu-content { padding: 70px 1.5rem 30px; gap: 2rem; }
    .menu-logo img { height: 50px; }
    .menu-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 280px; width: 100%; }
    .menu-card { padding: 12px 8px; border-radius: 14px; gap: 6px; aspect-ratio: 1; }
    .menu-card-icon { width: 28px; height: 28px; }
    .menu-card-label { font-size: 0.5rem; line-height: 1.2; }
    .menu-social { gap: 1.25rem; }
    .social-link { width: 28px; height: 28px; }
    .menu-footer { padding: 1rem 1.5rem; gap: 1rem; }
    .menu-footer-contact { flex-direction: row; gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .footer-contact-item { font-size: 0.65rem; }
    .footer-contact-item img { width: 14px; height: 14px; }
    .menu-footer-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    .menu-footer-links a { font-size: 0.55rem; }
}
/* ==========================================
   5. VIDEO INTRO & BUTTON
========================================== */
#video-intro {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; 
    z-index: 9999; /* Ispod Headera (10000), iznad Hero-a (100) */
    background: #000; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#video-intro.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

#intro-video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto; object-fit: cover; z-index: 1;
}

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 80px; 
    background: rgba(0, 0, 0, 0.3); transition: opacity 0.5s ease;
    padding-bottom: 15vh !important;
}
.video-overlay.fade-out { opacity: 0; }

/* --- DUGME FIX (ANTI-SQUASH) --- */
.journey-button {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white; border: 3px solid transparent;
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    
    width: auto !important;
    min-width: 280px !important; 
    height: 65px !important;     
    min-height: 65px !important;
    padding: 0 40px !important;
    margin-top: 20px !important;
    
    font-size: 18px !important; font-weight: 700 !important; border-radius: 50px !important;
    cursor: pointer; box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    letter-spacing: 0.5px; text-transform: none; z-index: 3; position: relative;
    overflow: hidden; animation: bounce 2s ease-in-out infinite;
    transition: background 0.3s ease, border-color 0.3s ease;
    white-space: nowrap !important;
    
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.journey-button:hover {
    animation: none; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff7a45 0%, #ff9d52 100%);
}
.journey-button.clicked { animation: none; background: transparent; border-color: var(--color-primary-light); }
.progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #ffffff; border-radius: 50px; z-index: 0; }
.journey-button.clicked .progress-fill { width: 100%; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s; }

.journey-button .button-text { 
    position: relative; z-index: 2; color: #fff; 
    line-height: 1 !important; display: block; margin-top: -2px;
}
.journey-button.clicked .button-text { color: var(--color-primary-light); }

.intro-logo { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); z-index: 10; }
.intro-logo img { width: 250px; height: auto; display: block; }

/* ==========================================
   6. HERO TEXT SECTION (GSAP READY)
========================================== */
#hero-text {
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: #000; 
    
    /* GSAP kontroliše ovo, ali postavljamo default */
    opacity: 0; 
    visibility: hidden; 
    
    position: relative; 
    z-index: 100;
}

/* Ovu klasu dodaje JS da aktivira sekciju */
#hero-text.visible { 
    visibility: visible; 
    /* Opacity rešavamo kroz GSAP za bolji flow */
}

.hero-content { 
    text-align: center; 
    padding: 2rem; 
    max-width: var(--container-max-width); 
    margin-bottom: 100px;
}

.hero-content h1 { 
    color: #fff; 
    margin-bottom: 1.5rem; 
    
    /* Početno stanje za GSAP */
    opacity: 0; 
    transform: translateY(50px); /* Malo veći put za dramatičniji ulaz */
    will-change: transform, opacity; /* Optimizacija performansi */
}

.hero-content p { 
    color: rgba(255, 255, 255, 0.85); 
    
    /* Početno stanje za GSAP */
    opacity: 0; 
    transform: translateY(40px); 
    max-width: 48rem; 
    margin: 0 auto; 
    will-change: transform, opacity;
}

.scroll-indicator {
    position: absolute; 
    bottom: 15%; 
    left: 50%; 
    /* Important je tu da premosti elementor/druge stilove, ali pazimo u JS */
    transform: translate(-50%, 0) !important; 
    
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.5rem; 
    
    opacity: 0;
    cursor: pointer; 
    z-index: 101;
}

.scroll-indicator.hidden { opacity: 0 !important; pointer-events: none; }

/* Ostalo ostaje isto */
.scroll-indicator-text { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.scroll-indicator-icon { width: 24px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 12px; position: relative; }
.scroll-indicator-icon::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: rgba(255, 255, 255, 0.6); border-radius: 2px; animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0%, 100% { top: 6px; opacity: 1; } 50% { top: 22px; opacity: 0.3; } }

/* ==========================================
   10. STATIONS SECTION (SLIDER) - MODIFIED & FINAL
========================================== */
#stations-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--color-background);
}

.station-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: transform, opacity;
    overflow: hidden;
    background: var(--color-background);
    opacity: 0;
    z-index: 1;
}

.station-slide.active { 
    pointer-events: auto; 
    opacity: 1; 
    z-index: 10;
}

.station-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    gap: 3rem;
}

/* Obrnuti raspored za parne slajdove */
.station-slide[data-station="adaptive-cloud"] .station-content,
.station-slide[data-station="ai-platform"] .station-content { 
    flex-direction: row-reverse; 
}

/* --- IMAGE WRAPPER (SMANJENA SLIKA) --- */
.station-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-origin: center bottom;
}

.station-image .station-main-img {
    max-width: 85%;      /* Smanjena širina za 15% */
    max-height: 50vh;    /* Smanjena visina */
    object-fit: contain;
    transform-origin: center bottom;
    position: relative;
    z-index: 2;
}

/* Background Circle */
.station-circle {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-circle > img:first-child {
    width: 100%; height: auto;
    transform-origin: center center;
    z-index: 100;
}

/* --- ANIMATED LINES --- */
.circle-line {
    position: absolute;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.circle-line .line-svg { height: 12px; width: auto; display: block; flex-shrink: 0; }
.circle-line .line-extend { height: 12px; width: 200vw; flex-shrink: 0; }

.circle-line.line-right { left: 100%; top: 50%; transform: translateY(-50%); transform-origin: left center; }

.circle-line.line-two { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.circle-line.line-two .line-1 { position: absolute; right: 0; bottom: 50%; width: auto; height: auto; transform: translateX(90%) scaleX(0.5); transform-origin: left bottom; }
.circle-line.line-two .line-1::after { content: ''; position: absolute; top: 0; left: 0; width: 12px; height: 200vh; background: var(--color-green); transform: translateY(-100%); }
.circle-line.line-two .line-2 { position: absolute; right: 0; top: 88%; width: auto; height: auto; transform: translateX(75%) scaleX(0.5); transform-origin: left top; }
.circle-line.line-two .line-2-extend { position: absolute; right: -23.5%; top: 500%; width: 16px !important; height: 200vh; background: var(--color-yellow); transform: translateX(75%) scaleX(0.5); transform-origin: left top; }

.circle-line.line-three { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.circle-line.line-three .line-1 { position: absolute; left: 0; bottom: 70%; width: auto; height: auto; transform: translateX(-65%) scaleX(0.5); transform-origin: right bottom; }
.circle-line.line-three .line-1::after { content: ''; position: absolute; top: 0; right: 0; width: 12px; height: 200vh; background: var(--color-yellow); transform: translateY(-100%); }
.circle-line.line-three .line-2 { position: absolute; left: 10%; top: 85%; width: auto; height: auto; transform: translateX(16%) scaleX(0.5); transform-origin: right top; }
.circle-line.line-three .line-2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 12px; height: 200vh; background: var(--color-pink); }
.circle-line.line-three .line-2-extend-pink { position: absolute; right: -19.5%; top: 469%; width: 11px !important; height: 200vh; background: var(--color-pink); transform: translateX(-75%) scaleX(0.5); transform-origin: right top; }

.circle-line.line-four { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.circle-line.line-four .line-1 { position: absolute; left: 0; bottom: 88%; width: auto; height: auto; transform: translateX(75%) scaleX(0.5); transform-origin: left top; }
.circle-line.line-four .line-1::after { content: ''; position: absolute; top: 0; right: 0; width: 12px; height: 200vh; background: var(--color-pink); transform: translateY(-100%); }

/* --- TEXT INFO BOX (STRONG H2) --- */
.station-info {
    flex: 0 0 380px;
    border-radius: 20px;
    padding: 35px;
    z-index: 100;
}
.station-info h2 { 
    color: #ffffff; 
    margin-bottom: 18px;
    font-weight: 800; /* BOLD */
}
.station-info p { opacity: 0.9; margin: 0; }

/* ==========================================
   TIMELINE NAVIGATION (RIGHT TO LEFT)
========================================== */
.stations-timeline {
    position: absolute !important;
    bottom: 8%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80% !important;
    max-width: 600px !important;
    padding: 0 20px !important;
    z-index: 200 !important;
    display: block !important;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    
    /* --- OVO OKREĆE SMER --- */
    flex-direction: row-reverse; 
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 15px; 
    right: 15px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 0; 
}

.timeline-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2; 
    cursor: pointer;
    width: 40px; 
    height: 40px;
}

.timeline-point:hover { transform: scale(1.1); transition: transform 0.2s; }

.point-label {
    position: absolute;
    bottom: 35px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.timeline-point.active .point-label, 
.timeline-point:hover .point-label { 
    opacity: 1; 
    color: #fff; 
}

.point-dot {
    width: 14px; 
    height: 14px;
    border-radius: 50%;
    background: #121218; 
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px #121218; 
    transition: all 0.3s ease;
}

.timeline-active-dot {
    position: absolute;
    top: 50%;
    left: 0; 
    width: 24px; 
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    z-index: 3; 
    transform: translate(-50%, -50%); 
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
    pointer-events: none; 
    z-index: 100000;
}

/* ==========================================
   11. STATIONS RESPONSIVE (SLIKE SMANJENE)
========================================== */
@media (max-width: 992px) {
    .station-content { flex-direction: column !important; text-align: center; gap: 1.5rem; justify-content: center; padding-top: 60px; padding-bottom: 120px; }
    .station-image { flex: 0 0 auto; width: 100%; max-width: 250px; }
    .station-image .station-main-img { max-height: 24vh; } 
    .station-circle { width: 100%; }
    .station-info { flex: 0 0 auto; max-width: 380px; width: 100%; padding: 25px; }
    .circle-line .line-svg, .circle-line .line-extend { height: 8px; }
    .circle-line.line-two .line-1::after, .circle-line.line-two .line-2::after { width: 8px; }
    .stations-timeline { width: 90% !important; max-width: 380px !important; bottom: 5%; }
}

@media (max-width: 768px) {
    .station-content { gap: 1rem; padding-top: 50px; padding-bottom: 110px; }
    .station-image { max-width: 300px; margin-bottom: 0; }
    .station-image .station-main-img { max-height: 30vh; } 
    .station-info { padding: 20px; max-width: 320px; }
    .circle-line .line-svg, .circle-line .line-extend { height: 6px; }
    .stations-timeline { bottom: 10%; padding: 0 15px; }
    .point-label { font-size: 8px; margin-bottom: 8px; }
}

/* ==========================================
   GLOBALNA KLASA ZA 100VH VISINU
========================================== */
.datum-slide {
    height: 100vh !important;
    min-height: 100vh !important;
    
    /* Opcionalno: da sadržaj bude centriran ako je flex container */
    display: flex !important; 
    flex-direction: column !important;
    justify-content: center !important;
}

/* ==========================================
   FULL PAGE SCROLL SETUP (FIXED)
========================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Sakrivanje za Chrome/Safari/Opera */
body::-webkit-scrollbar {
    display: none;
}


.datum-slide {
    height: 100vh !important;
    min-height: 100vh !important;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
}

/* ==========================================
   LOGO FIX (BALANSIRANO)
========================================== */

#intro-logo {
    /* NEMA VIŠE !important, da bi JS mogao da ga upali */
    opacity: 0;
    visibility: hidden;
    
}



/* ==========================================
   GRAF WIDGET STYLES (NO FONT SIZE + MOBILE FIX)
========================================== */

.graf-slot {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem; 
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

/* --- SLIKA (LEVO) --- */
.graf-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.graf-image-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 70vh; 
    object-fit: contain;
    
    /* Početno stanje za JS */
    opacity: 0;
    visibility: hidden; 
}

/* --- NARANDŽASTA KUTIJA (DESNO) --- */
.graf-box {
    flex: 0 0 500px;
    max-width: 100%; 
    background: var(--color-primary);
    border-radius: 30px;
    padding: 3rem; 
    color: #fff;
    text-align: left;
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.25);
    align-self: center;

    /* Početno stanje za JS */
    opacity: 0;
    visibility: hidden;
    transform: translateY(60px) scale(0.9);
}

.graf-box h2 {
    /* Font size UKLONJEN - nasleđuje se */
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 800; /* STRONG */
    
    /* JS Animacija start */
    opacity: 0;
}

/* --- FIX ZA NESTAJANJE TEKSTA --- */
.graf-text-content {
    opacity: 1; 
}

.graf-text-content p {
    /* Font size UKLONJEN - nasleđuje se */
    line-height: 1.6;
    color: #fff;
    opacity: 0; /* Samo paragrafi su skriveni za animaciju */
    margin: 0 0 1rem 0;
}

.graf-text-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   MOBILNI (Responsive)
========================================== */
@media (max-width: 992px) {
    .graf-slot {
        /* OVO REŠAVA RASPORED: Tekst gore, slika dole */
        flex-direction: column-reverse; 
        
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
        justify-content: center;
        height: auto; /* Da ne forsira 100vh ako je sadržaj veći */
    }

    .graf-image-wrapper {
        justify-content: center;
        flex: 0 0 auto;
        width: 100%;
    }
    
    .graf-image-wrapper img {
        max-height: 40vh; /* Prilagođena visina za mobilni */
        width: auto;
    }

    .graf-box {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%; /* Puna širina na mobilnom */
        padding: 1.5rem 2rem;
        text-align: center;
    }
}

/* ==========================================
   SLOT 3 - VALUES + MISSION/VISION (FINAL FIT)
========================================== */

/* 1. GLAVNI KONTEJNER */
.values-mv-slot {
    width: 100%;
    max-width: 1400px; /* Malo šire za velike ekrane */
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden; /* Sprečava skrol unutar sekcije */
}

/* 2. HEADER (Fiksiran na vrhu) */
.values-mv-header { 
    position: absolute;
    top: 15%; /* Desktop: Visoko gore */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    text-align: center;
    z-index: 20;
    opacity: 0; /* JS pali */
    pointer-events: none;
}

.values-mv-header h1 { 
    color: #fff; 
    margin: 0;
    line-height: 1.2;
    /* Font veličinu si rekao da si rešio u Elementoru */
}

/* 3. KONTEJNER ZA SADRŽAJ (Sloj za animacije) */
.values-mv-content-area {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* 4. VALUES BOX (Narandžasta kutija) */
.values-box-wrapper { 
    position: absolute;
    top: 55%; /* Centar vertikale ispod naslova */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    max-width: 800px; /* Šire na desktopu kao na slici */
    z-index: 10; 
    opacity: 0; 
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.values-box { 
    background: var(--color-primary, #ff6b35); 
    border-radius: 24px; 
    padding: 3.5rem 4rem; /* Bogat padding na desktopu */
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    width: 100%;
}

.values-box p { 
    color: #fff !important; 
    margin: 0; 
    font-size: 1.25rem !important; /* Malo veći tekst na desktopu */
    line-height: 1.6; 
    text-align: center;
    font-weight: 500;
}

/* 5. MISSION & VISION (Kartice) */
.mv-cards-wrapper {
    position: absolute;
    top: 50%; /* Isto mesto kao Values */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px; /* Široko da stanu jedna pored druge */
    display: flex;
    gap: 2rem; /* Razmak između kartica */
    justify-content: center;
    align-items: stretch; /* Ista visina */
    z-index: 10;
    opacity: 0; 
    pointer-events: auto;
}

.mv-card {
    flex: 1;
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.mv-card h3 { 
    margin-bottom: 1.5rem; 
    color: #000; 
    font-size: 2rem; 
    font-weight: 700;
}

.mv-card p { 
    color: #333; 
    margin: 0; 
    font-size: 1rem; 
    line-height: 1.6; 
}

/* Vision kartica - Tamna sa narandžastim okvirom (kao na slici) */
.mv-card-vision { 
    background: #121218; /* Tamna pozadina */
    border: 4px solid var(--color-primary, #ff6b35); 
}
.mv-card-vision h3 { color: #fff; }
.mv-card-vision p { color: #ccc; }


/* ==========================================
   RESPONSIVE (MOBILNI FIT)
========================================== */
@media (max-width: 992px) {
    .values-box { padding: 2.5rem; }
    .mv-card { padding: 2rem; }
}

@media (max-width: 768px) {
    /* Pomeramo Header malo više gore da oslobodimo mesto */
    .values-mv-header { 
        top: 10%; 
        width: 90%; 
    }
    
    /* VALUES BOX NA MOBILNOM */
    .values-box-wrapper { 
        top: 55%; 
        width: 92%; /* Skoro do ivice ekrana */
    }
    .values-box { 
        padding: 2rem 1.5rem; 
        border-radius: 20px;
    }
    .values-box p { 
        font-size: 1rem !important; 
        line-height: 1.5;
    }

    /* MV KARTICE NA MOBILNOM (Jedna ispod druge) */
    .mv-cards-wrapper { 
        top: 55%; /* Centar prostora ispod naslova */
        width: 92%; 
        flex-direction: column; /* Vertikalno */
        gap: 15px; /* Manji razmak da stane u ekran */
    }

    .mv-card { 
        padding: 1.5rem; /* Manji padding da uštedimo visinu */
        border-radius: 18px;
        flex: 1; /* Da se jednako šire */
    }

    .mv-card h3 { 
        font-size: 1.4rem; 
        margin-bottom: 0.8rem; 
    }
    
    .mv-card p { 
        font-size: 0.85rem; 
        line-height: 1.4;
    }
    
    /* Dodatni tweak za Vision karticu na mobilnom da ne izgleda preteško */
    .mv-card-vision {
        border-width: 3px;
    }
}

/* Za baš male telefone (iPhone SE i slično) */
@media (max-width: 380px) {
    .values-mv-header { top: 8%; }
    .mv-card { padding: 1.2rem; }
    .mv-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
}
/* ==========================================
   TEAM (Slot 2) - FINAL SCROLL FIX & 2/3 LAYOUT
========================================== */

/* --- GLAVNI KONTEJNER --- */
.team-slot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-bottom: 20px;
  box-sizing: border-box;
}

/* NASLOV */
.team-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.team-title {
  color: #ff6b35;
  margin: 0;
}

/* --- CAROUSEL WRAPPER --- */
.team-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.team-viewport {
  overflow: hidden;
  border-radius: 25px;
  padding: 10px; /* Da hover ne seče ivice */
}

/* TRACK (Desktop layout - Grid) */
.team-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  width: 100%;
  will-change: transform; 
}

/* --- KARTICA (Desktop) --- */
.team-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  cursor: pointer;
  background: #1a1a1a;
  width: 100%;
  transform-origin: center center;
  
  /* Sakriveno u startu za JS random animaciju */
  opacity: 0; 
  visibility: hidden;
  transform: scale(0.8);
}

/* U editoru mora biti vidljivo */
.elementor-editor-active .team-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

/* OVERLAY */
.card-overlay {
  position: absolute;
  inset: 0;
  background-color: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.read-more {
  color: #fff;
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: capitalize;
}

/* IME ČLANA */
.member-name-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  opacity: 1;
  transition: opacity 0.25s ease;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* HOVER EFEKTI */
.team-card:hover .card-overlay { opacity: 1; }
.team-card:hover .member-name-label { opacity: 0; }
.team-card:hover img { 
    opacity: 0.9; 
    transform: scale(1.05); 
}

/* STRELICE (Desktop - skrivene) */
.team-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,107,53,0.95);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  z-index: 20;
}

.team-prev { left: 10px; }
.team-next { right: 10px; }
.team-arrow:disabled { opacity: 0.35; cursor: default; }

/* TABLET (max 1024px) */
@media (max-width: 1024px) {
  .team-track { grid-template-columns: repeat(3, 1fr); }
}

/* --- MOBILE SLIDER (max 768px) --- */
@media (max-width: 768px) {
  .team-title { margin-bottom: 20px; }
  .team-viewport { border-radius: 20px; padding: 0; }

  .team-track {
    display: flex;
    gap: 0;
    width: 100%;
    will-change: transform;
  }

  /* PAGE: Drži 2 kartice jednu ispod druge */
  .team-page {
    flex: 0 0 100%;
    padding: 0 45px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  .team-card {
    width: 65%;
    aspect-ratio: 1 / 1.1;
    border-radius: 20px;
    margin: 0 auto;
  }

  .read-more { font-size: 1.3rem; }

  .team-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px; height: 35px;
    font-size: 18px;
  }
  .team-prev { left: 5px; }
  .team-next { right: 5px; }
}

/* ==========================================
   TEAM MODAL (DESKTOP)
========================================== */
.team-modal {
  display: none; /* JS menja u flex */
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  
  /* Sprečava skrol celog wrappera */
  overflow: hidden; 
  perspective: 1500px; 
}

.modal-content {
  background-color: #000;
  width: 90%;
  max-width: 900px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  
  /* Desktop visina */
  max-height: 85vh; 
  position: relative;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.modal-body {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden; 
}

/* Slika */
.modal-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #121218;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}

.modal-image h3 {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 2;
}

/* Tekst */
.modal-text {
  flex: 1;
  background-color: #ff6b35;
  padding: 60px 45px;
  color: #fff;
  line-height: 1.6;
  
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centar na desktopu */
  align-items: flex-start;
  
  overflow-y: auto; 
  max-height: 100%;
}

.modal-text h4 {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.modal-text p {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Close Dugme */
.close-modal {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 100;
  line-height: 1;
  transition: transform 0.3s ease;
}

.close-modal:hover { transform: scale(1.1) rotate(90deg); }

/* ==========================================
   MOBILE MODAL FIX (KLJUČNO ZA SKROL)
========================================== */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    /* Fiksna visina je OBAVEZNA da bi unutrašnji skrol radio */
    height: 85vh !important; 
    max-height: 85vh !important;
    border-radius: 24px;
    overflow: hidden; 
  }

  .modal-body {
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden; 
  }

  /* 1. SLIKA (Zauzima oko 60-65% visine, "2/3") */
  .modal-image {
    flex: 0 0 62%; 
    height: 62%;
    min-height: 0; 
    position: relative;
  }

  .modal-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center; 
  }

  /* 2. TEKST (Zauzima ostatak ~38%, "1/3") + SKROL */
  .modal-text {
    flex: 1 1 auto; /* Flex grow i shrink dozvoljeni */
    height: auto; 
    padding: 20px 20px;
    
    /* Poravnanje od vrha */
    justify-content: flex-start;
    
    /* --- KLJUČNO ZA SKROL NA TELEFONU --- */
    overflow-y: auto !important; 
    -webkit-overflow-scrolling: touch; 
    display: block; /* Pomaže kod nekih browsera da skroluju block elemente bolje nego flex */
  }

  /* Naslov na slici */
  .modal-image h3 {
    bottom: 15px; left: 15px;
    font-size: 1.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  }

  /* Close dugme na vrhu slike */
  .close-modal {
    top: 15px; right: 15px;
    font-size: 24px;
    background: rgba(0,0,0,0.4);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding-bottom: 2px;
    z-index: 50;
  }
}
/* ==========================================
   DATUM NEWSLETTER WIDGET CSS
========================================== */

/* Glavni Kontejner - Narandžasta pozadina po defaultu */
.datum-newsletter-wrapper {
    background: var(--color-primary, #ff6b35); /* Default na narandžasto */
    transition: background 0.5s ease;
    width: 100%;
    height: 100%;
    min-height: 50vh; /* Sigurnost da se vidi */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Stanje nakon slanja forme - Crna pozadina */
.datum-newsletter-wrapper.submitted {
    background: var(--color-background, #121218);
}

.newsletter-slot { 
    max-width: 600px; 
    position: relative; 
    width: 100%;
    text-align: center;
}

.newsletter-slot h2 { 
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 400; 
    line-height: 1.2;
}
.newsletter-slot h2 strong { font-weight: 700; }

/* FORMA */
.newsletter-form {
    width: 100%;
    max-width: 400px; /* Malo uže da lepše izgleda */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.newsletter-form input {
    width: 100%;
    background: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    outline: none;
    border-radius: 35px;
    text-align: center; /* Centriran placeholder i tekst */
}

.newsletter-form input::placeholder { color: #888; }

.newsletter-submit {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.6rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.elementor-widget-datum_newsletter_widget{height: 100vh;}
.newsletter-submit:hover { background: #fff; color: var(--color-primary, #ff6b35); }


/* SUCCESS ANIMACIJA */
.newsletter-success {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 100%;
    z-index: 10;
}

.newsletter-success.active { opacity: 1; visibility: visible; }
.success-animation { display: flex; align-items: center; justify-content: center; position: relative; }
.success-job { height: 45px !important; width: auto; position: relative; z-index: 1; opacity: 0; }
.success-done-wrapper { position: relative; margin-left: 15px; padding: 8px 15px; border: 6px solid var(--color-primary, #ff6b35); border-radius: 35px; opacity: 0; }
.success-done { height: 45px !important; width: auto; display: block; }

/* LINIJA KOJA PRELAZI PREKO EKRANA */
.success-line { 
    position: absolute; /* Promenjeno iz fixed u absolute relative na wrapper */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    width: 0;
    background: var(--color-primary, #ff6b35);
    z-index: 100;
    visibility: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .newsletter-form input { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
    .newsletter-submit { padding: 0.5rem 2rem; font-size: 0.8rem; }
    .success-job { height: 32px; }
    .success-done { height: 32px; }
    .success-done-wrapper { padding: 6px 12px; border-width: 4px; margin-left: 10px; }
    .success-line { height: 4px; }
}


.datum-hidden {
    display: none !important;
}


/* ==========================================
   DATUM CONTACT WIDGET CSS (CF7 Compatible)
========================================== */

.datum-contact-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh; /* Da zauzme ceo ekran kao slajd */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centriranje sadržaja */
    padding: 2rem;
    box-sizing: border-box;
    /* Ako želiš pozadinu specifičnu za ovaj slajd */
    /* background: #121218; */ 
}

.contact-slot { 
    max-width: 700px; 
    width: 100%;
    margin-bottom: 60px; /* Prostor za footer */
}

.contact-slot h2 { 
    color: #fff; 
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 400;
}
.contact-slot h2 strong { font-weight: 700; }

/* --- CF7 FORM STYLING --- */

/* Wrapper unutar forme */
.datum-cf7-container .contact-form-inner {
    width: 100%;
    max-width: 65%; /* Tvoj originalni max-width */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin:auto;
}

/* Uklanjamo default CF7 p tagove koji kvare layout */
.datum-cf7-container p {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* INPUT & TEXTAREA (Targetiramo CF7 klase) */
.datum-cf7-container input[type="email"],
.datum-cf7-container input[type="text"],
.datum-cf7-container textarea {
    width: 100%;
    background: #fff;
    border: 3px solid transparent;
    padding: 0.8rem 1.5rem; /* Malo veći padding za bolji izgled */
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    outline: none;
    border-radius: 35px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    margin-bottom:20px;
}

.datum-cf7-container textarea { 
    border-radius: 25px; 
    min-height: 180px; 
    resize: none; 
    line-height: 1.5; 
}

.datum-cf7-container input:focus, 
.datum-cf7-container textarea:focus { 
    border-color: var(--color-primary, #ff6b35); 
}

.datum-cf7-container input::placeholder, 
.datum-cf7-container textarea::placeholder { 
    color: #888; 
}

/* SUBMIT BUTTON */
.datum-cf7-container input[type="submit"] {
    display: table; /* Fix za centriranje ako je width auto */
    margin: 0.5rem auto 0; /* Centriranje dugmeta */
    background: var(--color-primary, #ff6b35);
    color: #fff;
    border: none;
    padding: 0.6rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: auto;
}

.datum-cf7-container input[type="submit"]:hover { 
    background: #e55a2b; /* Darker variant */
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4); 
}

/* Loader fix (da ne pomera layout) */
.wpcf7-spinner { 
    position: absolute; 
    margin-top: 10px;
}

/* --- CONTACT INFO FOOTER --- */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover { color: var(--color-primary, #ff6b35); }
.contact-info-item img { 
    width: 20px; 
    height: 20px; 
    filter: brightness(0) invert(1); 
    transition: filter 0.3s ease; 
    object-fit: contain;
}
.contact-info-item:hover img { 
    filter: invert(52%) sepia(98%) saturate(1288%) hue-rotate(343deg) brightness(101%) contrast(101%); 
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .datum-cf7-container input[type="email"], 
    .datum-cf7-container textarea { 
        padding: 0.6rem 1.25rem; 
        font-size: 0.85rem; 
        border-radius: 30px; 
    }
    .datum-cf7-container textarea { 
        min-height: 140px; 
        border-radius: 20px; 
    }
    .datum-cf7-container input[type="submit"] { 
        padding: 0.5rem 2rem; 
        font-size: 0.8rem; 
    }
    
    .datum-cf7-container .contact-form-inner {
        max-width: 100%; /* Puna širina na mobilnom */
    }

    .contact-info { gap: 1rem; }
    .contact-info-item { font-size: 0.75rem; }
    .contact-info-item img { width: 16px; height: 16px; }
    
}

@media (max-width: 480px) {
    .contact-info { 
        flex-direction: row; 
        justify-content: center; 
        gap: 0.75rem; 
        bottom: 15%; 
    }
    .br-mobile { display: block; }
}

@media (min-width: 769px) {
    .br-mobile { display: none; }
}

/* ==========================================
   FIX ZA MENU OVERLAY (FINALNO PORAVNANJE)
========================================== */

/* 1. POPRAVKA GIGANTSKIH IKONA (Email i Adresa) */
.menu-footer-contact img,
.footer-contact-item img {
    width: 20px !important;       /* Fiksna širina */
    height: 20px !important;      /* Fiksna visina */
    max-width: 20px !important;   /* Sprečava širenje */
    min-width: 20px !important;   /* Sprečava skupljanje */
    object-fit: contain !important;
    display: inline-block !important;
    margin-right: 8px !important; /* Razmak do teksta */
    filter: brightness(0);        /* Čini ikone crnim kao na originalu */
}

/* 2. POPRAVKA LINKOVA NA NARANČASTIM KARTICAMA */
/* Uklanja plavu boju i podvlačenje koje tema dodaje */
.menu-card,
.menu-card:visited,
.menu-card:hover,
.menu-card:active {
    text-decoration: none !important; /* Sklanja crtu ispod */
    color: #fff !important;           /* Forsira bijelu boju */
    border-bottom: none !important;   /* Za svaki slučaj */
}

.menu-card-label {
    color: #fff !important;           /* Forsira bijelu boju teksta */
}

/* 3. POPRAVKA DONJIH LINKOVA (Politika, Kolačići) */
.menu-footer-links a {
    color: #999 !important;           /* Siva boja */
    text-decoration: none !important; /* Bez podvlačenja */
    font-size: 11px !important;       /* Manji font */
    text-transform: uppercase;        /* Velika slova */
    font-weight: 500;
}

.menu-footer-links a:hover {
    color: #000 !important;           /* Crna na hover */
}

/* 4. PORAVNANJE KONTAKTA (Centriranje) */
.menu-footer-contact {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;            /* Razmak između maila i adrese */
    flex-wrap: wrap !important;
}

.footer-contact-item {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
}

/* Fix za socijalne ikone (LinkedIn, YT) da budu uredne */
.menu-social img {
    width: 24px !important;
    height: auto !important;
    display: block !important;
}

.contact-header{
    text-align:center;
}