.banner-wrapper {
  display: flex;
  flex-direction: column; /* stavlja jedan ispod drugog */
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.banner img {
  max-width: 100%;
  height: auto;
  display: block;
}
.radnovreme {
  display: flex;
  justify-content: space-between; 
}
.dani {
  flex: 1;               
  text-align: left;       
}
.dani ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sati {
  flex: 1;
  text-align: right;     
}
.sati ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wrapper {
  max-width: 800px;  
  margin: 0 auto;
}
.radnovremetekst {
  text-align: center;  
  margin-bottom: 20px; 
}
.full-width-container {
  width: 98%;
  background: #f9f9f9;
  border-radius: 25px;
  margin: auto;
}
.inner-container {
  width: 96%;
  margin: 0 auto;
}
.category-title {
  text-align: left;
  margin: 0px 0;
  color: #000;
}
.category-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.category-column {
  flex: 1;
  min-width: 250px;
}
@media (max-width: 768px) {
  .category-column {
    flex: 1 1 50%; /* 2 kolone po redu */
  }
}
@media (max-width: 480px) {
  .category-column {
    flex: 1 1 100%; /* 1 kolona po redu */
  }
}
.category-block {
  background: #fff;
  height: 70px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.category-block:hover {
  transform: translateY(-5px); /* podigne se malo iznad */
  box-shadow: 0 8px 15px rgba(0,0,0,0.15); /* jača senka */
  border-color: #bbb;
}
.page-container {
  display: flex;
  gap: 20px;
  width: 96%;
  margin: 0 auto;
}
.filter-sidebar {
  flex: 0 0 250px;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 25px;
  padding: 15px;
  padding-top: 15px; 
}
.filter-block h4 {
  margin-bottom: 10px;
  font-size: 1.1em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.filter-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.filter-block ul li {
  margin-bottom: 8px;
}
.filter-block ul li a {
  text-decoration: none;
  color: #000000;
}
.filter-block ul li a:hover {
  color: #0073e6;
}
.firm-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 400px);
  justify-content: center;
  gap: 20px;
}
.firm-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.firm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .page-container {
      flex-direction: column;
  }
  .filter-sidebar {
      width: 100%;
      flex: none;
  }
  .firm-list {
      grid-template-columns: 1fr;
  }
}
.company-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 80%; /* sada kartica popunjava column u gridu */
  margin-bottom: 10px; /* razmak između redova */
}
.company-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.company-image {
  flex: 0 0 150px;
  height: 150px;
  margin-right: 20px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ddd;
}
.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-info {
  flex: 1;
  padding-right: 20px;
}
.company-info h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color:black;
}
.company-info a {
  text-decoration: none;
  color: #000000;
}
.company-info a:hover {
  text-decoration: underline;
}
.company-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* max 2 reda */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-rating {
  flex: 0 0 140px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 18px;
  color: #f5c518;
  text-align: right;
}
.company-rating .star {
  margin-left: 2px;
  color: #dbdbdb;
}
.company-rating .star.filled {
  color: #f5c518;
}
.company-rating .review-count {
  color: #555;
  font-size: 14px;
  margin-left: 6px;
}
.profile-content {
  max-width: 2000px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-content .back-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #0073e6;
}
.profile-content .back-link:hover {
  text-decoration: underline;
}
.profile-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start; 
}
.profile-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.profile-image {
  width: 100%;
  max-width: 400px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info h1 {
  margin: 0 0 10px 0;
  font-size: 28px;
}
.profile-info p {
  margin: 5px 0;
  font-size: 16px;
}
.profile-rating {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #f5c518;
  margin-bottom: 10px;
}
.profile-rating .star {
  margin-right: 2px;
  color: #ccc;
}
.profile-rating .star.filled {
  color: #f5c518;
}
.profile-rating .review-count {
  color: #555;
  font-size: 14px;
  margin-left: 8px;
}
.profile-right {
  width: 300px;
}
.profile-right img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #ddd;
}


.category-block {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  height: 70px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.category-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  border-color: #bbb;
}
.category-block .category-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-block .category-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.category-block .category-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.category-block .category-firm-count {
  font-size: 15px;
  color: #333;
  margin-top: 5px;
}
@media (max-width: 600px) {
  .category-block {
      gap: 10px;
      padding: 10px;
      height: 70px;
  }
  .category-icon img {
      width: 60px;
      height: 60px;
  }
  .category-title a {
      font-size: 16px;
  }
  .category-firm-count {
      font-size: 14px;
  }
}
.category-page {
  width: 98%;
  background: #f9f9f9;
  border-radius: 25px;
  margin: auto;
}
.category-page * {
  box-sizing: border-box;
}
.category-page .container {
  max-width: 1100px;
  margin: auto;
  padding: 16px;
}
.category-page .side-column,
.category-page .middle-column {
  width: 100%;
}
.category-page .filter-sidebar {
  width: 98%;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px;
  margin-bottom: 24px;
  margin: 16px auto 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.category-page .filter-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.category-page .filter-block h4 {
  margin: 16px 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
}
.category-page .filter-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-page .filter-block ul li a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef1f4;
  font-size: 14px;
  transition: .2s;
}
.category-page .filter-block ul li a:hover {
  background: #dbe7ff;
}
.category-page .filter-block ul li a.active {
  background: #2563eb;
  color: #fff;
}
@media (max-width: 768px) {
  .category-page .filter-sidebar {
    width: 96%;
    max-width: 600px;
    margin: 20px auto 20px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
  }
  .category-page .filter-block ul {
      flex-wrap: wrap;
      gap: 8px;
  }
  .category-page .filter-block ul li a {
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 14px;
      transition: .2s;
  }

}
.category-page .back-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  color: #2563eb;
}
.category-page h1 {
  font-size: 24px;
  margin-bottom: 20px;
}
.category-page .company-card {
  width: 98%;
  background: #fff;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 170px 1fr 200px;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.category-page .company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.category-page .company-image img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 12px;
}
.category-page .company-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.category-page .company-info p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.category-page .company-rating {
  text-align: left;
  font-size: 16px;
}
.category-page .star {
  color: #d1d5db;
}
.category-page .star.filled {
  color: #facc15;
}
.category-page .review-count {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: #666;
}
@media (max-width: 768px) {
  .category-page .container {
      width: 100%;
      padding: 0 16px;
      margin: 0 auto;
      box-sizing: border-box;
  }
  .category-page .company-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 96%;
      max-width: 600px;
      margin: 0 auto 16px;
      grid-template-columns: unset;
      gap: 12px;
      padding: 16px;
      border-radius: 16px;
      box-shadow: 0 6px 20px rgba(0,0,0,.05);
  }
  .category-page .company-image {
    width: 150px;
    height: 150px;
    justify-content: center;
  }
  .category-page .company-image img {
    width: 150px;
    height: 150px;
    object-fit: contain;
  }
  .category-page .company-info,
  .category-page .company-rating {
      width: 100%;
  }
  .category-page .company-rating {
      display: flex;
      justify-content: center;
      gap: 5px;
      margin-top: 8px;
  }
}
.company-profile-page {
  background: #f3f4f6;
}
.company-cover {
  width: 100%;
  height: 16rem; /* ~288px */
  overflow: hidden;
  border-radius: 18px;
}
.company-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.company-logo {
  position: absolute;
  bottom: -50px;
  left: 40px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.company-profile-content {
  max-width: 1100px;
  margin: 80px auto 40px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.company-profile-content .back-link {
  display: inline-block;
  margin-bottom: 15px;
  color: #2563eb;
  font-size: 14px;
}
.company-profile-page .profile-columns {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.company-profile-page .profile-left {
  flex: 1;
}
.company-profile-page .profile-right {
  width: 320px;
}
.company-profile-page .profile-right img {
  width: 100%;
  border-radius: 12px;
}
.company-profile-page .profile-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.company-profile-page .star {
  font-size: 20px;
  color: #d1d5db;
}
.company-profile-page .star.filled {
  color: #facc15;
}
.company-profile-page .review-count {
  margin-left: 8px;
  font-size: 14px;
  color: #555;
}
@media (max-width: 768px) {
  .company-cover {
    height: 200px;
  }
  .company-logo {
    left: 50%;
    transform: translateX(-50%);
  }
  .company-profile-content {
    margin-top: 90px;
    padding: 20px;
  }
  .company-profile-page .profile-columns {
    flex-direction: column;
  }
  .company-profile-page .profile-right {
    width: 100%;
  }
}
.company-profile-page {
  all: initial;
  font-family: Arial, sans-serif;
  background: #f3f4f6;
}
.company-profile-page *,
.company-profile-page *::before,
.company-profile-page *::after {
  box-sizing: border-box;
}
.company-profile-page .company-container {
  max-width: 98%;
  margin: 0 auto;
  position: relative;
}
.company-profile-page .company-cover {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: visible;
  background: #ccc;
}
.company-profile-page .company-cover img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center
}
.company-profile-page .company-logo {
  position: absolute;
  top: 230px;
  left: 100px;
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 2;
}
.company-profile-page .company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.company-profile-page .company-profile-content {
  max-width: 100%;
  margin: 0px auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.company-profile-page .back-link {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.company-profile-page .profile-columns {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.company-profile-page .profile-left {
  flex: 1;
}
.company-profile-page .profile-right {
  width: 320px;
}
.company-profile-page .profile-right img {
  width: 100%;
  border-radius: 14px;
}
/* ===== RATING ===== */
.company-profile-page .profile-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.company-profile-page .star {
  font-size: 22px;
  color: #d1d5db;
}
.company-profile-page .star.filled {
  color: #facc15;
}
.company-profile-page .review-count {
  margin-left: 8px;
  font-size: 14px;
  color: #555;
}
@media (max-width: 768px) {
  .company-profile-page .company-cover {
    height: 220px;
    overflow: auto;
  }
  .company-profile-page .company-logo {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }
  .company-profile-page .company-profile-content {
    margin-top: 10px;
    padding: 40px;
  }
  .company-profile-page .profile-columns {
    flex-direction: column;
  }
  .company-profile-page .profile-right {
    width: 100%;
  }
}
.radnovremetekst {
  margin-top: 20px;
  font-size: 18px;
}
.radnovreme {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.radnovreme .dani ul,
.radnovreme .sati ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.radnovreme .sati ul li {
  font-weight: normal;
}
.company-header {
  margin-bottom: 20px;
}
.company-info p {
  margin: 6px 0;
}
.company-description {
  margin-top: 20px;
}
.company-working-hours {
  margin-top: 25px;
}
.radnovreme {
  display: flex;
  gap: 30px;
}
.radnovreme ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-map img {
  width: 100%;
  border-radius: 14px;
}
.profile-block {
  margin-bottom: 30px;
}
.profile-main {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}
.profile-details {
  padding-top: 20px;
}
.company-working-hours {
  margin-top: 25px;
}
.radnovreme {
  display: flex;
  gap: 30px;
}
.radnovreme ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-section {
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.company-section-columns {
  display: flex;
  gap: 40px;
}
.company-hours {
  width: 30%;
}
.company-description {
  width: 70%;
}
.company-section h3 {
  margin-bottom: 12px;
  font-size: 18px;
}
.open-status {
  margin-bottom: 15px;
  font-weight: bold;
}
.open-status .open {
  color: #16a34a;
}
.open-status .closed {
  color: #dc2626;
}
.open-status .muted {
  color: #555;
  font-weight: normal;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 14px;
}
.hours-list li span:last-child {
  color: #444;
}
@media (max-width: 768px) {
  .company-section-columns {
    flex-direction: column;
  }
  .company-description {
    order: 1;
    width: 100%;
  }
  .company-hours {
    order: 2;
    margin-top: 25px;
    width: 100%;
  }
}
.hours-list li.today.today-open {
  background: #f0fdf4;
}
.hours-list li.today.today-open span:last-child {
  color: #15803d;
}
.hours-list li.today.today-opening-later {
  background: #fff7ed;
}
.hours-list li.today.today-opening-later span:last-child {
  color: #ea580c;
}
.hours-list li.today.today-closed {
  background: #fef2f2;
}
.hours-list li.today.today-closed span:last-child {
  color: #dc2626;
}
.company-reviews {
  margin-top: 25px;
}
.company-reviews h4 {
  margin-bottom: 10px;
  font-size: 16px;
}
.reviews-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.review-item {
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.review-item:last-child {
  border-bottom: none;
}
.review-rating {
  color: #facc15;
  font-size: 14px;
  margin-bottom: 4px;
}
.review-rating span {
  color: #d1d5db;
}
.review-rating span.filled {
  color: #facc15;
}
.review-item p {
  font-size: 14px;
  color: #444;
  margin: 0;
}
.show-all-reviews {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.show-all-reviews:hover {
  text-decoration: underline;
}
.company-reviews {
  margin-top: 25px;
}
.company-reviews h4 {
  margin-bottom: 10px;
  font-size: 16px;
}
.reviews-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.review-item {
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.review-item:last-child {
  border-bottom: none;
}
.review-rating {
  font-size: 14px;
  margin-bottom: 4px;
  color: #facc15;
}
.review-rating span {
  color: #d1d5db;
}
.review-rating span.filled {
  color: #facc15;
}
.show-all-reviews {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.show-all-reviews:hover {
  text-decoration: underline;
}
.add-review {
  margin-top: 20px;
}
.add-review label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}
.add-review select,
.add-review textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}
.add-review button {
  margin-top: 12px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}
.company-inquiry-container {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 30px auto;
  width: 100%;
  box-sizing: border-box;
}
.company-inquiry-container h4 {
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
}
.company-inquiry-container .form-group {
  margin-bottom: 15px;
}
.company-inquiry-container input,
.company-inquiry-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}
.company-inquiry-container button {
  width: 100%;
  padding: 12px;
  background-color: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.company-inquiry-container button:hover {
  background-color: #1d4ed8;
}
@media (max-width: 768px) {
  .company-inquiry-container {
    padding: 15px;
    margin: 20px auto;
    width: 95%;
  }
}
.weather-banner {
  margin: 15px auto;
  text-align: center;
}
.weather-banner img {
  border-radius: 8px;
}
.category-description {
  margin-bottom: 55px;
  margin-left: 20px;
  margin-right: 20px;
}
.above-category-description h1 {
  margin: 30px 20px;
}