/* --- RESET & VARIJABLE --- */
:root {
    --primary-blue: #0056b3;      /* Glavna plava */
    --dark-blue: #002a4d;         /* Tamno plava (Navy) */
    --accent-blue: #e6f2ff;       /* Jako svijetlo plava za pozadine */
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --shadow: 0 10px 30px rgba(0, 42, 77, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}
/* Mobilni prikaz (max-width ovisi o tvojim postavkama, npr 768px) */

/* Opcionalno: Sticky efekt */
nav.scrolled {
    background: white; /* Ili neka druga boja kad se skrola */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- UTILITY KLASE --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--accent-blue);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-blue);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- NAVIGACIJA --- */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: rgba(251, 249, 249, 0.977);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    opacity: 0.9 !important;}

.logo span {
    color: var(--primary-blue);
 
}

.logo img{
     width: 100px; 
    height: auto; 
    border-radius: 8px;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark-blue)!important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    
}

.nav-links a:hover {
    color: var(--primary-blue)!important;
}

.btn-nav {
    padding: 8px 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    color: var(--primary-blue) !important;
}

.btn-nav:hover {
    background: var(--primary-blue);
    color: white !important;
}

.mobile-menu-icon {
    display: none; /* Ne vidi se na velikim ekranima */
    cursor: pointer;
    font-size: 1.5rem; /* Povećaj ikonicu */
    color: #333; /* Boja ikonice */
}
 

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 90%;
            margin: auto;
            height: 100%;
        }

        .logo { font-size: 1.5rem; font-weight: bold; }

        /* Desktop Menu - default */
        .nav-links {
            display: flex;
            list-style: none;
        }
        .nav-links li a {
            color: #fff;
            text-decoration: none;
            margin-left: 20px;
            font-size: 1rem;
        }

        /* Ikonica - skrivena na desktopu */
        .mobile-menu-icon {
            display: none; 
            cursor: pointer;
            font-size: 1.8rem;
        }

        /* 3. MOBILNI STILOVI (Ovdje je magija) */
        @media screen and (max-width: 768px) {
            
            /* Pokaži ikonicu */
            .mobile-menu-icon {
                display: block;
                z-index: 1001; /* Mora biti iznad menija da bi se kliknulo X */
            }

            /* Sakrij i stiliziraj meni */
            .nav-links {
                position: fixed !important;
                right: 0 !important;
                top: 0 !important;
                height: 100vh !important;
                background-color: #e8e8ebf3 !important; /* Tamna pozadina za meni */
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                width: 70% !important;
                transform: translateX(100%); /* Gurni ga van ekrana */
                transition: transform 0.4s ease-in-out;
                z-index: 1000;
            }

            .nav-links li { margin: 25px 0; }

            /* KLASA KOJU JS DODAJE */
            .nav-active {
                transform: translateX(0%); /* Vrati meni na ekran */
            }
        }

/* --- HERO SEKCIJA --- */
header {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1616455579100-2ceaa4eb2d37?q=80&w=1470&auto=format&fit=crop'); /* Slika vožnje/puta */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0, 42, 77, 0.9) 0%, rgba(0, 86, 179, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.badge {
    background: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content h1 span {
    color: #4da6ff; /* Svjetlija plava za kontrast na tamnoj pozadini */
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

/* --- STATISTIKA --- */
.stats-section {
    background: var(--primary-blue);
    padding: 40px 0;
    margin-top: -50px; /* Preklapanje preko hero sekcije */
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    color: var(--white);
}

.stat-item h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PONUDA (FEATURES) --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    color: var(--primary-blue);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 20px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top: 4px solid var(--primary-blue);
}

/* Poseban stil za istaknutu karticu */
.highlight-card {
    border-top: 4px solid var(--primary-blue);
    background: #fff;
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.list-check {
    list-style: none;
    margin-top: 20px;
}

.list-check li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.list-check i {
    color: var(--primary-blue);
    margin-right: 10px;
}

/* --- UČIONICA --- */
.split-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.text-content h3 {
    color: var(--primary-blue);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tag {
    background: var(--accent-blue);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}

.note {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border-left: 4px solid var(--primary-blue);
    color: var(--dark-blue);
    font-weight: 600;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-cta {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.footer-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-cta p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.btn-white {
    background: var(--white);
    color: var(--dark-blue);
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-white:hover {
    background: var(--primary-blue);
    color: white;
}

.footer-links {
    text-align: center;
    font-size: 0.9rem;
}

.logo.white {
    color: var(--white);
    margin: 10px;
    margin-bottom: 0px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .split-section { flex-direction: column; }
    .nav-links { display: none; } /* Za demo sakrivamo linkove na mobitelu */
    .mobile-menu-icon { display: block; }
    .stats-section { margin-top: 0; }
}
