.top-bar{
    width: 100%;
    
   /* background-color: #1E3A5F;*/
   height: 120px;
   position: fixed;
    display: flex;
    align-items: center; /* Aligns text vertically */
    justify-content: space-between; /* Aligns text horizontally (optional) */
    background-color: #002147;
    z-index: 10000;
    top: 0;
}
body {
    margin: 0;
    padding: 0;
    background-color:  #F5F5DC;
   padding-top: 120px;
  }
  .instagram-icon{
    color: transparent;
  }
  .top-bar p{
    
     color: #D4AF37;
     font-family: "Libre Bodoni", serif;
     font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    
      
      font-size: 50px;
      
  }
  .menu { 
    display: none;
    animation: fadeIn 0.5s;
  }
body {
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  
}

.hero-section {
  background-color: #F5F5DC;/* #1a1a1a; /* Dark grey */
  height: 90vh; /* Full viewport height */
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-top: 0px;
  width: 100%;
 
}

.hero-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 ;
  padding: 0 0px;
  margin-top: 10vh; justify-content: space-between;
  height: 80vh;
}

.image-content {
  flex: 1;
  position: relative;
 /* clip-path: polygon(0 0, 100% 40%, 0 100%); /* Equilateral triangle */
 /* clip-path: ellipse(100% 50% at 0% 50%);*/
 border-top-right-radius: 90%;
 border-bottom-right-radius: 90%;
  overflow: hidden;
  height: 70vh; /* Full height */
  width: 100%;
  background-image: url('Adobe\ Express\ -\ file.png'); /* Replace with your image path */
  background-repeat: no-repeat;
  margin-top: 0px;
  width: 100%;
  height: auto;
    background-position: 50% 50%; /* Center horizontally and vertically */
    background-size: cover;
    background-attachment: fixed; /* Fix the background */
    
}

/*.image-content img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  object-position: left;
}
*/
.text-content {
  flex: 1;
  margin-left: 160px;
  z-index: 2;
  margin-top: 15vh;
  
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  
  
}

.text-content h1, .text-content h2 {
  font-size: 3rem;
 
  margin-bottom: 20px;
  margin-top: 10px;
  animation: fadeIn 1.5s;
  font-size: 30px !important;
  animation-delay: 3s;
  color: transparent;
  margin-top: 0;
}
.prikazi3{
  color: #d4af37 !important; /* Golden */
}
.text-content p {
  font-size: 1.2rem;
 
  margin-bottom: 30px;
  animation: fadeIn 1.5s ;
  animation-delay: 3.5s;
  color: transparent;
}
@keyframes fadeIn{
  0% {opacity: 0; transform: translateX(-100px)}
  
  100% {opacity: 1; transform: translateX(0); }
}
.cta-button {
  background-color: transparent; /* Dark blue */
  color: #D4AF37;
  
  text-decoration: none;
  border-radius: 5px;
  font-size: 5vh;
  transition: opacity 0.3s ease;
  
padding-top: 15px;
padding-bottom: 15px;
padding-left: 5px;
padding-right: 5px;
}
.naslov2{
  color: transparent !important;
  margin-top: 20px !important;
  margin-bottom: 30px !important;
}
.cta-button:hover {
  opacity: 0.8;
}
.prvi2 , .drugi2{
  color: transparent;
  animation-delay: 4.5s !important;
  margin-bottom: 80px !important;
}
.dodaj{
  color: #002147 !important; 
}
.naslov2{
  animation-delay: 4s !important;
  color: transparent;
  font-size: 30px !important;
}
.dodaj1{
  color: #d4af37 !important; 
}
.linija , .linija2{
  height: 5px;
  width: 90vw;
  background-color: #002147;
  border-radius: 50%;
  
  margin: 10px auto;
}
.linija{
  margin-top: 129px;
}
.linija2{
  width: 80%;
  max-width: 80vw;
  margin: 5px auto;
 
}

.cover{
  background-color:  #F5F5DC;
  animation: reveal1 3s;
  position: fixed;
  left: 0;
  height: 0;
 
  bottom: 0;
  width: 33%;
  display: flex;
    justify-content: center; /* Centers horizontally */
  z-index: 100000;
  border-top-left-radius: 25%;
  border-top-right-radius: 25%;
}



.cover2{
  background-color:  #F5F5DC;
  animation: reveal2 3s;
  position: fixed;
  height: -400px;
  
  z-index: 100000;
  width: 34%;
  display: flex;
    justify-content: center; /* Centers horizontally */
  z-index: 1000;


  left: 50%; /* Move it to the center horizontally */
    transform: translateX(-51.5%);
    top: 0;
    border-bottom-right-radius: 55%;
    border-bottom-left-radius: 55%;
     
    
}

.cover3{
  background-color:  #F5F5DC;
  animation: reveal1 3s;
  position: fixed;
  /* Move it to the center vertically */
  z-index: 100000;
  height: 0;
  right: 0;
 bottom: 0;
  
  width: 33%;
  display: flex;
    justify-content: center; /* Centers horizontally */
  z-index: 1000;
  border-top-left-radius: 25%;
  border-top-right-radius: 25%;  
}
/* styles.css */


/* Create the roller using a pseudo-element */
/*.body{
  animati
}*/
@keyframes reveal1{
0% {height: 100%;}

100%{height: 0px;}
}
@keyframes reveal2{
  0% {height: 100%;}
  
  100%{height: 0px;}
  }
  .valjak{
    position: absolute; /* Relative positioning for the image */
    overflow: hidden;
    height: 600px;
    width: 100%;
    border-top-left-radius: 5%;
  border-top-right-radius: 5%;  
  z-index: 10005;
  }
  .dva{
    bottom: 0;
    transform: rotate(180deg); /* Initial position and rotation */
  }

  .rol{
    margin-right: 50px;
    font-size: 35px;
    color: #D4AF37;
  }
  .usluge{
    width: 100%;
    height: 700px;
    background-color: #002147;
    clip-path: ellipse(100% 90% at 50% 100%);
   padding-top: 150px;
  }
  .usluge h2{
    text-align: center;
    color: #D4AF37;
    font-family: "Libre Bodoni", serif;
    font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  
  }
  .usluge h2 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
  .lin{
    height: 4px;
    width: 80vw;
    margin: 0 auto;
    background-color: #D4AF37;
    border-radius: 75%;
    margin-bottom: 10px;
  }
  .lin2{
    height: 4px;
    width: 35vw;
    margin: 0 auto;
    background-color: #D4AF37;
    border-radius: 75%;
    margin-bottom: 30px;
  }
  .gg{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    height: 300px;
  }
  .gg img{
    width: 300px;
   height: 200px;
 
   object-position: top;
   border-radius: 3px;
   margin-top: 10px;
   margin-left: auto;
   margin-right: auto;
   box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  .gg p{
    color: #002147;
    font-size: 25px;
   width: 26vw;
  margin-left: 10px;
  }
  .gg div{
   background-color: #f8f8e5;
   border-radius: 3px;
    margin-bottom: 90px;
    display: grid;
    justify-content: center;
    height: 340px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  @media(min-width:476px) and (max-width:764px){
    .gg div{
      height: 440px;
    }
  }
  @media (max-width: 768px) {
    .text-content {
        margin-left: 20px; /* Reduce margin */
    }
}

@media (max-width: 768px) {
  .image-content {
    clip-path: ellipse(100% 50% at 50% 50%); /* Center the ellipse */
}
  .top-bar p{
    font-size: 7vw;
    
  }
  /*.top-bar a{
    height:  50px !important;
    width: 50px !important;
  }*/
  .igifb{
    margin-left: 10px !important;
  }
  .rol{
    margin-right: 10px;font-size: 4vh;  }
  .top-bar{
    height: 90px;
  }
  .image-content{
    display: none;
  }
  
  .cover{
    width: 100%;
    height: auto;
  }
 
  .cover2{
    display: none;
  }
  .cover3{display: none;}
  .gg{
    flex-direction: column;
    margin-top: 480px;
   align-items: center;
  }
  .usluge{
    padding-top: 0px;
     height: 480vw !important;
     clip-path: ellipse(170% 70% at 50% 80%);  /* Move the curve higher */
     transform: translateY(-100px);
  }
  .lin{
    margin-bottom: 0;
  }
  .gg img{
    width: 78vw;
    height: 50vw;
  }
  .usluge h2, .lin{
    transform: translateY(50vh);
  }
  .lin2{
    transform: translateY(52vh);
    margin-bottom: 10px;
  }
  .ime{
    width: 80vw !important;
  }
  
  .linija, .linija2{
    height: 3px;
    margin-top: 0px;
    margin-bottom: 5px;
  }
  .linija{
    margin-top: 105px;
  }
}


html, body {
  width: 100%;
  overflow-x: hidden; /* Prevents side-scrolling */
  padding: 0;
}

.card-list .card-item .card-link{
  user-select: none;
  display: block;
  background: white;
  padding: 18px;
  border-radius:12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  transition: 0.2s ease-in;
}


.card-list .card-item .card-link:hover{
  border-color: white;
}
.card-list .card-item .card-image{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover ;
  border-radius: 10px;

}
.card-list .card-link{
  margin: 16px 0 18px;
  background-color: white;
}
.swiper-pagination{
  position:relative;
}

.popup{
  position: fixed;
  height: 80vh;
  width: 80vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: black;
  z-index: 99999999;
  display: none;
  overflow: hidden;
  border-radius: 2%;
}
.exit-btn {
  background-color: #e74c3c; /* Bright red color for visibility */
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: absolute;
  right: 10px;
  top: 10px;
}

.exit-btn:hover {
  background-color: #c0392b; /* Darker red on hover */
  transform: translateY(-2px); /* Slightly lift the button */
}

.exit-btn:active {
  background-color: #e74c3c;
  transform: translateY(2px); /* Button moves down on click */
}

.exit-btn:focus {
  outline: none;
  box-shadow: 0 0 5px #e74c3c; /* Red glow effect when focused */
}
.popup img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  backdrop-filter: blur(10px); /* Apply blur effect */
  z-index: 9999; /* Place it above other content */
  display: none; /* Initially hidden */
  z-index: 99999998;
}
.blurred-background {
  position: absolute;
  background-color: transparent; /* Semi-transparent background to highlight the blur */
  backdrop-filter: blur(10px); /* Apply blur effect to the background */
  padding: 20px;
  font-size: 20px;
  border-radius: 10px;
  color: white;
  max-width: 400px;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
}
