/* Zajednički stilovi za header i footer (includes/header.php, includes/footer.php) */

html { scroll-behavior: smooth; }

.sticky_header_main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: #000;
  border-top: 10px solid #C50000;
  border-bottom: 5px solid #C50000;
  padding: 10px 20px;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo img { height: 60px; display: block; }
.header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.header-nav a,
.header-social a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  margin: 0;
  transition: color .3s;
}
.header-nav a:hover,
.header-social a:hover { color: #C50000; }
.header-social { display: flex; gap: 20px; align-items: center; }

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 5px solid #C50000;
  font-size: 14px;
  font-weight: bold;
  z-index: 999;
  text-align: left;
}
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer .footer-links a { color: #fff; font-size: 14px; margin: 0; text-decoration: none; }
.site-footer .footer-links a:hover { color: #C50000; }

/* Telefon: header u jednom redu, manji; footer nije zalepljen da ne pokriva sadržaj */
@media (max-width: 768px) {
  .sticky_header_main { padding: 6px 12px; border-top-width: 6px; }
  .header-inner { gap: 10px; }
  .header-logo img { height: 36px; }
  .header-nav ul { gap: 12px; }
  .header-nav a { font-size: 14px; }
  .header-social { gap: 12px; }
  .header-social a { font-size: 16px; }
  .site-footer { position: static; font-size: 11px; padding: 12px; }
  .site-footer .footer-links a { font-size: 11px; }
}
@media (max-width: 359px) {
  .header-nav { display: none; } /* na najmanjim ekranima ostaju logo i ikonice */
}
