@charset "utf-8";
/* CSS Document */
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* Reset body margin */
body {
    margin: 0;
    /* font-family: Arial, sans-serif; previous */ 
	
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    background: #fff;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
}
	html {
  scroll-behavior: smooth; /* smooth scroll */ 
}
/* Header section */
.header {
    color: #000;
    text-align: left;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Navbar */
.navbar {
    background: #ccc; /* gray navbar */
    margin-top: 5px;  /* only 5px space below header */
	margin-bottom: 5px;  /* only 5px space below header */
}
.navbar-content {
    display: flex;
    /* justify-content: space-between;*/
    align-items: center;
    padding: 2px 20px;
	width: 100%; /* Fix social links on the right*/
}
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
	flex: 1; /* take available space. Is this neccresary */
	flex-grow: 1;       /* 11:30 expands to push social right */
    justify-content: flex-start; /* keep nav left-aligned */
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: gray;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}
.nav-links.active {
    display: flex;
} 
/* Social icons */
.social {
    display: flex;
    align-items: center;	
	margin-left: auto;  /* pushes social icons to the far right */

}
.social a {
    margin-left: 10px;
	
}
.social img {
    width: 22px;   /* small official logos */
    height: 22px;
}
/* Hamburger menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px 20px;
    background: #ccc; /* match navbar color */
}

.header-text h1 {
    font-size: 48px;
    margin: 0;
}
.header-text h1 span {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: normal;
}
.header-text p {
    font-size: 18px;
    margin: 10px 0 0;
    font-weight: bold;
}
.header-image img {
    max-width: 200px;
}

/* Banner grid */
	.banner-wrapper {
		/* background: linear-gradient(120deg, #ffd500 50%, #fff 50%); */
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  flex-wrap: wrap; /* allows stacking on small screens */
		
  height: fit-content;
  overflow: hidden;
		
}

.banner-grid 
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
	flex: 1 1 70%; /* allow it to grow/shrink */  
}
.banner-side {
  flex: 1 1 15%; /* 15% 150px */
  max-width: 145px;
  background: #fff;
  padding: 1px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
	
 /* max-height: 450px;     controls banner height */
 /*  overflow-y: auto;     hide extra logos / overflow-y: auto; */
overflow: hidden;      
 
}
.banner-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  align-items: center;
}
	
.banner-logo img {
	max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.banner-logo img:hover {
  transform: scale(1.1);
}
	
.banner-grid a,

	.banner-column a {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;       /* remove forced square ratio */
	
 /*  aspect-ratio: 1 / 1; */ 
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
}

.banner-grid img,
.banner-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
	
.banner-grid img:hover,
.banner-column img:hover {
  transform: scale(1.08);
}
/* added 10 01 2026 */
.banner-grid img:hover,
.banner-grid img:focus-visible {
    transform: scale(1.08);
}

/* Banner Column (default: horizontal row like grid) */
.banner-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 30px 30px;
	margin-top: 20px; /* Add spacing above */
}
	.additional-banners h2 {
  text-align: center;
  font-size: 20px;
  margin: 20px 0;
}
/* Popup modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    position: relative;
}
.modal-content h2 {
    margin-top: 0;
}
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.modal .container {
    max-width: 100% !important;
}

@media (max-width: 600px) {
  .header {
      flex-direction: column;
      text-align: center;
  }
  .header-image img {
      margin-top: 20px;
  }
  .menu-toggle {
      display: block;
  }
  .navbar-content {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
  }
  .nav-links {
      flex-direction: column;
      width: 100%;
      display: none; /* hidden by default */
  }
  .nav-links li {
      margin: 10px 0;
  }
  .nav-links.active {
      display: flex; /* show when active */
  }
  .social {
      align-self: flex-end; /* keep icons to the right */
      margin-top: 10px;
  }
}

/* Category grid */
	
	.category-wrapper {
  display: flex;
  flex-direction: row; 
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.category-side {
  /*flex: 1 1 25%;    Fixed width for sidebar */
	/* flex: 0 0 250px; replaced with 
	flex: 0 0 min(250px, 100%);
  max-width: 250px; */
	
	flex: 0 0 250px;
    max-width: 100%;
	
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.category-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.category-logo img {
  height: 32px;
  object-fit: contain;
  max-width: 100%;
  transition: transform 0.3s;
}

.category-logo img:hover {
  transform: scale(1.1);
}
	
.categories {
   /*  background: linear-gradient(100deg, #ffd500 50%, #fff 50%); */
    padding: 40px 20px;
}
.category-grid {
	flex: 1;  /*dali treba ova */ 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-grid div {
    display: flex;
    flex-direction: column;
}
.category-grid a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin: 6px 0;
    transition: color 0.2s;
}
.category-grid a:hover {
    color: #e91e63;
}

a:hover,
a:focus-visible {
    color: #e91e63;
}


/* Responsive */	
	@media (max-width: 900px) {
  .banner-wrapper {
    flex-direction: column;
  }

  .banner-side {
    max-width: 100%;
    width: 100%;
  }

  .banner-logo,
  .category-logo {
	  flex-direction: column;    /* Stack vertically */
    flex-wrap: nowrap;
    /* overflow-x: auto;
    padding-bottom: 10px;
	*/
	align-items: center;
    overflow-x: unset;
	  
  }

  .banner-logo img,
  .category-logo img {
    /*  flex: 0 0 auto;
   margin-right: 10px; */
	  margin: 5px 0;
  }
		

  .category-wrapper {
    flex-direction: column;
  }

  .category-side {
    max-width: 100%;
    width: 100%;
  }

.banner-grid {
    grid-template-columns: repeat(2, 1fr);
}
.category-grid {
    grid-template-columns: repeat(2, 1fr);
}
.banner-column {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }
}

@media (max-width: 600px) {
.banner-grid {
    grid-template-columns: 1fr;
}
.category-grid {
    grid-template-columns: 1fr;
}
}


#table-data2 td {
  white-space: normal !important;
  word-break: break-word;
  max-width: 150px; /* adjust as needed */
}

        #table-data2 th {
            white-space: normal !important;
        }

        /* Optional: smaller font on mobile */
        @media (max-width: 576px) {
            #table-data2 {
                font-size: 10px;
            }
        }

/* Match old table exactly */
.yp-wrapper {
    max-width: 968px;
    margin: 0 auto;
}

.yp-cell {
    padding: 10px;
}

.yp-img-fixed {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.yp-logo {
    max-width: 500px;
}

.yp-map {
    width: 300px;
    height: 300px;
    border: 0;
}

textarea.yp-desc {
    width: 100%;
    resize: none;
    border: none;
}
.yp-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1050;
  align-items: center;
  justify-content: center;
}

.yp-modal .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  max-height: 85vh;
  overflow-y: auto;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
