/* W-MEDIC — lagani CSS koji zamenjuje Bootstrap (samo klase koje sajt koristi). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, system-ui, -apple-system, Roboto, sans-serif;
  font-size: 1rem; line-height: 1.5; color: #212529; background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; vertical-align: middle; }
a { color: #1a1a1a; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
@media (min-width: 1200px) { h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; }
strong { font-weight: 700; }
.lead { font-size: 1.25rem; font-weight: 300; }
.small, small { font-size: .875em; }
.display-3 { font-size: calc(1.525rem + 3.3vw); font-weight: 300; line-height: 1.2; }
.display-4 { font-size: calc(1.475rem + 2.7vw); font-weight: 300; line-height: 1.2; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 300; line-height: 1.2; }
@media (min-width: 1200px) { .display-3 { font-size: 4rem; } .display-4 { font-size: 3.5rem; } .display-5 { font-size: 3rem; } }

/* Layout */
.container, .container-fluid { width: 100%; padding-right: .75rem; padding-left: .75rem; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
.row { --gx: 1.5rem; --gy: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--gy)); margin-right: calc(-.5 * var(--gx)); margin-left: calc(-.5 * var(--gx)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--gx) * .5); padding-left: calc(var(--gx) * .5); margin-top: var(--gy); }
.g-0 { --gx: 0; --gy: 0; } .g-3 { --gx: 1rem; --gy: 1rem; } .g-4 { --gx: 1.5rem; --gy: 1.5rem; } .g-5 { --gx: 3rem; --gy: 3rem; }
.col-6 { flex: 0 0 auto; width: 50%; } .col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; } .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; } .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
}
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; } .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; } .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
}

/* Display / flex */
.d-none { display: none !important; } .d-block { display: block !important; } .d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; } .d-grid { display: grid !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.align-items-center { align-items: center !important; } .align-items-start, .align-items-top { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; } .justify-content-between { justify-content: space-between !important; }
.gap-3 { gap: 1rem !important; }
.order-1 { order: 1 !important; } .order-2 { order: 2 !important; }
@media (min-width: 576px) { .d-sm-block { display: block !important; } }
@media (min-width: 768px) {
  .d-md-block { display: block !important; } .d-md-none { display: none !important; }
  .flex-md-row-reverse { flex-direction: row-reverse !important; }
  .text-md-start { text-align: left !important; } .mb-md-0 { margin-bottom: 0 !important; }
  .pb-md-0 { padding-bottom: 0 !important; } .p-md-5 { padding: 3rem !important; } .w-md-auto { width: auto !important; }
}
@media (min-width: 992px) {
  .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; }
  .flex-lg-row { flex-direction: row !important; } .text-lg-start { text-align: left !important; }
  .order-lg-1 { order: 1 !important; } .order-lg-2 { order: 2 !important; } .px-lg-5 { padding-right: 3rem !important; padding-left: 3rem !important; }
}

/* Spacing */
.m-0 { margin: 0 !important; } .mx-auto { margin-right: auto !important; margin-left: auto !important; } .ms-auto { margin-left: auto !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.me-2 { margin-right: .5rem !important; } .me-3 { margin-right: 1rem !important; } .ms-2 { margin-left: .5rem !important; }
.p-0 { padding: 0 !important; } .p-2 { padding: .5rem !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; } .p-5 { padding: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; } .pb-5 { padding-bottom: 3rem !important; }
.pt-3 { padding-top: 1rem !important; } .pt-4 { padding-top: 1.5rem !important; } .pt-5 { padding-top: 3rem !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; } .px-5 { padding-right: 3rem !important; padding-left: 3rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* Text */
.text-center { text-align: center !important; } .text-start { text-align: left !important; } .text-end { text-align: right !important; }
.text-uppercase { text-transform: uppercase !important; } .text-decoration-none { text-decoration: none !important; }
.fw-bold { font-weight: 700 !important; } .fw-light { font-weight: 300 !important; } .fw-500 { font-weight: 500 !important; }
.font-italic, .italic { font-style: italic !important; }
.text-dark { color: #212529 !important; } .text-muted { color: #6c757d !important; } .text-white { color: #fff !important; } .text-white-50 { color: rgba(255,255,255,.5) !important; }
.text-gold { color: #D4AF37 !important; } .border-gold { border-color: #D4AF37 !important; }
.list-unstyled { padding-left: 0; list-style: none; }

/* Backgrounds, borders, shadows */
.bg-light { background-color: #f8f9fa !important; } .bg-white { background-color: #fff !important; }
.border { border: 1px solid #dee2e6 !important; } .border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; } .border-start { border-left: 1px solid #dee2e6; }
.border-4 { border-width: 4px !important; } .border-light { border-color: #f8f9fa !important; }
.rounded-3 { border-radius: .5rem !important; } .rounded-4 { border-radius: 1rem !important; } .rounded-5 { border-radius: 2rem !important; }
.rounded-circle { border-radius: 50% !important; } .rounded-pill { border-radius: 50rem !important; }
.rounded-bottom-4 { border-bottom-left-radius: 1rem !important; border-bottom-right-radius: 1rem !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; } .shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important; } .shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; } .position-absolute { position: absolute !important; }
.top-50 { top: 50% !important; } .bottom-0 { bottom: 0 !important; } .start-0 { left: 0 !important; } .start-50 { left: 50% !important; } .end-0 { right: 0 !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }
.w-100 { width: 100% !important; } .h-100 { height: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }
.ratio { position: relative; width: 100%; } .ratio::before { display: block; content: ""; padding-top: 56.25%; }
.ratio > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Buttons */
.btn {
  display: inline-block; padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5;
  text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; user-select: none;
  border: 1px solid transparent; border-radius: .375rem; background: transparent; color: #212529;
  transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .5rem; }
.btn-dark { color: #fff; background-color: #212529; border-color: #212529; }
.btn-dark:hover { color: #fff; background-color: #424649; border-color: #373b3e; }
.btn-outline-dark { color: #212529; border-color: #212529; }
.btn-outline-dark:hover { color: #fff; background-color: #212529; }
.btn:focus-visible { outline: 3px solid #D4AF37; outline-offset: 2px; }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0,0,0,.175); border-radius: .375rem; }
.card, .transition-hover { transition: transform .3s ease, box-shadow .3s ease; }
.card:hover, .transition-hover:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,.1) !important; }

/* Forms */
.form-control {
  display: block; width: 100%; padding: .375rem .75rem; font: inherit; color: #212529; background: #fff;
  border: 1px solid #dee2e6; border-radius: .375rem; transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { border-color: #D4AF37; outline: 0; box-shadow: 0 0 0 .25rem rgba(212,175,55,.25); }

/* Navbar */
.navbar { position: relative; display: flex; align-items: center; padding: .5rem 0; }
.navbar > .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.navbar-brand { display: flex; align-items: center; padding: .3125rem 0; margin-right: 1rem; font-size: 1.25rem; text-decoration: none; color: #222; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin: 0; list-style: none; }
.nav-link { display: block; padding: .5rem 0; color: rgba(0,0,0,.65); text-decoration: none; transition: color .15s; }
.nav-link:hover, .nav-link:focus { color: #000; }
.navbar-toggler { padding: .25rem .75rem; font-size: 1.25rem; line-height: 1; background: transparent; border: 1px solid rgba(0,0,0,.15); border-radius: .375rem; cursor: pointer; }
.navbar-toggler-icon {
  display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle;
  background: center / 100% no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.collapse:not(.show) { display: none; }
@media (min-width: 992px) {
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .nav-link { padding-right: .5rem; padding-left: .5rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
}

/* Accordion (FAQ) — native <details> */
.accordion { background: #fff; }
.accordion-item { background: #fff; }
.accordion-item > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.25rem; font-size: 1rem; font-weight: 700; color: #212529;
}
.accordion-item > summary::-webkit-details-marker { display: none; }
.accordion-item > summary::after {
  content: ""; flex-shrink: 0; width: 1.25rem; height: 1.25rem; transition: transform .2s ease-in-out;
  background: center / 1.25rem no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}
.accordion-item[open] > summary { color: #8a6d12; background: #fcf9f0; }
.accordion-item[open] > summary::after { transform: rotate(-180deg); }
.accordion-body { padding: 1rem 1.25rem; }

/* Scroll fade-in (replaces framer-motion). Content stays visible without JS. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease-out, transform .8s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .transition-hover { transition: none; }
}

/* Icons: inline SVG sized like Font Awesome */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; fill: currentColor; flex-shrink: 0; }
.ico-3x { font-size: 3em; }

/* Footer */
footer { background-color: #343a40; color: #fff; padding: 40px 0; text-align: center; }
footer p { margin-bottom: .5rem; }
footer a { color: #D4AF37; margin: 0 10px; font-size: 1.5rem; }

/* Gallery lightbox */
.gallery-btn { display: block; width: 100%; padding: 0; border: 1px solid #dee2e6; background: none; cursor: zoom-in; transition: transform .3s ease; }
.gallery-btn:hover { transform: scale(1.02); }
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.95); }
.lightbox[hidden] { display: none; }
.lightbox-img { max-height: 85vh; max-width: 80vw; border-radius: 10px; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 40px; padding: 20px; border-radius: 50%; cursor: pointer; line-height: 0; }
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-arrow.prev { left: 30px; } .lightbox-arrow.next { right: 30px; }
.lightbox-mobile { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 1.5rem; }
.lightbox-mobile button { background: rgba(212,175,55,.8); border: none; color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 20px; line-height: 0; }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: #fff; font-size: 35px; line-height: 1; cursor: pointer; }
@media (min-width: 768px) { .lightbox-mobile { display: none; } }
@media (max-width: 767.98px) { .lightbox-arrow { display: none; } .lightbox-img { max-width: 100%; } }

/* Page helpers */
.gold-line { width: 60px; height: 3px; background: #D4AF37; margin: 20px auto; }
.eyebrow { color: #D4AF37; letter-spacing: 2px; }
.btn-gold { background: #D4AF37; color: #fff; border: none; border-radius: 30px; font-weight: 600; }
.btn-gold:hover { background: #b9962a; color: #fff; }
.btn-outline-gold-hover:hover { background: #D4AF37 !important; border-color: #D4AF37 !important; color: #fff !important; }
.page-hero { background: #fff; padding: 120px 20px 60px; text-align: center; border-bottom: 1px solid #eee; }
.page-hero .logo { max-width: 200px; height: auto; margin: 0 auto; display: block; }
.page-hero .lead { max-width: 800px; margin: 0 auto; }
.split-img { height: 600px; object-fit: cover; }
@media (max-width: 991.98px) { .split-img { height: 380px; } }
.ico-3x { display: block; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.img-caption { position: absolute; left: 0; bottom: 0; width: 100%; padding: 1.5rem; color: #fff; border-bottom-left-radius: 1rem; border-bottom-right-radius: 1rem; }
/* Na telefonu veliki horizontalni razmak (g-5) izlazi van kontejnera — smanji ga */
@media (max-width: 767.98px) { .g-5 { --gx: 1.5rem; } }
