/* Fizio F.L.Y. - replica of the original WordPress (Physio theme) look */
:root {
  --red: #8f2418;
  --red-dark: #6f1710;
  --heading: #3e3a3b;
  --text: #999;
  --text-dark: #666;
  --line: #ededed;
  --bg-light: #f4f5f7;
  --footer: #6b727a;
  --footer-text: #c1c7ce;
  --footer-bottom: #5f656c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 1.8; color: var(--text); background: #fff; }
h1, h2, h3, h4 { font-family: "Nunito", sans-serif; color: var(--heading); font-weight: 700; line-height: 1.3; margin: 0 0 15px; }
a { color: var(--red); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 15px; }
strong { color: var(--text-dark); }
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header { background: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 110px; }
.logo img { height: 60px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 6px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; font-family: "Nunito", sans-serif; font-weight: 700; font-size: 15px; color: var(--red); }
.main-nav > ul > li > a:hover, .main-nav a.active { color: var(--red-dark); }
.main-nav .fa-angle-down { font-size: 12px; margin-left: 2px; }
.main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--red); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 20; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 7px 20px; color: #fff; font-size: 13.5px; font-weight: 700; }
.main-nav .sub a:hover { background: rgba(0,0,0,.08); }
.nav-toggle { display: none; }
.nav-toggle-btn { display: none; background: var(--red); color: #fff; width: 48px; height: 44px; border-radius: 3px; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }

.header-info { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.info-item { display: flex; align-items: center; gap: 15px; padding: 18px 10px; color: var(--text); font-size: 13px; line-height: 1.5; }
.info-item i { font-size: 26px; color: var(--heading); width: 30px; text-align: center; }
.info-item strong { display: block; font-family: "Nunito", sans-serif; color: var(--heading); font-size: 14px; }

/* Slider */
.slider { position: relative; height: 0; padding-bottom: 37.24%; overflow: hidden; background: #ddd; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.25); border: 0; color: #fff; width: 44px; height: 54px; font-size: 22px; cursor: pointer; z-index: 2; }
.slider-btn:hover { background: rgba(255,255,255,.45); }
.slider-btn.prev { left: 0; } .slider-btn.next { right: 0; }

/* Sections */
.section { padding: 50px 0; }
.section.light { background: var(--bg-light); }
.red-title { background: var(--red) url("../img/block-element.png") right center / auto 100% no-repeat; color: #fff; font-size: 30px; padding: 12px 20px; margin: 0 0 30px; text-transform: uppercase; }
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 22px; border-radius: 20px; line-height: 1.2; transition: background .2s; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn i { margin-right: 6px; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 60px; }
.services-grid h3 { font-size: 26px; margin-bottom: 10px; }
.services-grid .item { margin-bottom: 15px; }

.call-box { background: #fff; padding: 35px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.call-box h2 { font-size: 30px; }
.call-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.feature { display: flex; gap: 18px; }
.feature i { font-size: 30px; color: var(--red); width: 40px; flex-shrink: 0; padding-top: 4px; }
.feature h4 { font-size: 17px; margin-bottom: 4px; }

.quote-band { background: url("../img/quote-bg.png") center / 100% 100% no-repeat; aspect-ratio: 1920 / 641; display: flex; align-items: flex-start; padding-top: 6% !important; justify-content: center; padding: 0 15px; text-align: center; }
.quote-band p { font-family: "Nunito", sans-serif; font-weight: 700; font-size: 22px; color: var(--heading); margin: 0; }

.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Inner pages */
.page-title { padding: 45px 0 25px; }
.page-title h1 { font-size: 40px; margin: 0; }
.page-title .subtitle { color: var(--heading); margin-top: 2px; }
.breadcrumbs { font-size: 12px; padding: 12px 0; color: #bbb; border-bottom: 1px solid var(--line); }
.breadcrumbs a { color: #bbb; } .breadcrumbs span { color: var(--red); }
.breadcrumbs i { font-size: 9px; margin: 0 8px; }
.content { padding: 20px 0 60px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 15px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card h3 a { color: var(--heading); }
.card p { font-size: 13px; }
.card .more { font-weight: 700; font-size: 13px; }
.card .more i { font-size: 10px; margin-left: 4px; }

.service-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.service-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-body img { width: 100%; }
.sidebar-box { background: var(--red); color: #fff; padding: 25px 25px 20px; }
.sidebar-box h3 { color: #fff; font-size: 20px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { border-top: 1px solid rgba(255,255,255,.2); }
.sidebar-box a { display: block; color: #fff; padding: 8px 0; font-size: 13px; font-weight: 700; }
.sidebar-box a:hover { padding-left: 4px; }

.about { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; margin-bottom: 50px; }
.about img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.team { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.member { width: 270px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.member .info { padding: 15px 20px 20px; }
.member h4 { font-size: 15px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.member p { font-size: 12.5px; line-height: 1.6; margin: 0; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; }
.price-grid h3 { font-size: 20px; text-transform: uppercase; }
table.prices { width: 100%; border-collapse: collapse; font-size: 13px; }
.prices th { background: var(--red); color: #fff; text-align: left; padding: 12px 20px; font-weight: 700; }
.prices td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.prices tr:nth-child(even) td { background: #fafafa; }
.prices td:first-child { color: var(--text-dark); font-weight: 700; }
.note { font-size: 12.5px; }
.price-footer { margin-top: 40px; }
.price-footer ul { margin: 0 0 15px; padding-left: 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-grid h4 { margin: 18px 0 2px; font-size: 16px; }
.contact-grid p { margin: 0; }

/* Footer */
.site-footer { background: var(--footer) url("../img/footer-pattern.png"); color: var(--footer-text); font-size: 12px; }
.footer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 15px; align-items: center; }
.footer-social a { color: #fff; font-size: 30px; margin-right: 10px; }
.footer-item { display: flex; gap: 15px; align-items: center; color: var(--footer-text); line-height: 1.5; }
.footer-item i { font-size: 26px; color: #fff; }
.footer-item strong { display: block; color: #fff; font-size: 13px; }
.footer-bottom { background: var(--footer-bottom); padding: 18px 0; text-align: right; font-size: 12px; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; background: #555; color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 3px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.to-top.show { opacity: .8; pointer-events: auto; }

/* Mobile */
@media (max-width: 991px) {
  .nav-toggle-btn { display: flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 110px; background: var(--red); z-index: 30; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .site-header { position: relative; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav > ul > li > a { color: #fff; padding: 10px 20px; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 5px 15px; background: transparent; }
  .info-row { grid-template-columns: 1fr 1fr; }
  .features, .cards { grid-template-columns: 1fr 1fr; }
  .service-layout, .about { grid-template-columns: 1fr; }
  .about img { max-width: 300px; margin: 0 auto; }
  .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid, .features, .cards, .service-body, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .red-title { font-size: 24px; }
  .page-title h1 { font-size: 32px; }
  .prices td, .prices th { padding: 10px 12px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; }
  .slider { padding-bottom: 60%; }
}

/* Anchor price column (Cijena na 10. 9. 2026.) */
.prices td.anchor { color: #aaa; font-size: 12px; }
.prices th:last-child { font-weight: 400; font-size: 12px; }
