@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2680eb;      /* Edovoda Plava */
    --primary-dark: #155bb5;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; }

/* --- 1. LEBDEĆI HEADER (FIXED) --- */
.header-wrapper {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1320px;
    z-index: 9999;
}

.top-bar {
    background: #212529;
    color: #fff;
    padding: 10px 30px;
    border-radius: 15px 15px 0 0;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navbar {
    background: #fff;
    padding: 15px 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-link:hover { color: var(--primary) !important; }

.btn-header {
    background: var(--primary);
    color: white !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(38, 128, 235, 0.4);
    transition: 0.3s;
}

.btn-header:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* --- 2. HERO SEKCIJA --- */
.hero-section {
    height: 100vh;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 80px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- 3. O NAMA (BLOB SLIKA) --- */
.section-padding { padding: 100px 0; }

.blob-wrapper {
    position: relative;
    padding: 20px;
}

.blob-img {
    width: 100%;
    /* Oblik "suze" */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 50px rgba(38, 128, 235, 0.15);
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 0; right: 20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #eff6ff;
}

.experience-badge h3 {
    color: var(--primary);
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}

.blue-info-box {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-top: 30px;
}

/* --- 4. STATISTIKA --- */
.stats-section {
    background: linear-gradient(90deg, #2680eb 0%, #4fb4fd 100%);
    padding: 80px 0;
    color: white;
}

.stat-item i { font-size: 2.5rem; margin-bottom: 15px; opacity: 0.9; }
.stat-number { font-size: 3rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; opacity: 0.9; }

/* --- 5. USLUGE --- */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #f1f1f1;
    position: relative;
    transition: 0.3s;
    height: 100%;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.outline-number {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px #e2e8f0;
}

.service-icon {
    width: 60px; height: 60px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem;
    margin-bottom: 25px;
}

/* --- 6. PROJEKTI --- */
.project-card {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.project-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover img { transform: scale(1.1); }

.project-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px;
    color: white;
}

.status-badge {
    position: absolute;
    top: 20px; right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.bg-finished { background: #198754; color: white; }
.bg-progress { background: #ffc107; color: #000; }

/* --- 7. KONTAKT (OVERLAP) --- */
.contact-top-bg {
    background-color: var(--primary);
    padding: 100px 0 200px 0;
    color: white;
    text-align: center;
}

.contact-overlap-container {
    margin-top: -150px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.contact-info-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px 100px 20px 20px; /* Oblik sa slike */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-form-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 8px;
}

/* --- FOOTER --- */
footer {
    background: #1f2937;
    color: #9ca3af;
    padding-top: 80px;
}
.footer-icon-circle {
    width: 45px; height: 45px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    display: flex; align-items: center; justify-content: center;
    color: white; margin-bottom: 10px;
}
.footer-bottom {
    background: var(--primary);
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

/* RESPONZIVNOST */
@media (max-width: 991px) {
    .header-wrapper { position: relative; width: 100%; top: 0; transform: none; left: 0; }
    .top-bar { display: none; }
    .main-navbar { border-radius: 0; box-shadow: none; }
    .hero-section { height: 60vh; }
    .hero-title { font-size: 2.2rem; }
    .blob-img { height: 300px; }
    .contact-info-card { border-radius: 20px; margin-bottom: 30px; }
    .contact-overlap-container { margin-top: -50px; }
}