
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}


.navbar {
    width: 100%;
    background: #fff;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: auto;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #000000;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(137, 137, 137, 0.654) 60%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__links:hover {
    color: red;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px){
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu{
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5 ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }

    .navbar__menu.active {
        background: #fff;
        top: 100%;
        opacity: 1;
        transition: all 0.5 ease;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: black;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}




/* Hero section */

.main {
    background-color: #131313;
    height: 100%;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    height: 100%;
    background-color: #131313;
    z-index: 1;
    width: 100%;
    width: 100vw;
    padding: 0 0px;
}
 .main img {
    width: 100vw;
 }


/* Mobile responsive */


@media  screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 100%vh;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

}

/* Services section*/

.services {
    background: rgb(210, 210, 208);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services h1 {
    padding-top: 4%;
    text-align: center;
    width: 100%;
}

.services__container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
    font-size: large;
    padding-bottom: 50px;
    align-items: center;

    
}

.services__card {
    padding: 3%;
}

.services__card p{
    width: 40vw;
    text-align: justify;
    

}


.services__card img { 
    width: 30vw;
}




@media  screen and (max-width: 768px) {
    .services {
        flex-direction: column;
    }
    .services__container {
        justify-items: center;
    }
    .services h1 {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .services__card img {
        width: 80vw;
        height: auto;
    }
    .services__card p {
        width: 100%;
        font-size: 1rem;
        padding-left: 3%;
        padding-right: 3%;
    }
}



/* naša ponudba section*/

.prodaja__naslovnica {
    background-color: rgb(210, 210, 208);
}

.prodaja__naslovnica h1 {
    font-weight:900;
    font-size: 2.5rem;
    padding-left: 1%;
    padding-bottom: 3%;
} 

.ponudba {
    padding-bottom: 3%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    background-color: rgb(210, 210, 208);
    
}

.nepremicnina {
    border:  3px solid #000000;
    background: white;
    padding: 10px;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
}

.nepremicnina img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.nepremicnina a {
    font-size: 1.3rem;
    padding-bottom: 10px;
    text-decoration: none;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* Število vrstic */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em; 
}

.nepremicnina p {
    text-align: center;
    padding-top: 10px;
}

.nepremicnina h3 {
    color: red;
    font-weight: bold;
    padding: 10px;
}

@media  screen and (max-width: 768px) {
    .prodaja__naslovnica h1 {
        text-align: center;
    }
    .prodaja__naslovnica {
        height: 100% + 10vh;
        justify-items: center;
    }

    .ponudba {
        flex-direction: column;
        gap: 1rem;
        justify-items: center;
        align-items: center;
    }
    .nepremicnina {
        width: 90vw;
    }
    .prodaja {
        flex-direction: column;
        gap: 1rem;
        justify-items: center;
        align-items: center;
        padding: 0px 0px;
        margin: 0px;


    }
}


/* footer section*/


.footer__container {
    color: white;
    background-color: rgb(58, 57, 56);
    padding: 5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap:wrap ;
    width: 100vw;
}

.footer__container img {
    height: 20vh;
    padding-left: 9%;
}
.footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
    width: 30vw;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    margin: 16px;
    text-align: left;
    box-sizing: border-box;
}

.footer__link--items h2 {
    padding: 10px;
}

.footer__link--items  h3 {
    color: #fff;
    padding: 10px;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease-out;
}


.footer__link--items a {
    color: red;
    text-decoration: underline;
    padding: 10px;
}

@media  screen and (max-width: 768px) {
    .footer__container {
        width: 100vw;
    }
    .footer__links {
        flex-direction: column;
        justify-content: center;

    }
    
}

/* Prodaja */



.prodaja {
    overflow: hidden;
    padding: 3em;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6rem;
    background-color: rgb(210, 210, 208);
    
}

.prodamo_test {
    background-color: rgb(210, 210, 208);
}

.nepremicnina {
    display: none;

    
}

.show {
    display: block;
}

@media  screen and (max-width: 768px) {
    .prodaja {
        align-items: center;
        padding: 0;
        padding-top: 1em;
        gap: 1em;
        min-height: 0;
    }
    .nepremicnina {
        margin: 1em;
    }
    
}


.head {
    background-color: rgb(210, 210, 208);
}


.head h1 {
    font-size: 3rem;
    padding: 25px;
}
.prodamo_test {
    position: relative;
    display: inline-block;
}

.prodamo_test button {
    width: 100px;
    height: 50px;
    margin-left: 2em;
    cursor: pointer;
    background-color: white;
}

.fil {
    display: none;
    position: absolute;
    z-index: 1;
    box-shadow: 0 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.fil button {
    display: block;
}

.fil button:hover {
    background-color: gray;
}

.prodamo_test:hover .fil {
    display: block;
}



.prodamo_test1 {
    position: relative;
    display: inline-block;
    
}

.prodamo_test1 button {
    width: 100px;
    height: 50px;
    margin-left: 0em;
    cursor: pointer;
    background-color: white;
}

.fil1 {
    display: none;
    position: absolute;
    z-index: 1;
    box-shadow: 0 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.fil1 button {
    display: block;
}

.fil1 button:hover {
    background-color: gray;
}

.prodamo_test1:hover .fil1 {
    display: block;
}

.prodaja {
    min-height: 100vh;
}





/*Kontakt*/

.kontakt {
    background-color: rgb(210, 210, 208);
    min-height: 92vh;
}





.kontakt {
    background: rgb(210, 210, 208);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kontakt h1 {
    padding-top: 4%;
    text-align: center;
    width: 100%;
    padding: 4%;
}

.kontakt__container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
    font-size: large;
    padding-bottom: 50px;
    align-items: center;
    
}

.kontakt__card {
    padding: 3%;
}

.kontakt__card p{
    width: 50vw;
    text-align: center;

}

.kontakt__card img { 
    height: 30vw;

}




@media  screen and (max-width: 768px) {
    .kontakt {
        flex-direction: column;
    }
    .services__container {
        justify-items: center;
    }
    .kontakt h1 {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .kontakt__card img {
        display: none;
        width: 80vw;
        height: auto;
    }
    .kontakt__card p {
        width: 100%;
        font-size: 1rem;
        padding-left: 3%;
        padding-right: 3%;
    }
    
}


/* Stran objave */

.razlaga {
    background-color: rgb(210, 210, 208);
}

.razlaga h1 {
    padding:2rem 4rem 0rem 4rem;
    font-size: 1.5rem;
}

.razlaga p {
    padding: 4rem;
    font-size: 1.5rem;
}

.mySlides {
    display: none;
    padding: 2rem;
    background-color: rgb(210, 210, 208);
    justify-content: center;
}
.my Slides img {vertical-align: middle;
    height: 600px;
    
}

@media screen and (max-width: 768px) {
    .razlaga p {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    
    .razlaga h1 {
        padding:1rem 0.5rem 0rem 0.5rem;
        font-size: 1.1rem;
    }
    .slideshow-container img {
    height: 60vh;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    }
    .prev {
        left: -10px;
    }

    .next {
        right: -10px;
    }

    
    
}


.slideshow-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  position: relative;
  width: 100%;
  max-width: 50vw; /* ali po tvoji izbiri */
  
  justify-content: center;
  text-align: center;
  
    
    padding: 0;
    margin: 0 auto;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.slideshow-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: 60vh;
    max-width: 100vw;
}

.prev, .next {
    position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: black;
  cursor: pointer;
  z-index: 1;


}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.prev {
  left: -50px;
}

.next {
  right: -50px;
}



/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

@media  screen and (max-width: 768px) {
    .prev, .next,.text {font-size: 11px}
    .slideshow-container  {
        width: 100vw;
        height: 50vh;
    }
}


.oglas-navpicno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    gap: 3rem;
}




.razlaga {
    width: 100%;
    padding: 2rem 5vw; /* robovi, da ni čisto do roba */
    background-color: rgb(210, 210, 208);
    font-size: 1.3rem;
    line-height: 1.8;
    box-sizing: border-box;
}

.section {
    font-size: 1.2rem;
}

.section h1{
    font-size: 1.2rem;
}

.naslov {
    padding: 2rem 0 0 2rem;
}

.cena {
  padding-left: 2rem;
  font-size: 2rem;
  color: red;
  margin-bottom: 2rem;
}





.oglas-vsebina {
  max-width: 95vw;
  margin: auto;
  padding: 1rem;
  background-color: rgb(210, 210, 208);
  border-radius: 8px;
}

.glavni-podatki {
  text-align: center;
  margin-top: 1rem;
}

.cena-oglasa {
  font-size: 2rem;
  color: #c00;
  margin: 0.5rem 0;
}

.kratek-opis {
  font-size: 5rem;
  color: #333;
}

.lastnosti {
  font-size: 5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 1rem 0;
}
.lastnost span {
  font-size: 2rem; /* posebej poveča samo emoji */
}

.lastnost {
  background: rgb(210, 210, 208);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.thumbnail {
  width: 100px;
  height: auto;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.thumbnail:hover {
  border: 2px solid #555;
}

@media (max-width: 768px) {
  .thumbnails {
    display: none;
  }
  #opis {
    font-size: 1rem; /* ali 14px */
    line-height: 1.4;
  }
}


/* Admin pane */

