/* ==========================================================================
   Servis Košić – novi header, hero (naslovnica) i footer (studeni 2026.)
   Učitava se nakon style.css. Sve je ograničeno na .sk-* klase.
   ========================================================================== */

:root {
  --sk-yellow: #ffed00;
  --sk-dark: #242424;
  --sk-black: #101010;
  --sk-line: #dedede;
  --sk-width: 1230px;
}

.sk-header, .sk-hero, .sk-features, .sk-footer { -webkit-font-smoothing: antialiased; }
.sk-header *, .sk-header *::before, .sk-header *::after,
.sk-hero *, .sk-hero *::before, .sk-hero *::after,
.sk-features *, .sk-features *::before, .sk-features *::after,
.sk-footer *, .sk-footer *::before, .sk-footer *::after { box-sizing: border-box; }

.sk-header a, .sk-hero a, .sk-features a, .sk-footer a { color: inherit; text-decoration: none; border-bottom: 0; }
.sk-header a:hover, .sk-header a:focus, .sk-hero a:hover, .sk-hero a:focus, .sk-footer a:hover, .sk-footer a:focus { text-decoration: none; }
.sk-header button, .sk-header input { font: inherit; }
.sk-header button { cursor: pointer; }
.sk-header a:focus-visible, .sk-header button:focus-visible, .sk-header input:focus-visible,
.sk-hero a:focus-visible { outline: 3px solid #bba900; outline-offset: 3px; }
.sk-header img, .sk-hero img { display: block; max-width: 100%; }

.sk-container { max-width: var(--sk-width); margin: 0 auto; padding-left: 30px; padding-right: 30px; }
.sk-icon { display: inline-flex; width: 24px; height: 24px; flex: none; align-items: center; justify-content: center; }
.sk-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sk-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- 1. Header: bijeli red ---------- */
.sk-header { position: relative; z-index: 100; background: #fff; color: var(--sk-black); }
.sk-header-top { min-height: 100px; display: grid; grid-template-columns: 185px 205px minmax(220px, 1fr) auto; align-items: center; gap: 26px; }
.sk-logo { display: flex; align-items: center; min-width: 0; }
.sk-logo img { width: 185px; height: auto; }
.sk-brand-name { min-height: 48px; display: flex; align-items: center; padding-left: 24px; border-left: 1px solid var(--sk-line); font-weight: 700; line-height: 1.23; font-size: 16px; letter-spacing: -.3px; }
.sk-search { display: flex; align-items: center; min-height: 52px; width: 100%; margin: 0; border: 1.5px solid #ccc; border-radius: 11px; background: #fafafa; transition: box-shadow .2s, border-color .2s; overflow: hidden; }
.sk-search:focus-within { border-color: #999; box-shadow: 0 0 0 3px rgba(255, 237, 0, .33); }
.sk-search .sk-icon { margin-left: 18px; width: 25px; height: 25px; color: #333; }
.sk-search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; height: 50px; padding: 0 14px; font-size: 16px; color: #222; box-shadow: none; }
.sk-search input::placeholder { color: #606060; opacity: 1; }
.sk-search button { border: 0; background: transparent; color: #2a2a2a; padding: 14px 17px; display: none; font-weight: 700; }
.sk-cart { position: relative; min-height: 48px; display: flex; gap: 12px; align-items: center; justify-content: flex-end; padding-left: 24px; border-left: 1px solid var(--sk-line); white-space: nowrap; font-size: 17px; font-weight: 700; color: var(--sk-black); }
.sk-cart .sk-icon { width: 30px; height: 30px; }
.sk-cart:hover { color: #555; }
.sk-cart-badge { display: none; position: absolute; top: 2px; left: 18px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sk-yellow); color: #111; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.sk-mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; margin-left: 4px; color: var(--sk-black); }

/* ---------- 2. Header: crni red navigacije ---------- */
.sk-nav-wrap { background: var(--sk-dark); color: #fff; }
.sk-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.sk-nav-list { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.sk-nav-list > li { position: relative; margin: 0; }
.sk-header .sk-nav-link, .sk-header .sk-dropdown-button { display: inline-flex; align-items: center; gap: 9px; min-height: 54px; color: #fff; border: 0; background: none; padding: 0; white-space: nowrap; font-size: 17px; font-weight: 700; transition: color .2s; }
.sk-nav-link:hover, .sk-dropdown-button:hover, .sk-nav-link:focus-visible, .sk-dropdown-button:focus-visible { color: var(--sk-yellow); }
.sk-header .sk-nav-link--offer { color: var(--sk-yellow); }
.sk-dropdown-button .sk-icon { height: 17px; width: 17px; transition: transform .2s; }
.sk-dropdown-button[aria-expanded="true"] .sk-icon { transform: rotate(180deg); }
.sk-dropdown { display: none; position: absolute; left: -18px; top: calc(100% - 1px); min-width: 294px; background: #fff; color: #1c1c1c; box-shadow: 0 14px 36px rgba(0, 0, 0, .2); border: 1px solid #e5e5e5; border-top: 4px solid var(--sk-yellow); border-radius: 0 0 10px 10px; z-index: 105; padding: 9px; }
.sk-dropdown.is-open { display: block; }
.sk-dropdown a { display: block; padding: 12px 14px; border-radius: 6px; line-height: 1.3; font-weight: 600; font-size: 15px; color: #1c1c1c; }
.sk-dropdown a:hover, .sk-dropdown a:focus-visible { background: #fff8b2; color: #1c1c1c; }
.sk-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.sk-service-cta { display: inline-flex; gap: 11px; align-items: center; justify-content: center; background: var(--sk-yellow); color: var(--sk-black) !important; border-radius: 11px; min-height: 46px; padding: 0 18px; font-size: 16px; font-weight: 800; white-space: nowrap; transition: background .2s, transform .2s; }
.sk-service-cta:hover { background: #ffe000; transform: translateY(-1px); }
.sk-service-cta .sk-icon { width: 22px; height: 22px; }
.sk-phone { display: flex; align-items: center; gap: 12px; border-left: 1px solid #777; padding-left: 24px; min-height: 44px; white-space: nowrap; color: #fff; }
.sk-phone .sk-icon { width: 26px; height: 26px; }
.sk-phone-info { display: flex; flex-direction: column; gap: 3px; }
.sk-phone-info strong { font-size: 16px; letter-spacing: -.2px; }
.sk-phone-info small { font-size: 12px; color: #ddd; }
.sk-phone:hover strong { color: var(--sk-yellow); }

/* ---------- 3. Hero (samo naslovnica) ---------- */
.sk-hero { position: relative; min-height: 540px; overflow: hidden; background: linear-gradient(115deg, #fafafa 0%, #f5f5f5 54%, #e7e7e7 100%); isolation: isolate; color: var(--sk-black); }
.sk-hero-photo, .sk-hero-angle { position: absolute; top: 0; right: 0; bottom: 0; left: 46%; pointer-events: none; }
.sk-hero-angle { background: var(--sk-yellow); clip-path: polygon(21% 0, 24% 0, 3% 100%, 0% 100%); z-index: 1; }
.sk-hero-photo { clip-path: polygon(24% 0, 100% 0, 100% 100%, 3% 100%); z-index: 1; background: #bbb; }
.sk-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.sk-hero .sk-container { position: relative; z-index: 2; display: flex; align-items: center; min-height: 540px; }
.sk-hero-content { width: min(46%, 560px); padding: 52px 0 58px; }
.sk-hero-eyebrow { display: flex; gap: 14px; align-items: center; color: #606060; letter-spacing: .2px; font-size: 17px; text-transform: uppercase; font-weight: 500; margin: 0 0 24px; }
.sk-hero-eyebrow::before { content: ""; width: 35px; height: 6px; background: var(--sk-yellow); display: block; flex: none; }
.sk-hero h1, .sk-hero .sk-hero-title { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.07; letter-spacing: -1.6px; margin: 0 0 26px; font-weight: 800; color: var(--sk-black); }
.sk-hero-description { color: #5b5b5b; font-size: 20px; line-height: 1.52; margin: 0; max-width: 560px; }
.sk-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.sk-primary-btn, .sk-secondary-btn { display: inline-flex; gap: 13px; align-items: center; justify-content: center; min-height: 56px; border-radius: 11px; padding: 0 24px; font-weight: 800; font-size: 18px; white-space: nowrap; transition: background .2s, transform .2s, border-color .2s; }
.sk-primary-btn { background: var(--sk-yellow); color: #101010 !important; }
.sk-primary-btn:hover { background: #ffe000; transform: translateY(-1px); }
.sk-secondary-btn { background: #fff; color: #161616 !important; border: 1.5px solid #c9c9c9; }
.sk-secondary-btn:hover { border-color: #555; transform: translateY(-1px); }
.sk-primary-btn .sk-icon, .sk-secondary-btn .sk-icon { width: 22px; height: 22px; }

/* ---------- 4. Tri prednosti (samo naslovnica) ---------- */
.sk-features { background: #fff; border-bottom: 1px solid #ebebeb; color: var(--sk-black); }
.sk-features-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 26px; padding-bottom: 26px; }
.sk-feature { display: flex; align-items: center; gap: 18px; padding: 9px 36px; border-left: 1px solid #e3e3e3; }
.sk-feature:first-child { border-left: 0; padding-left: 10px; }
.sk-feature .sk-icon { width: 40px; height: 40px; }
.sk-feature h2 { font-size: 17px; line-height: 1.2; margin: 0 0 4px; font-weight: 800; color: var(--sk-black); }
.sk-feature p { color: #666; font-size: 15px; line-height: 1.4; margin: 0; }

/* Razmak ispod prednosti do kategorija/proizvoda */
#proizvodi { scroll-margin-top: 20px; }
#proizvodi .home-glavno { margin-top: 36px; }

/* ---------- 5. Footer (tamni, kompaktni) ---------- */
.sk-footer { font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; background: #242424; color: #e6e6e6; width: 100%; margin: 0; padding: 0; border-top: 1px solid #3b3b3b; }
.sk-footer p { margin: 0; font-size: inherit; }
.sk-footer a { color: inherit; }
.sk-footer a:hover { color: #ffe500; }
.sk-footer a:focus-visible { outline: 2px solid #ffe500; outline-offset: 4px; }
.sk-footer__inner { max-width: var(--sk-width); margin: auto; padding: 23px 30px 0; }
.sk-footer__upper { display: grid; grid-template-columns: 1.22fr 1.14fr 1.7fr auto; gap: 28px; align-items: start; padding-bottom: 19px; }
.sk-footer__head { display: flex; align-items: center; gap: 10px; color: #f8f8f8; font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.sk-footer__head::before { content: ""; display: block; width: 22px; height: 3px; background: #ffe500; flex: none; }
.sk-footer__kicker { color: #9b9b9b; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 3px 0 12px; }
.sk-footer__muted { color: #c3c3c3; }
.sk-footer__line { margin: 0 0 5px !important; font-size: 13px !important; white-space: nowrap; }
.sk-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; max-width: 540px; }
.sk-footer__links a { font-size: 13px; white-space: nowrap; }
.sk-footer__social { display: flex; gap: 9px; margin-top: 4px; }
.sk-footer__icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: #383838; color: #ededed; }
.sk-footer__icon:hover { background: #454545; }
.sk-footer__icon svg { width: 17px; height: 17px; fill: currentColor; }
.sk-footer__bottom { border-top: 1px solid #3b3b3b; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 12px 0 14px; color: #a9a9a9; font-size: 11.5px; }
.sk-footer__bottom strong { font-weight: 600; color: #c7c7c7; }
.sk-footer__bottomRight { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sk-footer__bottomRight u { text-underline-offset: 3px; }
.sk-footer__dot { opacity: .45; margin: 0 6px; }

/* ---------- Responzivno ---------- */
@media (max-width: 1250px) {
  .sk-header-top { grid-template-columns: 160px 175px minmax(190px, 1fr) auto; gap: 18px; min-height: 92px; }
  .sk-logo img { width: 160px; }
  .sk-brand-name { padding-left: 16px; font-size: 14px; }
  .sk-cart { padding-left: 16px; font-size: 15px; gap: 8px; }
  .sk-nav-list { gap: 24px; }
  .sk-header .sk-nav-link, .sk-header .sk-dropdown-button { font-size: 15px; }
  .sk-nav-actions { gap: 18px; }
  .sk-phone { padding-left: 18px; }
  .sk-phone-info strong { font-size: 14px; }
  .sk-phone-info small { font-size: 11px; }
  .sk-service-cta { font-size: 14px; padding: 0 13px; }
  .sk-hero-content { width: 46%; }
}
@media (max-width: 1100px) {
  .sk-footer__inner { padding: 22px 22px 0; }
  .sk-footer__upper { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sk-footer__socialcol { justify-self: start; }
  .sk-footer__line { white-space: normal; }
}
@media (max-width: 1050px) {
  .sk-header-top { grid-template-columns: 160px 1fr auto auto; gap: 15px; min-height: 86px; }
  .sk-brand-name { display: none; }
  .sk-search { min-height: 48px; }
  .sk-search input { height: 46px; }
  .sk-cart { padding-left: 14px; }
  .sk-cart-text { display: none; }
  .sk-cart-badge { display: block; }
  .sk-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .sk-nav-wrap { display: none; }
  .sk-nav-wrap.is-open { display: block; }
  .sk-nav { align-items: stretch; flex-direction: column; gap: 2px; padding-top: 12px; padding-bottom: 16px; }
  .sk-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .sk-header .sk-nav-link, .sk-header .sk-dropdown-button { width: 100%; justify-content: space-between; min-height: 44px; font-size: 16px; }
  .sk-dropdown { position: static; min-width: 0; box-shadow: none; margin: 3px 0 10px; border-radius: 8px; }
  .sk-nav-actions { justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid #555; }
  .sk-phone { min-height: 50px; border-left: 0; padding-left: 0; }
  .sk-hero, .sk-hero .sk-container { min-height: 480px; }
  .sk-hero-photo, .sk-hero-angle { left: 50%; }
  .sk-hero-content { width: 46%; }
  .sk-hero-description { font-size: 17px; }
  .sk-feature { padding: 9px 20px; }
}
@media (max-width: 690px) {
  .sk-container { padding-left: 18px; padding-right: 18px; }
  .sk-header-top { grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; gap: 10px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .sk-logo { grid-row: 1; grid-column: 1; }
  .sk-logo img { width: 147px; }
  .sk-cart { grid-row: 1; grid-column: 2; padding-left: 0; border-left: 0; }
  .sk-cart .sk-icon { width: 27px; height: 27px; }
  .sk-cart-badge { left: 16px; }
  .sk-mobile-toggle { grid-row: 1; grid-column: 3; }
  .sk-search { grid-column: 1 / -1; grid-row: 2; min-height: 46px; }
  .sk-search .sk-icon { margin-left: 14px; width: 22px; height: 22px; }
  .sk-search input { padding: 0 10px; font-size: 16px; height: 44px; }
  .sk-nav-actions { align-items: stretch; flex-direction: column; }
  .sk-hero { display: flex; flex-direction: column; min-height: 0; overflow: visible; }
  .sk-hero .sk-container { min-height: 0; order: 1; width: 100%; }
  .sk-hero-content { width: 100%; padding: 36px 0 32px; }
  .sk-hero-eyebrow { font-size: 13px; margin-bottom: 18px; }
  .sk-hero h1, .sk-hero .sk-hero-title { font-size: clamp(31px, 8.6vw, 42px); line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px; }
  .sk-hero-description { font-size: 16px; line-height: 1.55; }
  .sk-hero-actions { margin-top: 22px; gap: 12px; }
  .sk-primary-btn, .sk-secondary-btn { font-size: 15px; min-height: 49px; padding: 0 16px; }
  .sk-hero-photo { position: relative; order: 2; inset: auto; left: auto; top: auto; right: auto; bottom: auto; height: 260px; clip-path: none; }
  .sk-hero-photo img { height: 100%; object-position: 57% 45%; }
  .sk-hero-angle { display: none; }
  .sk-features-inner { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .sk-feature, .sk-feature:first-child { border-left: 0; border-top: 1px solid #eee; padding: 14px 0; gap: 15px; }
  .sk-feature:first-child { border-top: 0; }
  .sk-feature .sk-icon { height: 32px; width: 32px; }
  .sk-feature h2 { font-size: 16px; }
  .sk-feature p { font-size: 13px; }
}
@media (max-width: 580px) {
  .sk-footer__inner { padding: 19px 18px 0; }
  .sk-footer__upper { grid-template-columns: 1fr; gap: 13px; padding-bottom: 16px; }
  .sk-footer__head { margin-bottom: 7px; }
  .sk-footer__kicker { margin: 1px 0 7px; }
  .sk-footer__line { margin-bottom: 3px !important; }
  .sk-footer__links { gap: 6px 13px; }
  .sk-footer__bottom { align-items: flex-start; gap: 6px; padding: 10px 0 12px; }
  .sk-footer__bottomRight { gap: 7px 14px; }
}
@media (max-width: 365px) {
  .sk-hero-actions { flex-direction: column; align-items: stretch; }
  .sk-hero-actions a { width: 100%; }
}

/* Cijena na kartici proizvoda i opis proizvoda (studeni 2026.) */
.proizvodi .sk-kartica-cijena { margin: 6px 0 4px; font-size: 17px; font-weight: 800; color: #141414; }
.proizvodi .sk-kartica-cijena small { font-size: 12px; font-weight: 600; color: #666; }
.sk-opis p { margin: 0 0 12px; }
.sk-opis ul { margin: 0 0 16px; padding-left: 20px; }
.sk-opis li { margin: 0 0 6px; }
.sk-opis { font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
