/* --- OSNOVNI RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: only light;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1146 50%, #000000 100%);
    color: #242424; 
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Pozadina Mreža */
.network-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0a0a0a; /* Tamna pozadina */
}

/* --- HEADER --- */
.header, 
.header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    
    /* Stakleni efekat */
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.5) 0%, rgba(36, 36, 36, 0.8) 100%) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Logo za tamnu temu (beli) - podrazumevano vidljiv */
.logo-dark {
    display: block;
}

/* Logo za svetlu temu (u boji) - podrazumevano sakriven */
.logo-light {
    display: none;
}

/* Light theme - zameni logoe */
body.light-theme .logo-dark {
    display: none;
}

body.light-theme .logo-light {
    display: block;
}

/* --- MENI LINKOVI --- */
.nav-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    color: #c7c7c7; 
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
    font-size: 0.8rem; 
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- PROJEKTI DROPDOWN MENU --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(25, 25, 25, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #c7c7c7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.15);
}

.nav-dropdown-item.has-submenu {
    position: relative;
}

.nav-dropdown-item.has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: #c7c7c7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-dropdown-item.has-submenu > a:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.15);
}

.submenu-arrow {
    transition: transform 0.3s ease;
}

.nav-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(25, 25, 25, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown-item.has-submenu:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
}

.nav-submenu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #c7c7c7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-submenu a:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.15);
}

/* --- HAMBURGER DUGME (DODATO - NEDOSTAJALO JE) --- */
.hamburger {
    display: none; /* Sakriveno na desktopu */
    cursor: pointer;
    z-index: 2000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #c7c7c7; /* Svetla boja crtica za tamnu temu */
    border-radius: 2px;
}

/* --- LANGUAGE SELECTOR --- */
.language-selector {
    position: relative;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05); 
    border: 1px solid rgba(215, 215, 215, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.7rem;
    color: #c7c7c7; 
}

.current-lang:hover {
    background: rgba(161, 90, 90, 0.166);
    border-color: #f87171;
}

.flag {
    width: 22px;
    height: 17px;
    border-radius: 1px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: #c7c7c7;
}

/* Theme Toggle in Nav */
.theme-toggle-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(215, 215, 215, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #c7c7c7;
    margin-right: 0.5rem;
}

.theme-toggle-nav:hover {
    background: rgba(161, 90, 90, 0.166);
    border-color: #f87171;
}

.theme-toggle-nav .sun-icon {
    display: none;
}

.theme-toggle-nav .moon-icon {
    display: block;
}

body.light-theme .theme-toggle-nav .sun-icon {
    display: block;
}

body.light-theme .theme-toggle-nav .moon-icon {
    display: none;
}

body.light-theme .theme-toggle-nav {
    color: #444;
}

body.light-theme .dropdown-arrow {
    color: #242424;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* PADAJUĆI MENI - Tamna tema */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;

    /* Tamna pozadina */
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);

    /* BLUR */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Ostalo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem;
    font-size: 0.8rem;
    color: #f0f0f0;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Light theme - svetli dropdown */
body.light-theme .lang-dropdown {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .lang-option {
    color: #1e1e1e;
}

body.light-theme .lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

/* --- GLAVNI SADRŽAJ --- */
.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0rem 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: white;
    text-align: left;
    padding: 120px 40px;
}

/* Hero pozadinska slika sa zoom animacijom */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: heroZoom 25s ease-in-out infinite alternate;
    z-index: 0;
}

/* Hero tamni overlay - crn */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.82) 50%,
        rgba(10, 5, 5, 0.78) 100%
    );
    z-index: 1;
}

/* Lagana zoom animacija */
@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding-left: 5%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.75rem;

    background: linear-gradient(
        110deg,
        #e0e0e0 0%,
        #ffffff 45%,
        #ffffff 55%,
        #e0e0e0 100%
    );

    background-size: 200% auto;

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: fadeIn 0.6s ease-out, shine 6s linear infinite;

    white-space: normal;
    overflow: visible;
    letter-spacing: -0.035em;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.75);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    max-width: 550px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.cta-button {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    padding: 1.1rem 3rem;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before { left: 100%; }
.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: #f0f0f0;
    letter-spacing: -0.03em;
    position: relative;
    display: block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

/* Projects Showcase Section */
.projects-showcase {
    padding: 2rem 0 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.3) 0%, rgba(20, 20, 20, 0.35) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.projects-showcase::before,
.projects-showcase::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.projects-showcase::before {
    top: 0;
}

.projects-showcase::after {
    bottom: 0;
}

.projects-showcase-title {
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

body.light-theme .projects-showcase-title {
    color: rgba(30, 30, 30, 0.5);
}

/* Light theme - Projects Showcase background */
body.light-theme .projects-showcase {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.light-theme .projects-showcase::before,
body.light-theme .projects-showcase::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.project-item {
    position: relative;
}

.project-item > a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.project-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    transition: width 0.3s ease;
}

.project-item:hover > a {
    color: #ffffff;
}

.project-item:hover > a::after {
    width: 100%;
}

.project-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 280px;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.project-popup::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(30, 30, 30, 0.95);
}

.project-item:hover .project-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px);
}

.project-popup h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-popup h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.project-popup p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Light theme - Projects Showcase */
body.light-theme .project-item > a {
    color: rgba(30, 30, 30, 0.6);
}

body.light-theme .project-item:hover > a {
    color: #dc2626;
}

body.light-theme .project-popup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .project-popup::before {
    border-top-color: rgba(255, 255, 255, 0.98);
}

body.light-theme .project-popup h4 {
    color: #1a1a1a;
}

body.light-theme .project-popup p {
    color: rgba(30, 30, 30, 0.75);
}

/* Mobile - Projects Showcase */
@media (max-width: 768px) {
    .projects-showcase {
        padding: 1.25rem 0;
    }

    .projects-list {
        gap: 1rem 1.5rem;
    }

    .project-item > a {
        font-size: 0.8rem;
    }

    .project-popup {
        width: 240px;
        padding: 1rem;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .project-popup h4 {
        font-size: 0.9rem;
    }

    .project-popup p {
        font-size: 0.8rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.3) 0%, rgba(20, 20, 20, 0.35) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.45);
}

/* Logo style for service cards */
.service-icon.service-logo {
    background: transparent;
    width: 156px;
    height: 156px;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.service-icon.service-logo::before,
.service-icon.service-logo::after {
    display: none;
}

.service-icon.service-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon.service-logo img.logo-dark {
    display: block !important;
}

.service-icon.service-logo img.logo-light {
    display: none !important;
}

body.light-theme .service-icon.service-logo img.logo-dark {
    display: none !important;
}

body.light-theme .service-icon.service-logo img.logo-light {
    display: block !important;
}

.service-card:hover .service-icon.service-logo {
    box-shadow: none;
    transform: scale(1.08);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f0f0f0;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-button {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    display: inline-block;
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.45);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.3) 0%, rgba(20, 20, 20, 0.35) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.about-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    text-align: center;
}

.about-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.stat {
    flex: 0 1 200px;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.75) 0%, rgba(20, 20, 20, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.12);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Why Partners Choose Us */
.why-partners {
    margin-top: 3rem;
    width: 100%;
    max-width: 900px;
}

.why-partners-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.why-partners-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

.why-partners-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-partners-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.4) 0%, rgba(30, 30, 30, 0.45) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.why-partners-item:hover {
    transform: translateX(5px);
    border-color: rgba(220, 38, 38, 0.3);
}

.why-partners-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 10px;
    color: white;
}

.why-partners-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.why-partners-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Light theme - Why Partners */
body.light-theme .why-partners-title {
    color: #1a1a1a;
}

body.light-theme .why-partners-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 250, 250, 0.65) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .why-partners-content h4 {
    color: #1a1a1a;
}

body.light-theme .why-partners-content p {
    color: rgba(30, 30, 30, 0.75);
}

/* Mobile - Why Partners */
@media (max-width: 768px) {
    .why-partners {
        margin-top: 2.5rem;
    }

    .why-partners-title {
        font-size: 1.25rem;
    }

    .why-partners-item {
        padding: 1rem;
    }

    .why-partners-icon {
        width: 40px;
        height: 40px;
    }

    .why-partners-icon svg {
        width: 20px;
        height: 20px;
    }

    .why-partners-content h4 {
        font-size: 0.95rem;
    }

    .why-partners-content p {
        font-size: 0.85rem;
    }
}

/* Contact Section */
.contact {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.contact::before,
.contact::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
    z-index: 10;
}

.contact::before {
    top: 0;
}

.contact::after {
    bottom: 0;
}

.contact-map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-map-background iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

body.light-theme .contact-map-background iframe {
    filter: none;
}

.contact-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 600px;
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.5) 0%, rgba(10, 10, 10, 0.55) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}

body.light-theme .contact-form-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 250, 250, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

body.light-theme .contact-form-title {
    color: #1a1a1a;
}

/* Klikabilni kontakt linkovi */
.contact-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
}

.contact-link:hover .contact-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    transform: scale(1.1);
}

.contact-link:hover h4 {
    color: #dc2626;
}

.contact-form {
    width: 100%;
}

.form-group { margin-bottom: 1.25rem; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #f0f0f0;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    padding: 1.1rem;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.45);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.75) 0%, rgba(30, 30, 30, 0.7) 50%, rgba(15, 15, 15, 0.75) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dc2626 50%, transparent 100%);
}
    z-index: 10;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #dc2626 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #FFFFFF;
}

.footer-brand .logo {
    margin: 0 0 1.25rem 0;
    height: 50px;
    width: auto;
    display: block;
}

.footer-brand .brand-text { display: none; }

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    line-height: 1.5;
    font-size: 0.8rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.footer-section a {
    display: table;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    position: relative;
}

.footer-contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transition: width 0.3s ease;
}

.footer-contact-link:hover::after {
    width: 100%;
}

.footer-contact-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    width: 14px;
    height: 14px;
}

.footer-address,
.footer-company-info {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-company-info {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* --- ANIMACIJE --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays for cards */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.stat:nth-child(1) { transition-delay: 0s; }
.stat:nth-child(2) { transition-delay: 0.15s; }
.stat:nth-child(3) { transition-delay: 0.3s; }

/* --- RESPONSIVE / MOBILNI (DODATO - NEDOSTAJALO JE) --- */
@media (max-width: 1024px) {
    .nav { padding: 1rem; }
    .container { padding: 0 1.5rem; }
    .about-content { gap: 2rem; }
    .about-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .stat { flex-basis: auto; max-width: 300px; margin: 0 auto; }
    .contact { min-height: 500px; }
    .contact-overlay { min-height: 500px; padding: 2rem; justify-content: center; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}


@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .section-title { font-size: 1.8rem; }
    .service-card, .contact-form { padding: 1.5rem; }
}

/* Accessibility - visually hidden but screen reader accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Optimizations */
.gpu-accelerated { transform: translateZ(0); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .particle, .geometric-shape { animation: none; }
}
/* --- MOBILNI PRIKAZ (768px) --- */
@media (max-width: 768px) {

    /* Osnovna prilagođavanja */
    .nav { flex-direction: row; }
    .hero { padding-top: 120px; }
    .service-card { padding: 2rem; }

    .hero-title {
        font-size: 2.3rem !important;
        text-align: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        line-height: 1.2;
        width: 100%;
    }

    .hero-subtitle {
        text-align: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-content {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .cta-button {
        margin: 0 auto !important;
        display: inline-block;
    }

    /* 1. HAMBURGER DUGME */
    .hamburger {
        display: block;
        z-index: 2000;
    }

    /* Kada je meni otvoren, crtice su SVETLE za tamnu temu */
    .hamburger.active .bar {
        background-color: #f0f0f0 !important;
    }

    /* Light theme - crne crtice kada je meni otvoren */
    body.light-theme .hamburger.active .bar {
        background-color: #000000 !important;
    }

    /* Animacija hamburgera */
    .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); }

    /* 2. MOBILNI MENI - Tamna tema */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%; /* Sakriven */
        width: 100%;
        height: 100vh;

        /* Tamna pozadina za tamnu temu */
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 10%, rgba(30, 30, 30, 0.98) 80%);

        /* AGRESIVNI BLUR */
        -webkit-backdrop-filter: blur(30px) !important; /* Safari / iOS */
        backdrop-filter: blur(30px) !important;          /* Chrome / Android */

        /* Trik za aktivaciju GPU (pomaže da se blur prikaže) */
        transform: translateZ(0);
        will-change: backdrop-filter;

        /* Raspored */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 1500;
        padding-top: 60px;
    }

    .nav-menu.active {
        left: 0;
    }

    /* 3. LINKOVI - Svetli za tamnu temu */
    .nav-link {
        font-size: 1.5rem;
        margin: 1.5rem 0;
        color: #f0f0f0 !important; /* Svetao tekst */
        font-weight: 700;
        display: block;
    }

    .nav-link:hover {
        color: #dc2626 !important;
    }

    /* Mobile dropdown menu */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-dropdown-toggle {
        justify-content: center;
        font-size: 1.5rem;
        margin: 1.5rem 0;
        color: #f0f0f0 !important;
        font-weight: 700;
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 8px;
        margin: 0.5rem 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .nav-dropdown-item,
    .nav-dropdown-item.has-submenu > a {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        color: #c7c7c7 !important;
    }

    .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        margin: 0;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .nav-dropdown-item.has-submenu.active .nav-submenu {
        max-height: 200px;
        padding: 0.5rem 0;
    }

    .nav-submenu a {
        font-size: 0.9rem;
        padding-left: 2.5rem;
    }

    /* Light theme mobilni meni */
    body.light-theme .nav-menu {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 10%, rgba(240, 240, 240, 0.98) 80%);
    }

    body.light-theme .nav-link {
        color: #202020 !important;
    }

    body.light-theme .nav-dropdown-toggle {
        color: #202020 !important;
    }

    body.light-theme .nav-dropdown-menu {
        background: rgba(0, 0, 0, 0.05);
    }

    body.light-theme .nav-dropdown-item,
    body.light-theme .nav-dropdown-item.has-submenu > a {
        color: #444 !important;
    }

    body.light-theme .nav-submenu {
        background: rgba(0, 0, 0, 0.03);
    }

    body.light-theme .nav-submenu a {
        color: #444 !important;
    }

    /* Reset margine za container na mobilnom */
    .container { padding: 0 1.5rem; }

    /* Ostala prilagođavanja */
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact { min-height: 550px; }
    .contact-overlay { min-height: 550px; padding: 1.5rem; justify-content: center; }
    .contact-form-wrapper { padding: 2rem; max-width: 100%; }
    .footer-content { grid-template-columns: 1fr; }

        /* POPRAVKA ZA KARTICE U SEKCIJI O NAMA */
/* OVO IDE UNUTAR @media (max-width: 768px) */

    .about-stats {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centrira sve elemente vertikalno */
        width: 100%;
        gap: 1.5rem;
    }
    .stat {
        /* 1. TERAMO KARTICU DA BUDE ŠIROKA KOLIKO I EKRAN (minus padding kontejnera) */
        width: 100% !important; 
        max-width: 100% !important; /* Ukida ograničenje širine ako postoji */
        
        /* 2. CENTRIRANJE SADRŽAJA UNUTAR KARTICE */
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        /* 3. RESETOVANJE MARGINA */
        margin: 0 !important;
        
        /* Opciono: Visina */
        padding: 2rem;
            }
/* --- CENTRIRANJE FUTERA NA MOBILNOM --- */

    .footer {
        text-align: center;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-brand .logo {
        margin: 0 auto 1rem auto;
    }

    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-section h4 {
        text-align: center;
        width: 100%;
    }

    .footer-section a {
        text-align: center;
    }

    .footer-contact-link {
        justify-content: center;
    }

    .footer-address,
    .footer-company-info {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        width: 100%;
    }
}

/* ============================================
   FUNCTIONAL COMPONENTS
   ============================================ */

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
}

/* --- WhatsApp Button --- */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* --- Cookie Consent Banner --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 1.25rem 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.cookie-btn.decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    animation: preloaderFade 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

/* ============================================
   LIGHT THEME
   ============================================ */
body.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #f0f0f0 100%);
}

body.light-theme .network-background {
    background: #e0e0e0;
}

body.light-theme .header,
body.light-theme .header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .nav-link {
    color: #444;
}

body.light-theme .nav-link:hover {
    color: #dc2626;
}

/* Light theme dropdown menu */
body.light-theme .nav-dropdown-menu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .nav-dropdown-item,
body.light-theme .nav-dropdown-item.has-submenu > a {
    color: #444;
}

body.light-theme .nav-dropdown-item:hover,
body.light-theme .nav-dropdown-item.has-submenu > a:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

body.light-theme .nav-submenu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .nav-submenu a {
    color: #444;
}

body.light-theme .nav-submenu a:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

body.light-theme .current-lang {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #444;
}

body.light-theme .bar {
    background-color: #333;
}

body.light-theme .hero::after {
    background: linear-gradient(
        135deg,
        rgba(245, 245, 245, 0.82) 0%,
        rgba(235, 235, 235, 0.78) 50%,
        rgba(240, 235, 235, 0.75) 100%
    );
}

body.light-theme .hero-title {
    background: linear-gradient(110deg, #333 0%, #1a1a1a 45%, #1a1a1a 55%, #333 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .hero-subtitle {
    color: rgba(0, 0, 0, 0.7);
}

body.light-theme .section-title {
    color: #1a1a1a;
}

body.light-theme .footer {
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.85) 0%, rgba(20, 45, 80, 0.8) 50%, rgba(15, 30, 60, 0.85) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

body.light-theme .theme-toggle {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

body.light-theme .theme-toggle .sun-icon {
    display: block;
}

body.light-theme .theme-toggle .moon-icon {
    display: none;
}

body.light-theme .cookie-consent {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.98) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .cookie-content p {
    color: #333;
}

body.light-theme .cookie-btn.decline {
    color: #555;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .cookie-btn.decline:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

/* Light theme - kartice i segmenti */
body.light-theme .service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 245, 245, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .service-title {
    color: #1a1a1a;
}

body.light-theme .service-description {
    color: rgba(30, 30, 30, 0.75);
}

body.light-theme .stat {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .stat-label {
    color: rgba(30, 30, 30, 0.6);
}

body.light-theme .about {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.light-theme .about::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

/* Light theme - All separator lines in blue */
body.light-theme .section-title::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

body.light-theme .services::before {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

body.light-theme .contact::before,
body.light-theme .contact::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

body.light-theme .contact-form-title::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

body.light-theme .footer::before {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.7) 50%, transparent 100%);
}

body.light-theme .why-partners-title::after {
    background: linear-gradient(90deg, transparent 0%, rgba(20, 45, 80, 0.5) 50%, transparent 100%);
}

body.light-theme .project-popup h4::after {
    background: linear-gradient(90deg, rgba(20, 45, 80, 0.8), rgba(30, 60, 100, 0.8));
}

body.light-theme .about-description {
    color: rgba(30, 30, 30, 0.85);
}

body.light-theme .stat {
    background: linear-gradient(145deg, rgba(245, 245, 245, 0.9) 0%, rgba(235, 235, 235, 0.85) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .stat-number {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .stat-label {
    color: rgba(30, 30, 30, 0.7);
}


body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: rgba(30, 30, 30, 0.5);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background: #fff;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .theme-toggle {
        top: auto;
        bottom: 160px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
