/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #f3f4f6;
    color: #111827;
    line-height: 1.6;
}

/* Global container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & nav */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-logo .tagline {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Logo ikonica */
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: radial-gradient(circle at top, #dbeafe, #eff6ff);
}

/* Nav linkovi */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #111827;
}

.nav-links a.active {
    color: #111827;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Nav desna strana */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Nav CTA */
.nav-cta {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    font-size: 0.85rem;
    text-decoration: none;
    color: #f9fafb;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

/* Language switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: #3b82f6;
    color: #f9fafb;
}

/* Hamburger */
.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
}

/* Language visibility – SR / EN / SK */
.lang-sr,
.lang-en,
.lang-sk {
    display: inline;
}

html[data-lang="sr"] .lang-en,
html[data-lang="sr"] .lang-sk {
    display: none;
}

html[data-lang="en"] .lang-sr,
html[data-lang="en"] .lang-sk {
    display: none;
}

html[data-lang="sk"] .lang-sr,
html[data-lang="sk"] .lang-en {
    display: none;
}

/* Hero */
.hero {
    padding: 60px 0 70px;
    background: radial-gradient(circle at top left, #eff6ff 0, #ffffff 45%, #ffffff 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 11px;
    border-radius: 999px;
    background: #e5f2ff;
    color: #1f2937;
    margin-bottom: 16px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

/* Hero text */
.hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 14px;
    color: #111827;
}

.hero h1 .highlight {
    display: block;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 0.98rem;
    max-width: 520px;
    color: #4b5563;
    margin-bottom: 22px;
}

/* Hero actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #22c55e);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f3f4f6;
}

/* Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    min-width: 140px;
}

.stat-card strong {
    font-size: 1.05rem;
    color: #111827;
}

.stat-card p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

/* Hero card (mapa) */
.hero-card {
    position: relative;
    background: #ffffff;
    padding: 18px 18px 20px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-card-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 0.7rem;
}

.hero-card-body {
    border-radius: 16px;
    background: radial-gradient(circle at top, #dbeafe, #eff6ff);
    padding: 14px;
    border: 1px solid #bfdbfe;
    min-height: 190px;
    position: relative;
    overflow: hidden;
}

/* “Mapa” efekat */
.map-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
}

.map-route {
    position: absolute;
    inset: 20px 30px;
    border-radius: 999px;
    border: 1px dashed rgba(37,99,235,0.5);
}

.map-node {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 2px solid #eff6ff;
}

.map-node.start {
    background: #22c55e;
    left: 12%;
    top: 20%;
}

.map-node.mid {
    background: #3b82f6;
    left: 52%;
    top: 50%;
}

.map-node.end {
    background: #f97316;
    right: 10%;
    bottom: 16%;
}

/* Kamion */
.map-truck {
    position: absolute;
    width: 34px;
    height: 20px;
    border-radius: 9px;
    border: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: #1d4ed8;
    color: #f9fafb;
    top: 34%;
    left: 30%;
}

/* Hero footer info */
.hero-card-footer {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    font-size: 0.8rem;
}

.hero-card-footer div span {
    display: block;
    color: #6b7280;
    font-size: 0.7rem;
}

.hero-card-footer div strong {
    font-size: 0.9rem;
    color: #111827;
}

/* Sekcije */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #3b82f6;
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.9rem;
    margin-bottom: 8px;
    color: #111827;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 18px 18px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
    background: #eff6ff;
}

.card h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: #111827;
}

.card p {
    font-size: 0.88rem;
    color: #6b7280;
}

/* Two columns */
.two-columns {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center;
}

/* Timeline */
.timeline {
    border-left: 2px solid #e5e7eb;
    padding-left: 16px;
    margin-top: 12px;
}

.timeline-item {
    margin-bottom: 10px;
}

.timeline-item strong {
    font-size: 0.9rem;
    color: #111827;
}

/* Kontakt grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 26px;
}

/* Form card */
.form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 18px 18px 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 5px;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 9px 11px;
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

/* Info card */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 18px 18px 20px;
    font-size: 0.9rem;
}

.info-card h3 {
    margin-bottom: 8px;
    color: #111827;
}

.info-row {
    margin-bottom: 8px;
}

.info-row span {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
}

/* Footer */
footer {
    border-top: 1px solid #e5e7eb;
    padding: 14px 0 18px;
    background: #ffffff;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: #111827;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner,
    .two-columns,
    .contact-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 56px;
        right: 0;
        left: 0;
        background: #ffffff;
        padding: 10px 0 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        display: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 6px 5%;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}
