/* ========================================= */
/* --- GLOBAL SETTINGS --- */
/* ========================================= */
:root { 
    --header-height: 80px; 
    --red-brand: #D32F2F; 
    --blue-brand: #1565C0; 
    --text-light: #fff; 
    --bg-dark: #000; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Manrope', sans-serif; background-color: var(--bg-dark); color: var(--text-light); overflow-x: hidden; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none !important; margin: 0; padding: 0; }

/* Typography */
h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: var(--text-light); text-transform: uppercase; }
h2 { font-size: 2.5rem; font-weight: 900; color: var(--text-light); text-transform: uppercase; }
h3 { font-size: 1.8rem; font-weight: 800; color: var(--text-light); text-transform: uppercase; }
p { font-size: 1.1rem; color: #ccc; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ========================================= */
/* --- NAVIGATION (CORE) --- */
/* ========================================= */
nav { position: fixed; top: 0; width: 100%; height: var(--header-height); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; z-index: 1002; background: #000; border-bottom: 1px solid #222; transition: 0.3s; }
.logo { z-index: 1001; display: flex; align-items: center; }
.logo img { height: 30px; width: auto; transition: 0.3s; }
a.logo:hover img { opacity: 0.8; }

@media screen and (max-width: 768px) {
    .logo img {
        height: 22px; 
    }}
    
    @media (max-width: 992px) {
    .col-title {
        font-size: 1.7rem !important;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding-top: 0 !important;
        padding-bottom: 80px !important;
    }
}

.carrier-info-block p {margin-bottom: 20px;}

.hamburger { display: none; cursor: pointer; z-index: 1001; flex-direction: column; gap: 5px; }
.bar { width: 30px; height: 3px; background-color: white; transition: 0.3s; }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn-contact { background-color: var(--red-brand); padding: 10px 25px; font-weight: 800; text-transform: uppercase; border-radius: 3px; border: 2px solid var(--red-brand); transition: all 0.3s ease; color: white !important; }
.btn-contact:hover { background-color: transparent; color: var(--red-brand) !important; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.header-btn { background-color: var(--red-brand); color: white !important; padding: 8px 20px; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; border-radius: 3px; border: 2px solid var(--red-brand); transition: all 0.3s ease; white-space: nowrap; }
.header-btn:hover { background-color: transparent; color: var(--red-brand) !important; }

/* ========================================= */
/* --- DESKTOP SPECIFIC (Min-width: 993px) --- */
/* ========================================= */
@media (min-width: 993px) {
    .nav-links { display: flex; gap: 35px; align-items: center; list-style: none; }
    .nav-links a { font-weight: 700; font-size: 0.95rem; text-transform: uppercase; opacity: 0.9; position: relative; }
    .nav-links a:hover { opacity: 1; color: var(--red-brand); }
    .nav-links a.active { color: var(--red-brand) !important; }
    
    .mobile-next-btn, .mobile-submenu-header, .mobile-only-btn, .nav-actions { display: none !important; }
    
    .has-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
    .dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #111; min-width: 260px; border: 1px solid #333; border-top: 2px solid var(--red-brand); opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    .has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    
    .submenu-links a { display: block; padding: 12px 20px; color: #ccc; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .submenu-links a:hover { background: #1a1a1a; color: white; padding-left: 25px; }
}

/* ========================================= */
/* --- MOBILE SPECIFIC (Max-width: 992px) --- */
/* ========================================= */
@media (max-width: 992px) {
    /* Global Mobile Headings */
    h1 { font-size: 2.5rem; line-height: 1.2; }
    h2 { font-size: 2rem; line-height: 1.3; }
    h3 { font-size: 1.5rem; }
    
    .hamburger { display: flex; }
    .desktop-link, .desktop-contact { display: none !important; }
    
    .nav-links { position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); background: #000; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 30px 5%; gap: 25px; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 900; overflow-y: auto; }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a, .mobile-next-btn { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; color: white; display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; text-decoration: none; }
    
    .mobile-next-btn { display: flex !important; }
    .mobile-next-btn i { font-size: 1.2rem; color: var(--red-brand); }
    
    .dropdown-menu { position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); background: #000; display: flex; flex-direction: column; padding: 0; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 950; border-left: 1px solid #222; }
    .dropdown-menu.active { right: 0; }
    
    .mobile-submenu-header { padding: 25px 5%; border-bottom: 1px solid #222; background: #050505; margin-bottom: 20px; }
    .back-btn { background: none; border: none; color: white; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 15px; }
    .back-btn i { color: var(--red-brand); }
    
    .submenu-links { padding: 0 5%; display: flex; flex-direction: column; gap: 25px; }
    .submenu-links a { font-size: 1.4rem; color: #ccc; font-weight: 700; }
    .submenu-links a:hover { color: white; padding-left: 10px; }
    
    .header-btn { padding: 6px 12px; font-size: 0.8rem; border-width: 1px; }
    .nav-actions { gap: 15px; }
    
    /* Layout adjustments for mobile */
    .icons-section .container { flex-direction: column; gap: 40px; }
    #splitSlider { display: none; }
    .fleet-grid, .features-grid, .card-grid, .fleet-full-grid { grid-template-columns: 1fr !important; }
    .services-split-wrapper { flex-direction: column; }
    .services-page .service-column { width: 100%; padding: 60px 20px; border-right: none; border-bottom: 1px solid #222; }
    .fleet-item { height: auto !important; aspect-ratio: 1 / 1; width: 100%; }

    /* --- MOBILE PADDING RULES --- */
    /* Prve sekcije nakon Hero-a */
    .who-we-are, .about-intro, .services-content, .fleet-gallery-section { padding: 40px 5% 80px 5% !important; }
    /* Ostale sekcije */
    .icons-section, .fleet-section, .partners-section, .features-section, .director-section { padding: 0 5% 80px 5% !important; }
}

/* Extra Small Phones */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.4rem; }
    .nav-links { top: 80px; } 
    .btn-slide { padding: 10px 20px; font-size: 0.9rem; }
    .partner-logo { width: 150px; }
    .logos-slide-track { width: calc(150px * 26); }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-150px * 13)); } }
    .services-page .service-item { gap: 20px; }
    .services-page .text-box h3 { font-size: 1.25rem; }
    .cta-block { padding: 40px 25px; }
    .services-page .service-item .icon-box { width: 54px; padding: 12px; }
}

@media (max-width: 360px) {
    .header-btn { font-size: 0.7rem; padding: 5px 10px; }
}

/* ========================================= */
/* --- HERO SECTION & PAGE HEADER --- */
/* ========================================= */
.hero-section, .page-header { 
    position: relative; 
    height: 95vh; 
    width: 100%; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.hero-section::after, .page-header::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 35%; 
    background: linear-gradient(to top, #000 10%, transparent 40%); 
    z-index: 0; 
}

.hero-bg-video, .hero-bg-image { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -2; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    z-index: -1; 
}

.hero-content { 
    width: 100%; 
    padding: 0 5%; 
    position: relative; 
    z-index: 2; 
    margin-top: 60px; 
}

.page-header .hero-content {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text h1 { margin-bottom: 25px; }
.hero-text p { max-width: 800px; font-weight: 500; opacity: 0.9; }
.centered-text { 
    text-align: center; 
    margin: 0 auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================= */
/* --- DESKTOP SECTIONS --- */
/* ========================================= */
.who-we-are { background-color: #000; padding: 40px 5%; text-align: center; }
.about-intro { background-color: #000; padding: 80px 0 100px 0; text-align: center; }
.services-content, .fleet-gallery-section { background-color: #000; padding: 100px 0; }

.who-we-are h2, .about-intro h2 { margin-bottom: 30px; }
.who-we-are p, .about-intro p { max-width: 900px; margin: 0 auto; font-weight: 500; }
.intro-content { max-width: 800px; margin: 0 auto; }
.intro-content p { margin-bottom: 20px; }
.intro-content strong { color: white; }

.icons-section { background-color: #000; color: #fff; padding: 60px 0 100px 0; }
.icons-section .container { display: flex; justify-content: space-between; gap: 30px; }
.icon-box { flex: 1; text-align: center; padding: 60px 20px 30px 20px; position: relative; display: flex; flex-direction: column; align-items: center; background: #0a0a0a; border-radius: 5px; transition: 0.3s; }
.icon-box:hover { background: #111; }
.icon-img-style { font-size: 3rem; color: var(--red-brand); margin-bottom: 25px; }
.icon-box h3 { font-size: 1.3rem; margin-bottom: 15px; }

/* ========================================= */
/* --- SPLIT SLIDER --- */
/* ========================================= */
.split-slider { position: relative; width: 100%; height: 85vh; overflow: hidden; background: #222; display: block; }
.layer-bottom { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/media/european-logistics-truck-intermodal-terminal.webp'); background-size: cover; background-position: center; z-index: 1; }
.layer-bottom::after { content: ''; position: absolute; inset: 0; background: rgba(13, 71, 161, 0.7); }
.layer-top { position: absolute; top: 0; left: 0; height: 100%; width: 50%; z-index: 2; overflow: hidden; border-right: 1px solid rgba(255,255,255,0.3); }
.layer-top-inner { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; background-image: url('/media/long-haul-truck-european-road.webp'); background-size: cover; background-position: center; }
.layer-top-inner::after { content: ''; position: absolute; inset: 0; background: rgba(183, 28, 28, 0.7); }
.content-container { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; display: flex; align-items: center; z-index: 10; pointer-events: none; }
.content-left { justify-content: flex-start; padding-left: 5%; padding-right: 5%; }
.content-right { justify-content: flex-end; padding-right: 5%; padding-left: 5%; }
.text-box-flex { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; width: 90vw; max-width: 1400px; gap: 60px; }
.content-right .text-box-flex { flex-direction: row-reverse; text-align: right; }
.main-info { flex: 1; min-width: 350px; }
.desc-info { flex: 1.2; max-width: 600px; }
.main-info h2 { margin-bottom: 15px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
h2.carriers-h2 { font-size: 2.8rem; } 
.main-info p.subtitle { font-size: 1.2rem; color: white; margin-bottom: 25px; font-weight: 600; }
.btn-slide { display: inline-block; padding: 12px 35px; border: 3px solid #fff; text-transform: uppercase; font-weight: 800; color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.4); background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); }
.btn-slide:hover { background: white; color: black; }
.slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; z-index: 20; cursor: ew-resize; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; }
.handle-circle { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--red-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 25px rgba(0,0,0,0.8); flex-shrink: 0; font-size: 1.2rem; }

/* ========================================= */
/* --- MOBILE STATIC SECTIONS (FIX) --- */
/* ========================================= */
#mobile-static-sections { display: none; }

@media (max-width: 992px) {
    #mobile-static-sections { 
        display: block; 
        width: 100%;
        padding-bottom: 80px; 
        background-color: #000; 
    }
    .mobile-service-section { 
        position: relative; 
        height: auto; 
        min-height: 500px; 
        width: 100%; 
        overflow: hidden; 
        background-size: cover; 
        background-position: center; 
        display: flex; 
        align-items: center; 
        padding: 60px 5%; 
    }
    .mob-red-bg { background-image: url('/media/long-haul-truck-european-road.webp'); }
    .mob-red-bg::after { content: ''; position: absolute; inset: 0; background: rgba(183, 28, 28, 0.7); z-index: 1; }
    .mob-blue-bg { background-image: url('media/european-logistics-truck-intermodal-terminal.webp'); }
    .mob-blue-bg::after { content: ''; position: absolute; inset: 0; background: rgba(13, 71, 161, 0.7); z-index: 1; }
    .mob-content { position: relative; z-index: 2; text-align: center; color: white; max-width: 600px; margin: 0 auto; }
    .mob-content h2 { margin-bottom: 15px; }
    .mob-subtitle { font-size: 1.1rem; margin-bottom: 25px; font-weight: 600; opacity: 0.9; }
    .mob-desc { font-size: 1rem; margin-bottom: 30px; font-weight: 500; opacity: 0.9; }
}

/* ========================================= */
/* --- FLEET SECTION --- */
/* ========================================= */
.fleet-section { padding: 60px 0; text-align: center; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 40px; }
.fleet-item { position: relative; height: 300px; overflow: hidden; border-radius: 3px; border: none; }
.fleet-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fleet-item:hover img { transform: scale(1.05); }

/* ========================================= */
/* --- TRUSTED PARTNERS --- */
/* ========================================= */
.partners-section { background-color: #000; padding: 40px 0 40px 0; text-align: center; overflow: hidden; border: none; }
.partners-title { margin-bottom: 30px; letter-spacing: 1px; }
.logos-slider { position: relative; width: 100%; height: 80px; display: flex; align-items: center; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.logos-slide-track { display: flex; width: calc(200px * 26); animation: scroll 78s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 13)); } }
.partner-logo { width: 200px; height: 60px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; transition: all 0.4s ease-in-out; }
.partner-logo:hover img { filter: brightness(1) invert(0); opacity: 1; }

/* ========================================= */
/* --- FEATURES & CONTACT --- */
/* ========================================= */
.features-section { background-color: #000; padding: 0 0 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; color: white; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: #000; padding: 40px 30px; border-radius: 5px; text-align: center; border: 1px solid #222; transition: 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--blue-brand); background: #111; }
.icon-wrapper { font-size: 2.5rem; color: var(--red-brand); margin-bottom: 25px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: white; }
.feature-card p { font-size: 0.95rem; color: #999; line-height: 1.6; }
.director-section { background-color: #000; padding: 0 0 100px 0; text-align: center; }
.director-profile { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.img-wrapper { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 4px solid var(--blue-brand); box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; }
.img-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 101, 192, 0.5) 0%, transparent 100%); pointer-events: none; z-index: 2; }
.director-img { width: 100%; height: 100%; object-fit: cover; }
.director-info h3 { font-size: 2rem; margin-bottom: 5px; }
.director-info .position { font-size: 1.1rem; color: var(--red-brand); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-section { background-color: #050505; padding: 100px 5%; display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 40px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-item i { font-size: 1.5rem; color: var(--red-brand); margin-right: 20px; margin-top: 5px; }
.info-item h4 { font-size: 1.1rem; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.info-item span { color: #888; }
.contact-form { flex: 1; min-width: 300px; background: #111; padding: 40px; border-radius: 5px; border-top: 3px solid var(--blue-brand); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; color: #ccc; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; background: #222; border: 1px solid #333; color: white; font-family: 'Manrope', sans-serif; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-brand); outline: none; background: #2a2a2a; }
.btn-submit { width: 100%; padding: 15px; background: var(--blue-brand); border: none; color: white; text-transform: uppercase; font-weight: 800; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: #0d47a1; }

/* ========================================= */
/* --- FOOTER --- */
/* ========================================= */
footer { background:rgb(15, 15, 15); border-top: 1px solid #222; padding: 80px 5% 30px 5%; color: #ccc; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h3 { margin-bottom: 25px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-logo { margin-bottom: 20px; display: inline-flex; align-items: center; }
.footer-text { font-size: 0.9rem; line-height: 1.6; color: #888; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.95rem; color: #aaa; transition: 0.3s; }
.footer-links a:hover { color: var(--red-brand); padding-left: 5px; }
.footer-contact li { margin-bottom: 15px; display: flex; align-items: center; color: #aaa; font-size: 0.95rem; }
.footer-contact i { margin-right: 15px; color: var(--blue-brand); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid #111; font-size: 0.85rem; color: #555; }
.contact-link:hover, .footer-contact a:hover { color: var(--red-brand) !important; cursor: pointer; }
.info-item:hover i, .footer-contact li:hover i { transform: scale(1.1); transition: 0.3s; }

/* ========================================= */
/* --- CUSTOM SCROLLBAR --- */
/* ========================================= */
html { scrollbar-width: auto; scrollbar-color: var(--red-brand) #000; }
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background-color: var(--red-brand); border-radius: 8px; border: 3px solid #000; }
::-webkit-scrollbar-thumb:hover { background-color: #b71c1c; }



/* ========================================= */
/* --- SERVICES PAGE STYLES (DODATAK) --- */
/* ========================================= */

.services-split-section { 
    width: 100%; 
    background-color: #000; 
}

.services-split-wrapper { 
    display: flex; 
    width: 100%; 
    min-height: 100vh; 
    flex-wrap: wrap; /* Da se prebaci na mobilnom */
}

/* Kolone */
.service-column { 
    flex: 1; 
    padding: 80px 5%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

.transport-col { 
    border-right: 1px solid #222; 
}

.dispatch-col { 
    background-color: #000; 
}

/* Header unutar kolone */
.col-header { 
    margin-bottom: 60px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid #222; 
}

.col-title { 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: white; 
}

.col-intro { 
    font-size: 1.1rem; 
    color: #ccc; 
    line-height: 1.6; 
    max-width: 90%; 
}

/* Service Item (Ikonica + Tekst) */
.service-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 25px; 
    margin-bottom: 50px; 
}

/* Ikonica */
.service-item .icon-box { 
    width: 64px; 
    height: 64px; 
    min-width: 64px; /* OBAVEZNO: Sprečava skupljanje po širini */
    min-height: 64px; /* OBAVEZNO: Sprečava skupljanje po visini */
    aspect-ratio: 1 / 1; /* KLJUČNO: Tera browser da uvek drži kocku */
    
    flex-shrink: 0; 
    padding: 0; /* Nije potreban padding jer flex centrira ikonicu */
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.6)); 
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 8px 20px rgba(0,0,0,0.7); 
}

.service-item .icon-box i { 
    font-size: 1.6rem; 
    line-height: 1; 
    display: block; 
}

/* Boje */
.red-icon { color: var(--red-brand); box-shadow: inset 0 0 0 1px rgba(211,47,47,0.35), 0 10px 25px rgba(0,0,0,0.6); }
.blue-icon { color: var(--blue-brand); box-shadow: inset 0 0 0 1px rgba(21,101,192,0.35), 0 10px 25px rgba(0,0,0,0.6); }

/* Tekst servisa */
.service-item .text-box { 
    max-width: 720px; 
    text-align: left; 
}

.service-item .text-box h3 { 
    font-size: 1.4rem; 
    margin-bottom: 10px; 
    color: #fff; 
}

.service-item .text-box p { 
    font-size: 1rem; 
    color: #888; 
    line-height: 1.6; 
}

/* --- MOBILE SERVICES FIX --- */
@media (max-width: 992px) {
    .services-split-wrapper { 
        flex-direction: column; /* Jedno ispod drugog */
    }
    
    .service-column { 
        width: 100%; 
        padding: 60px 20px; 
        border-right: none; 
        border-bottom: 1px solid #222; 
    }
}

/* ========================================= */
/* --- FLEET PAGE SPECIFIC STYLES --- */
/* ========================================= */

/* 1. Resetovanje paddinga da bude u skladu sa ostalim stranicama */
.fleet-gallery-section {
    background-color: #000;
    /* Inline style u HTML-u vec ima padding, ali ovo je backup */
}

/* 2. Intro tekst specifično za Fleet */
.intro-fleet {
    text-align: center;
    margin-bottom: 60px;
}
.intro-fleet p {
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

/* 3. GRID SISTEM - SAMO ZA FLEET STRANICU */
/* Koristimo specifican selektor da ne pokvarimo Homepage */
.fleet-gallery-section .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dve kolone ovde (na Home je 3) */
    gap: 30px;
    margin-top: 40px;
}

/* 4. DIZAJN KARTICE */
.fleet-gallery-section .feature-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 5px;
    overflow: hidden; /* Da slika ne iscuri kad se zumira */
    transition: all 0.3s ease;
    padding: 0; /* Pregazimo default padding jer ovde imamo sliku */
    text-align: left; /* Resetujemo centriranje sa Home */
}

.fleet-gallery-section .feature-card:hover {
    border-color: var(--blue-brand);
    transform: translateY(-5px);
    background: #111;
}

/* 5. SLIKA UNUTAR KARTICE */
/* Ciljamo div koji drzi sliku */
.fleet-gallery-section .feature-card > div:first-child {
    height: 240px !important; /* Malo veca slika nego inline */
    overflow: hidden;
}

.fleet-gallery-section .feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-gallery-section .feature-card:hover img {
    transform: scale(1.1); /* Zoom efekat */
}

/* 6. TEKST I LISTA UNUTAR KARTICE */
.fleet-gallery-section .feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px !important;
    color: white;
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.4;
}

.icon-list li i {
    color: var(--red-brand);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========================================= */
/* --- MOBILE RESPONSIVE ZA FLEET --- */
/* ========================================= */
@media (max-width: 992px) {
    /* Vraćamo na jednu kolonu na mobilnom */
    .fleet-gallery-section .card-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Povećavamo visinu slike na mobilnom da se bolje vidi */
    .fleet-gallery-section .feature-card > div:first-child {
        height: 200px !important;
    }
    
    .fleet-gallery-section {
        padding: 60px 5% !important;
    }
}


/* ========================================= */
/* --- SERVICES STRANICA: STATIČNA DUGMAD --- */
/* ========================================= */

.services-page .btn-slide {
    display: inline-block;
    padding: 14px 30px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    /* Glatka tranzicija samo za boje */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    color: #ffffff;
}

/* --- 1. LOGISTICS PARTNERS (Crvena strana) --- */
.transport-col .btn-slide {
    background-color: rgba(211, 47, 47, 0.15); 
    border-color: rgba(211, 47, 47, 0.8);
}

.transport-col .btn-slide:hover {
    background-color: #000000; /* Crna pozadina */
    color: #d32f2f;            /* Crvena slova */
    border-color: #d32f2f;     /* Crvena ivica */
    /* Bez transform: translateY */
}

/* --- 2. CARRIERS & SUBCONTRACTORS (Plava strana) --- */
.dispatch-col .btn-slide {
    background-color: rgba(21, 101, 192, 0.15); 
    border-color: rgba(21, 101, 192, 0.8);
}

.dispatch-col .btn-slide:hover {
    background-color: #000000; /* Crna pozadina */
    color: #1565c0;            /* Plava slova */
    border-color: #1565c0;     /* Plava ivica */
    /* Bez transform: translateY */
}

/* --- Mobilna adaptacija --- */
@media (max-width: 992px) {
    .services-page .btn-slide {
        width: 100%;
        max-width: 280px;
        display: block;
        margin: 20px auto 0;
        text-align: center;
    }
}

/* ========================================= */
/* --- CARRIERS PAGE: FINAL CSS --- */
/* ========================================= */

/* --- 1. Hero H1 Stilizacija --- */
.carrier-theme .hero-text h1 span {
    color: var(--blue-brand);
}

/* --- 2. Padding Pravila (80/80 i 0/80) --- */
.carrier-info-block {
    padding-top: 0;
    padding-bottom: 80px; 
    width: 100%;
}

.carrier-intro {
    padding-top: 80px !important; 
    padding-bottom: 80px;
}

/* --- 3. Tipografija (Naslovi i Podnaslovi) --- */
.carrier-info-block h2 {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Plava crtica ispod h2 */
.carrier-info-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--blue-brand);
}

.carrier-info-block h3 {
    margin: 30px 0 20px 0;
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
}

.carrier-info-block p {
    color: #ccc;
    line-height: 1.6;
}

/* --- 4. INFO-IMAGE (Stil za slike unutar sadržaja) --- */
.info-image {
    width: 100%;
    margin: 0; /* Marginu kontroliše sekcija preko paddinga */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
    background: #000;
    margin-top: 40px;
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%); /* Blagi crno-beli efekat */
    transition: transform 0.5s ease, filter 0.5s ease;
}



/* --- 5. Tabele (Plavi Header) --- */
.table-wrapper {
    margin: 30px 0;
    overflow-x: auto;
    border: 1px solid #222;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #0a0a0a;
}

table th {
    background: rgba(21, 101, 192, 0.15); 
    color: #ffffff;
    padding: 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--blue-brand);
    text-align: left;
}

table td {
    padding: 20px;
    border-bottom: 1px solid #1a1a1a;
    color: #ccc;
}

/* --- 6. Ikonice i Liste --- */
.carrier-theme .icon-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.carrier-theme .icon-list li i {
    color: var(--blue-brand) !important;
    margin-top: 5px;
}

/* --- 7. CTA Blok i Plavo Dugme --- */
.carrier.cta-block {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.15) 0%, rgba(10, 10, 10, 0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 101, 192, 0.25);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
}

/* Uklanjanje crte iz CTA naslova */
.carrier-theme .cta-block h2::after {
    display: none !important;
}

.cta-block .btn-slide {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--blue-brand);
    border: 2px solid var(--blue-brand);
    color: #ffffff;
    padding: 14px 30px;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-block .btn-slide:hover {
    background-color: #000000;
    color: var(--blue-brand);
    border-color: var(--blue-brand);
}

.carrier.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* --- 8. Responsive --- */
@media (max-width: 768px) {
    .carrier-intro { padding-top: 60px !important; padding-bottom: 60px; }
    .carrier-info-block { padding-bottom: 60px; }
    .cta-block { padding: 40px 20px; }
    table th, table td { padding: 12px; font-size: 0.9rem; }
}


/* ========================================= */
/* --- TRANSPORT PAGE: FINAL CSS (RED) --- */
/* ========================================= */

/* --- 1. Hero H1 Stilizacija --- */
.transport-theme .hero-text h1 span {
    color: var(--red-brand);
}

/* --- 2. Padding Pravila (80/80 i 0/80) --- */
.transport-info-block {
    padding-top: 0;
    padding-bottom: 80px; 
    width: 100%;
}

.transport-intro {
    padding-top: 80px !important; 
    padding-bottom: 80px;
}

/* --- 3. Tipografija --- */
.transport-info-block h2 {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Crvena crtica ispod naslova */
.transport-info-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--red-brand);
}

.transport-info-block p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- 4. Slike (info-image) --- */
.info-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
    background: #000;
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: transform 0.5s ease, filter 0.5s ease;
}



/* --- 5. Tabele (Crveni Header) --- */
.table-wrapper {
    margin: 30px 0;
    overflow-x: auto;
    border: 1px solid #222;
    border-radius: 8px;
}

.transport-theme table th {
    background: rgba(211, 47, 47, 0.15); /* Nežna crvena pozadina */
    color: #ffffff;
    padding: 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--red-brand);
    text-align: left;
}

.transport-theme table td {
    padding: 20px;
    border-bottom: 1px solid #1a1a1a;
    color: #ccc;
}

/* --- 6. Ikonice --- */
.transport-theme .icon-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #ccc;
}

.transport-theme .icon-list li i {
    color: var(--red-brand) !important;
    margin-top: 5px;
}

/* --- 7. CTA Blok i Crveno Dugme --- */
.transport.cta-block {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(10, 10, 10, 0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 47, 47, 0.25);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
}

/* Uklanjanje crte iz CTA naslova */
.transport-theme .cta-block h2::after {
    display: none !important;
}

.transport-theme .btn-slide {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--red-brand);
    border: 2px solid var(--red-brand);
    color: #ffffff;
    padding: 14px 30px;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.transport-theme .btn-slide:hover {
    background-color: #000000;
    color: var(--red-brand);
    border-color: var(--red-brand);
}

.transport.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* --- 8. Responsive --- */
@media (max-width: 768px) {
    .transport-intro { padding-top: 60px !important; padding-bottom: 60px; }
    .transport-info-block { padding-bottom: 60px; }
    .cta-block { padding: 40px 20px; }
}



.error-bg {
    background-image: url('https://images.unsplash.com/photo-1494412574643-35d324688133?q=80&w=2075&auto=format&fit=crop');
    filter: grayscale(100%) brightness(0.3);
}

.error-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 5;
}

.error-code {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    color: var(--red-brand);
    text-shadow: 0 0 50px rgba(211, 47, 47, 0.3);
    margin: 0;
    letter-spacing: -5px;
}

.error-subtitle {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    margin: 10px 0 20px 0;
}

.error-desc {
    font-size: 1.1rem;
    color: #999;
    max-width: 480px;
    margin: 0 auto 40px auto;
}

@media (max-width: 768px) {
    .error-code { font-size: 6rem; }
    .error-subtitle { font-size: 1.5rem; }
}

/* ========================================= */
/* --- DIRECTOR LINKEDIN CARDS --- */
/* ========================================= */

.director-links {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.linkedin-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-card i {
    font-size: 2rem;
    color: #0A66C2; /* LinkedIn blue */
    flex-shrink: 0;
}

.linkedin-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.linkedin-text .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 3px;
}

.linkedin-text strong {
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

/* Hover efekat */
.linkedin-card:hover {
    transform: translateY(-5px);
    background: #111;
    border-color: var(--blue-brand);
}

/* Blaga diferencijacija */
.linkedin-card.company {
    border-bottom: 2px solid grey;
}

.linkedin-card.personal {
    border-bottom: 2px solid grey;
}

/* ========================================= */
/* --- MOBILE --- */
/* ========================================= */
@media (max-width: 768px) {
    .director-links {
        grid-template-columns: 1fr;
    }
}

