/* ════════════════════════════════════════════════════════════
   K4 KONTAKT — Standalone CSS
   (ne oslanja se ni na jednu eksternu varijablu osim k4-btn)
════════════════════════════════════════════════════════════ */

/* ── Reset za ovaj template ─────────────────────────────── */
.k4-kont-hero,
.k4-kont-main,
.k4-kont-faq-sec,
.k4-kont-cta-sec {
    font-family: 'Inter','Segoe UI',system-ui,sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
.k4-kont-hero *,
.k4-kont-main *,
.k4-kont-faq-sec *,
.k4-kont-cta-sec * { box-sizing: border-box; }

/* ── HERO ────────────────────────────────────────────────── */
.k4-kont-hero {
    background: linear-gradient(135deg,#0A0A0A 0%,#1a0500 55%,#0A0A0A 100%);
    padding: clamp(90px,14vw,130px) 0 clamp(50px,8vw,80px);
    position: relative; overflow: hidden;
}
.k4-kont-hero::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background: radial-gradient(ellipse at 55% 50%,rgba(255,107,0,0.09) 0%,transparent 65%);
}
.k4-kont-breadcrumb {
    display:flex; align-items:center; gap:8px; margin-bottom:20px;
    font-size:0.8rem; position:relative; z-index:1;
}
.k4-kont-breadcrumb a { color:rgba(255,255,255,0.4); text-decoration:none; }
.k4-kont-breadcrumb a:hover { color:#FF6B00; }
.k4-kont-breadcrumb span:not(:first-child) { color:rgba(255,255,255,0.25); }
.k4-kont-breadcrumb span:last-child { color:rgba(255,255,255,0.6); font-weight:600; }

.k4-kont-hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    padding:7px 18px;
    background:rgba(255,107,0,0.12); border:1px solid rgba(255,107,0,0.3);
    border-radius:50px; color:#FF6B00;
    font-size:0.78rem; font-weight:700; letter-spacing:1.5px;
    text-transform:uppercase; margin-bottom:20px;
    position:relative; z-index:1;
}
.k4-kont-hero h1 {
    font-size:clamp(2.8rem,6vw,5rem); font-weight:900;
    line-height:1.04; color:#fff; letter-spacing:-2px;
    margin:0 0 14px; position:relative; z-index:1;
}
.k4-kont-hero > .k4-container > p {
    font-size:clamp(1rem,1.5vw,1.2rem); color:rgba(255,255,255,0.55);
    line-height:1.75; margin:0; position:relative; z-index:1; max-width:580px;
}

/* ── MAIN SECTION ────────────────────────────────────────── */
.k4-kont-main {
    background:#0A0A0A;
    padding:clamp(48px,8vw,88px) 0;
}
.k4-kont-layout {
    display:grid; grid-template-columns:1fr 1.5fr;
    gap:clamp(28px,5vw,56px); align-items:start;
}

/* ── INFO KOLONA ─────────────────────────────────────────── */
.k4-kont-col-info { display:flex; flex-direction:column; gap:16px; }
.k4-kont-cards    { display:flex; flex-direction:column; gap:10px; }

/* Kontakt kartica */
.k4-kont-card {
    display:flex; align-items:center; gap:14px;
    padding:15px 18px; border-radius:14px;
    text-decoration:none;
    transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border:1px solid transparent;
}
.k4-kont-card:hover { transform:translateX(5px); text-decoration:none; }

.k4-kont-card--orange { background:rgba(255,107,0,0.08);  border-color:rgba(255,107,0,0.18);  }
.k4-kont-card--purple { background:rgba(99,102,241,0.08); border-color:rgba(99,102,241,0.18); }
.k4-kont-card--green  { background:rgba(34,197,94,0.08);  border-color:rgba(34,197,94,0.15);  }
.k4-kont-card--blue   { background:rgba(59,130,246,0.08); border-color:rgba(59,130,246,0.15); }

.k4-kont-card--orange:hover { border-color:rgba(255,107,0,0.45);  box-shadow:0 8px 28px rgba(255,107,0,0.12);  }
.k4-kont-card--purple:hover { border-color:rgba(99,102,241,0.45); box-shadow:0 8px 28px rgba(99,102,241,0.12); }
.k4-kont-card--green:hover  { border-color:rgba(34,197,94,0.4);   box-shadow:0 8px 28px rgba(34,197,94,0.1);   }
.k4-kont-card--blue:hover   { border-color:rgba(59,130,246,0.4);  box-shadow:0 8px 28px rgba(59,130,246,0.1);  }

.k4-kont-card-ico {
    width:44px; height:44px; min-width:44px; border-radius:11px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
}
.k4-kont-card-ico svg { width:20px; height:20px; }
.k4-kont-card--orange .k4-kont-card-ico { background:rgba(255,107,0,0.18); color:#FF8C3A; }
.k4-kont-card--purple .k4-kont-card-ico { background:rgba(99,102,241,0.18); color:#a5b4fc; }
.k4-kont-card--green  .k4-kont-card-ico { background:rgba(34,197,94,0.18);  color:#4ade80; }
.k4-kont-card--blue   .k4-kont-card-ico { background:rgba(59,130,246,0.18); color:#93c5fd; }

.k4-kont-card-body  { flex:1; min-width:0; }
.k4-kont-card-lbl   { display:block; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,0.32); margin-bottom:3px; }
.k4-kont-card-body strong { display:block; font-size:0.92rem; font-weight:700; color:#F9FAFB; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.k4-kont-card-arr { width:16px; height:16px; flex-shrink:0; color:rgba(255,255,255,0.25); }
.k4-kont-card--orange:hover .k4-kont-card-arr { color:#FF8C3A; }
.k4-kont-card--purple:hover .k4-kont-card-arr { color:#a5b4fc; }

/* ── BRZA AKCIJA DUGMAD ──────────────────────────────────── */
.k4-kont-quick { display:flex; flex-direction:column; gap:10px; }

.k4-kont-quick-btn {
    display:flex; align-items:center; gap:14px;
    padding:14px 18px; border-radius:14px;
    text-decoration:none; border:1px solid transparent;
    position:relative; overflow:hidden;
    transition:transform 0.3s cubic-bezier(.22,.68,0,1.4),
               box-shadow 0.3s ease, border-color 0.3s ease;
}
/* shine sweep */
.k4-kont-quick-btn::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,0.07) 50%,transparent 70%);
    transform:translateX(-120%); transition:transform 0.55s ease;
}
.k4-kont-quick-btn:hover::after { transform:translateX(120%); }
.k4-kont-quick-btn:hover { transform:translateY(-3px); text-decoration:none; }

.k4-kont-quick-btn--call {
    background:linear-gradient(135deg,rgba(255,107,0,0.14),rgba(255,107,0,0.05));
    border-color:rgba(255,107,0,0.22);
}
.k4-kont-quick-btn--call:hover {
    border-color:rgba(255,107,0,0.5);
    box-shadow:0 12px 32px rgba(255,107,0,0.18);
}
.k4-kont-quick-btn--mail {
    background:linear-gradient(135deg,rgba(99,102,241,0.13),rgba(99,102,241,0.04));
    border-color:rgba(99,102,241,0.2);
}
.k4-kont-quick-btn--mail:hover {
    border-color:rgba(99,102,241,0.48);
    box-shadow:0 12px 32px rgba(99,102,241,0.15);
}

.k4-kont-quick-ico {
    width:46px; height:46px; min-width:46px; border-radius:12px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.k4-kont-quick-ico svg { width:20px; height:20px; }
.k4-kont-quick-btn--call .k4-kont-quick-ico { background:rgba(255,107,0,0.18); color:#FF8C3A; }
.k4-kont-quick-btn--mail .k4-kont-quick-ico { background:rgba(99,102,241,0.18); color:#a5b4fc; }

.k4-kont-quick-lbl {
    display:block; font-size:0.68rem; font-weight:700;
    text-transform:uppercase; letter-spacing:1.2px; color:rgba(255,255,255,0.32);
    margin-bottom:3px;
}
.k4-kont-quick-val {
    display:block; font-size:0.92rem; font-weight:700;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.k4-kont-quick-btn--call .k4-kont-quick-val { color:#FF8C3A; }
.k4-kont-quick-btn--mail .k4-kont-quick-val { color:#a5b4fc; }

/* ── SOCIJALNE ───────────────────────────────────────────── */
.k4-kont-socials h4, .k4-kont-map h4 {
    font-size:0.68rem; font-weight:700; text-transform:uppercase;
    letter-spacing:1.5px; color:rgba(255,255,255,0.28); margin:0 0 10px;
}
.k4-kont-social-row { display:flex; gap:8px; flex-wrap:wrap; }
.k4-kont-social-btn {
    display:inline-flex; align-items:center; gap:7px; padding:9px 14px;
    background:#111827; border:1px solid rgba(255,255,255,0.08); border-radius:9px;
    font-size:0.82rem; font-weight:600; color:rgba(255,255,255,0.5);
    text-decoration:none;
    transition:border-color 0.25s,color 0.25s,transform 0.25s;
}
.k4-kont-social-btn svg { width:15px; height:15px; }
.k4-kont-social-btn:hover { border-color:#FF6B00; color:#FF6B00; transform:translateY(-2px); text-decoration:none; }

/* ── ONLINE INDIKATOR ────────────────────────────────────── */
.k4-kont-online {
    display:flex; align-items:center; gap:10px;
    font-size:0.82rem; color:rgba(255,255,255,0.45);
    background:#111827; padding:12px 16px; border-radius:10px;
    border:1px solid rgba(255,255,255,0.06);
}
.k4-kont-online strong { color:#F9FAFB; }
.k4-kont-online-dot {
    width:8px; height:8px; min-width:8px; border-radius:50%;
    background:#22c55e; box-shadow:0 0 8px rgba(34,197,94,0.8);
    animation:k4OnlinePulse 2s ease infinite; flex-shrink:0;
}
@keyframes k4OnlinePulse {
    0%,100%{transform:scale(1);opacity:1}
    50%{transform:scale(1.5);opacity:0.55}
}

/* ── FORMA WRAP ──────────────────────────────────────────── */
.k4-kont-col-forma {}
.k4-kont-forma-wrap {
    background:#111827; border:1px solid rgba(255,255,255,0.07);
    border-radius:20px; padding:clamp(24px,4vw,36px);
}
.k4-kont-forma-title {
    display:flex; align-items:center; gap:10px;
    font-size:1.1rem; font-weight:800; color:#F9FAFB;
    margin:0 0 22px; padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,0.07);
}
.k4-kont-forma-title svg { width:20px; height:20px; color:#FF6B00; flex-shrink:0; }

/* Alerts */
.k4-kont-alert {
    padding:13px 16px; border-radius:10px;
    font-size:0.9rem; font-weight:600; margin-bottom:18px;
}
.k4-kont-alert--ok { background:rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.3); color:#4ade80; }
.k4-kont-alert--err { background:rgba(239,68,68,0.12); border:1px solid rgba(239,68,68,0.3); color:#f87171; }

/* Forma grid */
.k4-kont-row {
    display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.k4-kont-field { margin-bottom:16px; }
.k4-kont-field label {
    display:block; font-size:0.75rem; font-weight:700;
    text-transform:uppercase; letter-spacing:0.8px;
    color:rgba(255,255,255,0.45); margin-bottom:7px;
}
.k4-kont-field input,
.k4-kont-field select,
.k4-kont-field textarea {
    width:100%; padding:12px 15px;
    background:#0d1117; border:1px solid rgba(255,255,255,0.1);
    border-radius:10px; color:#F9FAFB; font-size:0.93rem;
    font-family:inherit; outline:none; appearance:none;
    transition:border-color 0.25s,box-shadow 0.25s;
}
.k4-kont-field input:focus,
.k4-kont-field select:focus,
.k4-kont-field textarea:focus {
    border-color:#FF6B00;
    box-shadow:0 0 0 3px rgba(255,107,0,0.14);
}
.k4-kont-field input::placeholder,
.k4-kont-field textarea::placeholder { color:rgba(255,255,255,0.22); }
.k4-kont-field textarea { resize:vertical; min-height:130px; }
.k4-kont-field select {
    cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='none' stroke='%23FF6B00' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 13px center;
    padding-right:36px;
}
.k4-kont-field select option { background:#111827; }

.k4-req { color:#FF6B00; margin-left:2px; }
.k4-opt { color:rgba(255,255,255,0.28); font-size:0.7rem; font-weight:400; text-transform:none; letter-spacing:0; }

/* Char count */
.k4-kont-charcount {
    font-size:0.7rem; color:rgba(255,255,255,0.25);
    text-align:right; margin-top:5px;
}

/* GDPR */
.k4-kont-gdpr { margin:4px 0 18px; }
.k4-kont-gdpr label {
    display:flex !important; align-items:flex-start; gap:10px;
    cursor:pointer; font-size:0.82rem !important;
    color:rgba(255,255,255,0.38) !important; line-height:1.55;
    text-transform:none !important; letter-spacing:0 !important;
    font-weight:400 !important; margin:0 !important;
}
.k4-kont-gdpr input[type="checkbox"] { position:absolute; opacity:0; width:0; height:0; }
.k4-kont-check {
    width:20px; height:20px; min-width:20px; border-radius:5px;
    border:2px solid rgba(255,255,255,0.15); background:#1F2937;
    display:flex; align-items:center; justify-content:center;
    margin-top:1px; flex-shrink:0;
    transition:background 0.2s,border-color 0.2s;
}
.k4-kont-gdpr input:checked ~ .k4-kont-check,
.k4-kont-gdpr input:checked + .k4-kont-check {
    background:#FF6B00; border-color:#FF6B00;
}
.k4-kont-gdpr input:checked + .k4-kont-check::after {
    content:'✓'; color:#fff; font-size:0.7rem; font-weight:800;
}

/* Submit */
.k4-kont-submit {
    width:100%; justify-content:center; margin-top:6px;
    display:flex; align-items:center; gap:8px;
}
.k4-kont-btn-txt { display:flex; align-items:center; gap:8px; }
.k4-kont-btn-txt svg { width:17px; height:17px; }

/* Success */
.k4-kont-success { text-align:center; padding:clamp(32px,6vw,52px) 20px; }
.k4-kont-success-ico { font-size:3.5rem; margin-bottom:16px; }
.k4-kont-success h3 { font-size:1.4rem; font-weight:800; margin-bottom:10px; color:#F9FAFB; }
.k4-kont-success p  { color:rgba(255,255,255,0.5); font-size:0.95rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.k4-kont-faq-sec {
    background:#111827;
    padding:clamp(60px,10vw,100px) 0;
}
.k4-kont-sec-head { text-align:center; margin-bottom:48px; }
.k4-kont-lbl {
    display:inline-block; padding:6px 18px;
    background:rgba(255,107,0,0.12); border:1px solid rgba(255,107,0,0.28);
    border-radius:50px; color:#FF6B00;
    font-size:0.72rem; font-weight:800; letter-spacing:2px;
    text-transform:uppercase; margin-bottom:14px;
}
.k4-kont-sec-head h2 {
    font-size:clamp(2rem,5vw,3.4rem); font-weight:900;
    color:#F9FAFB; letter-spacing:-1.5px; line-height:1.05; margin:0 0 12px;
}
.k4-kont-sec-head p { color:rgba(255,255,255,0.45); font-size:clamp(1rem,1.4vw,1.1rem); margin:0; }

.k4-kont-faq-grid {
    display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:28px;
}
.k4-kont-faq-item {
    background:#1F2937; border:1px solid rgba(255,255,255,0.06);
    border-radius:14px; overflow:hidden;
    transition:border-color 0.3s ease;
}
.k4-kont-faq-item:has(.k4-kont-faq-q[aria-expanded="true"]) {
    border-color:rgba(255,107,0,0.25);
}
.k4-kont-faq-q {
    width:100%; display:flex; align-items:center; justify-content:space-between;
    gap:12px; padding:18px 20px; background:transparent; border:none;
    cursor:pointer; text-align:left; color:#F9FAFB;
    font-size:0.93rem; font-weight:600; font-family:inherit;
    transition:color 0.2s;
}
.k4-kont-faq-q:hover,
.k4-kont-faq-q[aria-expanded="true"] { color:#FF6B00; }
.k4-kont-faq-ico {
    width:22px; height:22px; min-width:22px; flex-shrink:0;
    color:#FF6B00; transition:transform 0.35s cubic-bezier(.22,.68,0,1.4);
}
.k4-kont-faq-ico svg { width:100%; height:100%; }
.k4-faq-h-line { transition:transform 0.35s ease; transform-origin:center; }
.k4-kont-faq-q[aria-expanded="true"] .k4-kont-faq-ico { transform:rotate(45deg); }

.k4-kont-faq-a {
    padding:0 20px 18px;
    border-top:1px solid rgba(255,255,255,0.05);
}
.k4-kont-faq-a p {
    font-size:0.87rem; color:rgba(255,255,255,0.48);
    margin:14px 0 0; line-height:1.72;
}
.k4-kont-faq-foot { text-align:center; color:rgba(255,255,255,0.35); font-size:0.88rem; }
.k4-kont-faq-foot a { color:#FF6B00; font-weight:700; }

/* ── CTA ─────────────────────────────────────────────────── */
.k4-kont-cta-sec {
    background:#0A0A0A;
    padding:clamp(40px,6vw,72px) 0;
}
.k4-kont-cta-box {
    text-align:center;
    padding:clamp(48px,8vw,80px) clamp(24px,5vw,56px);
    background:radial-gradient(ellipse at center,rgba(255,107,0,0.09) 0%,transparent 68%);
    border:1px solid rgba(255,107,0,0.16); border-radius:24px;
}
.k4-kont-cta-box h2 {
    font-size:clamp(1.8rem,4vw,3rem); font-weight:900;
    color:#F9FAFB; letter-spacing:-1.5px; line-height:1.05;
    margin:12px 0 10px;
}
.k4-kont-cta-box > p {
    font-size:clamp(1rem,1.4vw,1.1rem); color:rgba(255,255,255,0.45); margin-bottom:32px;
}
.k4-kont-cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .k4-kont-layout { grid-template-columns:1fr 1.2fr; gap:24px; }
}
@media (max-width: 768px) {
    .k4-kont-hero h1 { letter-spacing:-1px; }
    .k4-kont-layout  { grid-template-columns:1fr; }
    .k4-kont-row     { grid-template-columns:1fr; gap:0; }
    .k4-kont-faq-grid { grid-template-columns:1fr; }
    .k4-kont-cta-btns { flex-direction:column; align-items:stretch; }
    .k4-kont-cta-btns .k4-btn { width:100%; justify-content:center; }
    .k4-kont-card-body strong { white-space:normal; word-break:break-all; }
    .k4-kont-quick-val        { white-space:normal; word-break:break-all; }
}
@media (max-width: 480px) {
    .k4-kont-social-row { flex-direction:column; }
    .k4-kont-forma-wrap { padding:20px 16px; }
}
