* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rosario', sans-serif;
}


html, body{
    z-index: 2;
    overflow-x: hidden;
}

.custom-navbar {
    
    background-color: #EADBBF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 10px;
    border-radius: 15px;
    padding: 10px 20px;
    width: 95%;
    margin: auto;
    max-width: 1200px;
    margin-top: 10px;
    
    }

.nav-container{
    width: 100%;
    position: fixed;
    z-index: 9999; 
}

.container{
    padding-top: 10px;
}

.navbar-nav .nav-link {
    color: #000; /* crna boja linkova */
    font-weight: 500;
    transition: all ease 0.2s;

}

.navbar-brand img{
    height: 55px;
    width: 70px;
}



.navbar-nav .nav-link:hover {
    background-color: #303030;
    color: #fff;
    border-radius: 15px;
}

.navbar-nav{
    text-align: center;
}

.container-fluid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin: auto;
}

.nav-links{
    display: flex;
    justify-content: space-between;
    margin: auto;
    width: 70%;
}

.nav-link{
    font-size: 16px;
}

.foot-link{
    text-decoration: none;
    font-size: 16px;
    margin: 5px;
}

.foot-link a:hover{
    color: #bbbbbb;
}

.foot-link a {
    
    color: #000;
    text-decoration: none;
    transition: all ease 0.15s;
}

.foot-header{
    font-weight: bold;
}

.socials-handler img{
    padding: 5px 10px;
}

.foot-list, .list-deco{
    text-decoration: none;
    text-align: center;
    list-style: none;
}

.footer-handler{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;   
    padding: 40px 50px ;
}

.num-foot{
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

footer{
    background-color: #C6AB7C;   
}

.contact-section{
    text-align: center;
    padding: 100px 0px;
}

.contact-section-header{
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}


.btn-handler {
  position: relative;
  padding: 12px 20px;
  background-color: #C6AB7C;
  border: none;
  color: #000;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}


.btn-handler::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background-color: #000;
  border-radius: 20px;
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-handler:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn-handler:hover {
  color: #fff;
}

 .ph-nav-logo{
        display: none;
    }

.ph-logo-navbar{
    display: none;
}

.banner-section{
    background-image: url('../assets/banner.png');
    height: 90vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover, auto, auto;
    
}

.custom-btn-banner{
    font-weight: bold !important;
    border-radius: 20px;
    transition: all ease-in 0.15s !important;
    border: none !important;
}

.custom-btn-banner:hover{
    background-color: #C6AB7C !important;
    color: #fff !important;
}

.banner-content{
    display: flex;
    align-items: center;
    justify-content:  space-between;
    height: 100%;
    color: #fff ;
    
}

.trio-handler{
    height: 100%;
    width: 100%;
    position: relative;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
/*
.anim{
    animation: slideInLeft 1.5s ease-out forwards;
}
*/
#pol-1{
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
    z-index: 1;
    opacity: 0; /* početno nevidljivi */

}


#pol-2{
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    height: auto;
    z-index: 1;
    opacity: 0; /* početno nevidljivi */
}

#mainTitle{
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    opacity: 0;
   /* animation: slideInLeft 1.5s ease-out forwards; */
    
}

.smt-txt-btn{
    text-align: right;
/*    animation: slideInLeft 1.5s ease-out forwards;*/
    opacity: 0;
}

.smt-txt-btn h3{
    font-weight: bold;
    margin-bottom: 30px;
}

.image-container img{
    width: 100%;
    height: 200px;
    margin: 10px 0px 0px 0px;
    border-radius: 10px;
    
}

.card-info{
    display: flex;
}

.card{
    box-shadow: 4px 6px 4px #0000003a;
    transition: all ease 0.3s;
    cursor: pointer;
    text-align: center;
    border-radius: 10px !important;
    font-weight: bold;
}

.card:hover{
    box-shadow: 4px 6px 4px #0000007c;
    scale: 1.005;
}

.info-sticker{
    height: 25px;
    width: 25px;
}


.card-title h5{
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.st-txt{
    font-size: 15px !important;
    font-family: 'Roboto', sans-serif;
}

.card-address {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left;
}

.nekretnine-h{
    font-weight: bold;
    font-size: 2.5rem;
    margin: 25px 0px;
}

.card-container{
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.nekretnine-section{
    position: relative;
}

#floorplan{
    position: absolute;
    overflow: hidden;
    right: -20%;
    top: 200px;
    z-index: -1;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.brown-sec{
    background-color: #C6AB7C;
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.back-logo{
    position: absolute;
    z-index: 1;
    right: -10px;
    top: 150px;
}

.services-h{
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0px 40px 0px;
}

.service-cards{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card{
    height: 270px;
    width: 270px;
    text-align: center;
    border: solid #bbbbbb 0.5px;
    border-radius: 10px;
    padding: 25px 5px 50px 5px !important;
    background-color: #fff;
    box-shadow: 4px 6px 4px #0000003a;
}

.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}


.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ser-card{
    margin-bottom: 20px;
    height: 40px;
    width: 40px;
}

.testimonial-h{
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
}

.test-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.test-card{
    text-align: center;
    background: linear-gradient(to bottom, #F6E8CF 0%, #FFFFFF 50%, #F6E8CF 100%);
    font-weight: bold;
    margin: 10px;
    border-radius: 10px;
}

.test-card h3,
.test-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.small-test-card{
    height: 200px;
    width: 230px;
    padding: 70px 10px;

}

.main-test-card{
    width: 240px;
    height: 260px;
    padding: 90px 10px;

}

.banner-2{
    background-image: url('../assets/onama-ban.png');
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover ;
}

.onama h2{
    margin-top: 30px;
}

.onama p{
    font-weight: 500;
    font-size: 22px;
}

.onama-wrapper{
    display: grid;
    grid-template-areas: 'text photo'
                         'text2 text2';
    gap: 40px;
    margin: 50px 0px;   
}

.onama-wrapper img{
    height: 700px;
    width: 600px;
   grid-area: 'photo';
}

#text{
   grid-area: 'text';
}

#text2{
   grid-area: 'text2';
}

.banner-3{
    background-image: url('../assets/kontakt-ban1.png');
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover ;
}


.info-con{
        width: 200px;
        color: #fff;
        text-align: center;
        font-weight: bold;
}
    
.info-con-part{
        margin-top: 20px;
        display: flex;
        gap: 30px;
        justify-content: center;
        margin-bottom: 30px;
}

.info-con h3{
    font-weight: bold;
}

.con-page{
    background-color: #C6AB7C;
    height: 100%;
    width: 100%;
    padding-bottom: 70px;
}

.socials-handler > a > img {
    width: 64px;
}

.ph-number{
    font-family: 'Roboto', sans-serif;
}

.con-form input,
.con-form textarea{
    border-radius: 10px;
    padding: 10px;
    height: 40px;
    width: 400px;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.con-form textarea{
height: 90px;
}

.con-form label{
    color: #fff;
    font-size: 21px;
    font-weight: bold;
}

.con-btn{
    font-weight: bold;
    transition: all ease-in 0.2s;
    margin: auto;
    width: 150px !important;
}

.form-logo{
    display: flex;
    justify-content: center;
    gap: 40px;
}

.con-btn:hover{
    background-color: #000;
    color: #fff;
}

.banner-4{
    background-image: url('../assets/nekretnine-ban.png');
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover ;
}

.card{
    height: 385px !important;
    width: 245px !important;
}

.pagination{
    text-align: center;
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a{
    color: #000;
    text-decoration: none;
    background-color: #C6AB7C;
    padding: 10px;
    border-radius: 15px;
    font-weight: bold;
    transition: all ease 0.2s;
}

.pagination a:hover{
    background-color: #6e5a37;
    color: #fff;
}

.filter-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.filter-part{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.filter-part select{
    margin: 10px 30px 10px 10px;
    border-radius: 10px;
    padding: 5px 20px;
}

.banner-5{
    background-image: url('../assets/nek-ban.png');
    height: 40vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover ;
}


.swiper-container {
      width: 100%;
      max-width: 600px;
      height: 500px;
      margin: 0px auto;
      border-radius: 10px;
      overflow: hidden;
    }
    .swiper-slide {
      display: flex;
      justify-content: center;
      background: none;
    }
    .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: fill;
      cursor: pointer;
    }
    .controls {
      text-align: center;
      margin-top: 15px;
      margin-bottom: 20px;
    }
    button {
      padding: 10px 20px;
      background: #fff;
      color: #111;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }
    button:hover {
      background: #ccc;
    }

.swiper-info-wrapper,
.desc-cont-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.info-container,
.cont-container{
    background-color: #C6AB7C;
    border-radius: 10px;
    padding: 20px 15px;
    max-width: 50%;
    font-weight: bold;
}

.info-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.info-det{
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-text p{
    font-weight: bold;
    margin: 5px;
}

.vir-part{
    margin-top: 25px;
    text-align: center;
}

.vir-part h3{
    margin-bottom: 20px;
}

.vir-btn{
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
    max-width: 150px;
    margin: auto;
    color: #000;
    transition: all ease 0.2s;
}

.vir-btn:hover{
    background-color: #e9e9e9;
    max-width: 160px;
}

.description{
    text-align: start;
    width: 100%;
    display: block;
}

.description p{
    padding: 10px;
    width: 100%;
}

.cont-container{
    width: 50%;
    display: block;
}

.cont-container div{
    text-align: center;
    margin: auto;
    padding: 10px 0px;
    color: #000;
}


.desc{
   width:  50%;
}

.seeall{
    padding: 15px 10px;
    background-color: #C6AB7C;
    color: #303030;
    text-decoration: none;
    border-radius: 20px;
    transition: all ease 0.2s;
    font-weight: bold;
    margin: auto;
    display: block;
    text-align: center;
    max-width: 150px;

}

.seeall:hover{
    background-color: #6e5a37;
    color: #fff;
    scale: 1.1;
}

#loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #C6AB7C;
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1400px) {

    .service-cards{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .service-card{
        margin: auto;
    }

    
.swiper-info-wrapper,
.desc-cont-wrapper{
    justify-content: center;

}

.cont-container{

    width: 100%;

}

.description{
    width: 50%;
    margin: auto;
}

.desc{
   margin: 40px 0px;
   width:  100%;
}

}

@media only screen and (max-width: 1199px) {

    .card-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .card{
        margin: auto;
    }

    .onama h2{
        text-align: center;
        margin-bottom: 50px;
    }

    .onama-wrapper img{
        height: 500px;
        width: 400px;
        margin: auto;
        margin-bottom: 50px;
    }

    .onama p{
        font-size: 18px;
        text-align: center;
    }

    .onama-wrapper{
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        margin: auto;
    }

    
.info-container,
.cont-container{

    max-width: 90%;

}

.description{
    width: 90%;
}
}

@media only screen and (max-width: 991px) {
    .ph-nav-logo{
        display: block;
    }

    .diss{
        display: block;
    }

    .ph-logo-navbar{
        display: block;
        height: 55px;
        width: 70px;
    }

    .ph-nav{
        display: none;
        margin: auto;
    }

    .nav-ph-logo{
    height: 55px;
    width: 70px;
    }

    .nav-item{
        margin: 10px 0px;
    }

    #pol-1,
    #pol-2{
        height: 300px;
        width: 300px;
    }

    #mainTitle{
        font-size: 2.5rem;
    }

    .smt-txt-btn h3{
        font-size: 1.3rem;
    }

    
    .custom-btn-banner{
        margin-bottom: 70px;
    }

    .info-con-part{
        flex-wrap: wrap;
    }

    .form-logo{
        flex-wrap: wrap;
    }

    .logo-form{
        display: none;
    }
}

@media only screen and (max-width: 580px) {

    .service-cards{
        display: flex;
        flex-wrap: wrap;
    }
    
    .banner-content{
        display: block;
        text-align: center;
    }

    .smt-txt-btn{
        text-align: center;
        margin-bottom: 50px;
        margin-top: 100px;
    }

    .smt-txt-btn h3{
        font-size: 2rem;
    }

    #pol-1, #pol-2{
        display: none;
    }

    .banner-section{
        height: 100%;
        padding-top: 50%;
    }


    #mainTitle{
        font-size: 3.5rem;

    }

    .card-container{
        display: flex;
        flex-wrap: wrap;
    }

    
}

@media only screen and (max-width: 510px) {

.list-deco{
    padding: 10px;
}

.footer-handler{
    display: block;
    text-align: center;
}

.contact-section-header{
    font-size: 2rem;
}

    .onama-wrapper img{
        width: 95%;
    }

    .info-wrapper{
        justify-content: center;
        text-align: center;
    }

}

@media only screen and (max-width: 425px) {

    .con-form input,
    .con-form textarea{
        width: 90vw;
    }

}

@media only screen and (max-width: 395px) {

    #mainTitle{
        font-size: 2.5rem;
    }

    .smt-txt-btn h3{
        font-size: 1.3rem;
    }

}