/*
	Theme Name: RZO Puconci Theme
	Theme URI: http://rzo.salovci.si
	Version: 1.4
	Author: coin
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&display=swap');


:root {
  --bs-font-size:1.2rem;
  --bs-font-weight:200;
  --bs-nav-link-font-size: 1rem;
  --bs-nav-link-font-size-first-level: 1.1rem;
  --bs-body-line-height: 1.5rem;

  --bs-main-body-bg: rgb(232 239 249);
  --bs-font-sans-serif: "DM Sans", sans-serif;
  
  

  /* COLORS */
  --bs-white: #fff;
  --bs-green: #009b00!important;
  --bs-red: #ff0000;
  --bs-yellow: #ffd102;
    
  --bs-light-gray:#F5F5F5;
  --bs-gray:#666;
  --bs-black:#000;
  --bs-blue: #2171b5;
  --bs-dark-gray:#333;
  --bs-new-gray:#72673A;
    
    
  /* OVERRIDES */

  --bs-mar-pad-0: 0 !important;
  --bs-mar-pad-1: 0.25rem !important;
  --bs-mar-pad-2: 0.5rem !important;
  --bs-mar-pad-3: 1.2rem !important;
  --bs-mar-pad-4: 1.5rem !important;
  --bs-mar-pad-5: 3rem !important;
      
  /* BORDERS */
      
  --bs-border-radius-none: 0px;
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: 1.2rem;
  --bs-border-radius-lg: 1.4rem;
  --bs-border-radius-xl: 2rem;

    
  /* SHADDOW */
  --bs-box-shadow: 0 3px 4px -2px rgba(66,66,66,0.2);
  --bs-box-shadow-lg: 1px 1px 9px 0px rgba(66,66,66,0.1);
}





html, body {
	height:100%;
	width:100%;
	outline: 0;
    font-family: 'Montserrat', sans-serif;
	font-size: var(--bs-font-size);
    color: var(  --bs-gray)!important;
    line-height: 1.7em!important;
    margin: 0px!important;
    padding: 0px!important;
    background-color: var(--bs-white)!important;
}

h1, h2, h3  {
    font-weight:700!important;
	color: var(--bs-dark-gray);
    margin-bottom: 25px!important;
}

h3 {
    font-size: 2.5em!important;
    margin-bottom: 60px!important;
}


.col-yellow {
    background-color:var(--bs-yellow)!important;
}

.col-red {
    background-color:var(--bs-red)!important;
}

.col-green {
    background-color:var(--bs-green)!important;
}

.col-gray {
    background-color:var(--bs-dark-gray)!important;
}

.col-blue {
    background-color:var(--bs-blue)!important;
}

.col-light-gray {
    background-color:var(--bs-light-gray)!important;
}

.col-black {
    background-color:var(--bs-black)!important;
}


a {
    text-decoration:none!important;
    color:var(--bs-dark-gray)!important;
}

a:hover, a:focus, a:active, a.active {
    outline: 0;
	text-decoration:none;
}

.navbar {
    background-color: #FFF;
	box-shadow: 0px 10px 40px 0px rgb(0 0 0 / 15%);
}

/* NOVO */
a.nav-link {
    
    color:#FFF!important;
}


.paralax {
    color: #FFF;
	height:50vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
	-webkit-overflow-scrolling:touch;
	-webkit-background-size:cover;
}

.paralax .overlay-content h2 {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* Senca in drop-shadow za gumb */
.paralax .overlay-content .btn {
    color: #FFF!important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  transition: box-shadow .3s ease;
}

/* Močnejša senca na hover */
.paralax .overlay-content .btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}
.overlay-content h2 {
    color: #FFF;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
}

/* Nova kartica z background image in centriranim belim tekstom */
.bg-card {
  height: 220px;                    /* višina 300px */
  background-size: cover;           /* slika pokrije celoten prostor */
  background-position: center;      /* centriraj sliko */
  position: relative;               /* za absolutno pozicioniranje teksta */
  border-radius: .25rem;            /* zaokroženi robovi kot pri .card */
  overflow: hidden;
}

/* Overlay tekst na sredini */
.bg-card .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0;                 /* malo notranjega odstopanja, da ne pade čez rob */
}


/* GLOBAL SETTINGS */

.padding {
	padding-top:80px;
	padding-bottom:80px;
}

.grow { 
    transition: all 0.3s ease-in-out;
    transform-origin: center bottom;
}

.grow:hover { 
    transform: scale(1.05); 
    z-index: 10;
    position: relative; /* da z-index deluje */
    cursor: pointer;
}

.underline {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: var(--bs-red);
}













/* FEAUTURED CONTENT */

.featured  {
    text-align: center;
    color: var(--bs-white);
    padding: 30px 0;
}

.featured h2 {
    margin: 15px 0 0 0!important;
    color: var(--bs-white)!important;
    font-size: 1.2em!important;
}



/* NEWS */

.bulletin {
    margin-bottom: 40px;
}

.bulletin h1 {
    font-size: 1.2em;
    margin-bottom: 5px!important;
}

.bulletin-cont {
    position: relative;
    padding: 25px;
    margin: -40px auto 0 auto;
    display: block;
    background-color: #FFF;
    width: 93%!important;
    box-shadow: var(--bs-box-shadow-lg);
    border-radius: var(--bs-border-radius);
}

.bulletin .category{
    font-size: 1em;
    color: var(--bs-red);
}

.bulletin .datum {
    font-size: 1em;
    margin-bottom: 5px!important;
}

.bulletin-img {
    min-height: 250px;
    border-radius: var(--bs-border-radius);
}













/* EVENTS */

.event {
    margin-left: 70px;
    margin-bottom: 40px;
}

.event-cont {
    position: relative;
    margin-left: -90px;
    padding: 13px;
    display: block;
    background-color: #FFF;
    box-shadow: var(--bs-box-shadow-lg);
    border-radius: var(--bs-border-radius);
}

.events-bg-img {
    min-height: 170px;
    border-radius: var(--bs-border-radius);
}

.day {
    margin-top:15px;
    font-size: 4em;
    font-weight: 600;
    color: var(--bs-red);
}

.month {
    float:left;
    margin-top: 17px;
    white-space: nowrap;
}

.event .content  {
    margin-left: 20px;
}

.event .content h1  {
    font-size: 1.2em;
    margin-bottom: 4px!important;
}

.event .category {
    font-size: 1em;
    color: var(--bs-red);
}

.event .datum {
    font-size: 1em;
}




/* IMAGES */

#crumbs {
    margin: 45px 0px;
    font-size:1em;
}

#crumbs a {
    font-weight:600;
}

hr{
    margin: 30px 0;
}

.infobox {
    background-color: var(--bs-red);
    color:var(--bs-white);
    box-shadow: var(--bs-box-shadow-lg);
    padding: 30px!important;
    margin: 40px 0 30px 0px!important;
    position: relative;
    border-radius: var(--bs-border-radius);
}

.infobox ul {
    margin: 0px;
    padding: 0px;
}

.infobox p, .infobox a, .infobox h2 {
    color:var(--bs-white)!important;
    padding: 0;
    margin: 0;
}

.infobox h2 {
    font-size: 1.2em;
}


.dogodek-podatki {
    background-color: var(--bs-green)!important;
}

.kontaktni-podatki {
    background-color: var(--bs-red)!important;
}

.image-container {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-overlay {
    position: absolute;
    top: 60px;
    max-width: 80%;
    left: 0px;
    color: white;
    background-color: rgba(0, 128, 0, 0.7); /* zelena */
    padding: 10px 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    word-wrap: break-word;
}

/* Barve ozadja */
.title-overlay.green-bg {
    background-color: rgba(0, 128, 0, 0.7); /* zelena */
}

.title-overlay.red-bg {
    background-color: rgba(255, 0, 0, 0.7); /* rdeča */
}

.title-overlay.yellow-bg {
    background-color: rgba(255, 255, 0, 0.7); /* rumena */
    color: black; /* da je tekst bolj čitljiv na rumeni */
}

.read-more {
    margin-top: 10px;
    display: block;
    text-align: right;
    color: var(--bs-green);
}

.titledeco {
    color: var(--bs-green)!important;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin: -10px 0px 0px 0px!important;
}


.content-img {
    min-height: 550px;
}



/* SPECIAL OFFER */

.offer {
    text-align: center;
    padding: 0px 40px;
    margin-bottom: 30px;

}

.offer h2 {
    font-size: 26px;
    font-weight: 500;
    text-transform: uppercase;
}

.offer p {
    font-size: 14px;
    margin-bottom: 30px;
}


.bg-offer-img {
    min-height: 200px;
}



.btn-success {
    border-radius: 10px;
    background-color: #019c00;
}

.btn-danger {
    border-radius: 10px;
    background-color: #fe0000;
}

.btn-success {
  color: #fff;
  background-color: var(--bs-green)!important;
  border-color: var(--bs-green)!important;
}




.gallery-img.image-container {
    width: 150px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gallery-img.image-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* kvadrat */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.gallery-img.image-container:hover {
    transform: scale(1.03);
}

.custom-file-list {
    list-style: none;
    padding-left: 0;
}
.custom-file-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.custom-file-list li a {
    color: #0d6efd;
    text-decoration: none;
}
.custom-file-list li a:hover {
    text-decoration: underline;
}















/* PAGE LIST */



.card {
    position: relative;
    overflow: hidden;
    border:#FFF!important;
    border-radius: var(--bs-border-radius)!important;
    box-shadow: var(--bs-box-shadow-lg);
}

.card-link:hover .card {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0.7;
}




.post-img {
    height: 250px;
}

















.search-result-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
    margin-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.search-result-card:hover {
  transform: scale(1.01);
  border-color: var(--bs-red);
}

.search-result-card a.card-link-wrapper {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
  width: 100%;
}

.search-result-card a.card-link-wrapper .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-result-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--bs-red);
}

.search-result-card .excerpt {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.search-result-card .read-more {
  margin-top: auto;
  font-weight: bold;
  color: var(--bs-red);
  text-decoration: none;
}



.rounded-search {
  display: flex;
  max-width: 400px;
  border: 1px solid var(--bs-gray);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 64, 133, 0.2);
  background-color: #fff;
  font-family: inherit;
}

/* Input */
.rounded-search .search-input {
  flex: 1;
  border: none;
  padding: 0.4rem 1.3rem;
  font-size: 0.9rem;
  color: var(--bs-gray);
  background-color: transparent;
  outline: none;
  border-radius: 50px 0 0 50px;
  margin: 0;
  box-sizing: border-box;
  /* odstrani morebitne notranje robove iz brskalnikov */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Placeholder barva */
.rounded-search .search-input::placeholder {
  color: var(--bs-gray);
}

/* Gumb */
.rounded-search .search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: none;
  background-color: var(--bs-red);
  color: white;
  cursor: pointer;
  border-radius: 0 50px 50px 0;
  transition: background-color 0.3s ease;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

/* Ikona v gumbu */
.rounded-search .search-button svg {
  stroke: white;
  width: 20px;
  height: 20px;
  display: block;
}

/* Hover efekt gumba */
.rounded-search .search-button:hover {
  background-color: #b22222; /* malo temnejša rdeča */
}

/* Odstrani fokusni rob na gumbu in inputu */
.rounded-search .search-button:focus,
.rounded-search .search-input:focus {
  outline: none;
  box-shadow: none;
}



h2.searchresults {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-gray);
  border-left: 6px solid var(--bs-red);
  padding: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.03em;
  background-color: #f8f9fa;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.05);
  border-radius: 4px;
}





.search-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
  font-family: inherit;
}

.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  background-color: #f8f9fa;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

.search-pagination .page-numbers:hover:not(.current) {
  background-color: #e2e6ea;
  border-color: #adb5bd;
  color: #495057;
}

.search-pagination .page-numbers.current {
  background-color: var(--bs-red);
  border-color: var(--bs-red);
  color: white;
  cursor: default;
  font-weight: 700;
  pointer-events: none;
}

.search-pagination .page-numbers.prev,
.search-pagination .page-numbers.next {
  font-weight: 600;
}

/* Disbled state - če je */
.search-pagination .page-numbers.disabled {
  color: #adb5bd;
  border-color: #ddd;
  background-color: #f1f3f5;
  cursor: not-allowed;
  pointer-events: none;
}









/* CAROUSEL */
.carousel {
    margin-bottom: 0px!important;
}

.carousel-inner {
    height: 650px;
}

.carousel img {
    height: 650px!important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.carousel-caption h5 {
  font-weight: 700;
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.carousel-caption p {
  color: #ddd;
  font-size: 1rem;
}






/* COMMERCIAL */

.najem-image-wrapper {
    height: 550px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
}

.najem-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.najem-content {
    background-color: #fff;
    height: 550px;
}


/* DRUŠTVA */

/*s*/


/* FOOTER */

.footer {
    color: #FFF;
}

.footer h2 {
    font-size: 30px;
    color: #FFF;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer h3 {
    font-size: 24px;
    color: #FFF;
    font-weight: 400;
    text-align: left;
    margin-bottom: 15px;
}

.footer a {
    color: #FFF;
    text-decoration: none;
}

.footer a:hover {
    color: #FFF;
    text-decoration: underline;
}



.footer .circle {
    background: none;
    color: #FFF;
    border: 2px solid #FFF;
    height: 35px;
    width: 35px;
    font-size: 1.2em;
}

.footer .circle span {
    height: 31px;
    width: 31px;
}

.social .circle {
    background: #FFF;
    color: #019c00;
    height: 60px;
    width: 60px;
    line-height: 0!important;
}

.social .circle span {
    height: 60px;
    width: 60px;
}


@media only screen and (min-width : 320px) and (max-width : 768px) {
    
    h3 {
        font-size: 2em!important;
        margin-bottom: 60px!important;
    }
    
    .padding {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    
    .content-img {
        min-height: 270px;
    }

    
    .bulletin, .event {
        padding: 0px 40px 20px 40px!important;
        margin-bottom: 20px;
        margin-left: 0px;
    }

    .bulletin-cont, .event-cont {
        margin-left: 0px;
        width: 90%!important;
        margin: -40px auto 0 auto!important;
    }

    .events-bg-img {
        min-height: 250px;
    }
    
    .carousel-inner {
        height: 350px;
    }
    
    .carousel img {
        height: 350px!important;
    }
    

    .najem-image-wrapper {
        clip-path: none;
        height: 250px;
    }

    .najem-content {
        clip-path: none;
        height: auto;
        padding: 2rem;
    }
}
    
    
}

