Theme Name: Jadric Arhitektura
Author: Studio Locus
Description: Studio Locus.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio-locus
*/

@font-face {
	font-family: 'buildings';
	src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/buildings.eot');
	src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/buildings.eot?#iefix') format('embedded-opentype'),
		 url('<?php echo get_template_directory_uri(); ?>/assets/fonts/buildings.woff') format('woff'),
		 url('<?php echo get_template_directory_uri(); ?>/assets/fonts/buildings.ttf') format('truetype'),
		 url('<?php echo get_template_directory_uri(); ?>/assets/fonts/buildings.svg#buildings') format('svg');
	font-weight: normal;
	font-style: normal;
  }
  [class*='icon-']:before{
  display: inline-block;
   font-family: 'buildings';
   font-style: normal;
   font-weight: normal;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale
  }
  .icon-kuca1 :before{content:'\0041'; }
  .icon-kuca2 :before{content:'\0042';}
  .icon-zgrada :before{content:'\0043';}
  
.header-dio {
	position: absolute;
	width: 100%;
	top: 0;
	z-index: 50;
}

.nav-menu {
	display: inline-block;
	float: right;
}

.nav-menu ul {
	list-style: none;
}

.nav-menu ul li {
	display: inline;
}

.navmenu ul li a {
	display: inline-block;
	padding: 40px 8px 5px;
	text-transform: uppercase;
	margin-right:0px;
	font-size: 14px;

	font-weight: 500;
	position: relative;
}

.home-header .navmenu ul li a {
	color: white;
}


 
body.scrolled .home-header nav ul li a {
	color: black;
  }
 
.navmenu ul li a:after {
	position: absolute;
	content: "";
	width: 2px;
	height: 0;
	left: 50%;
	margin-left: 1px;
	top: 0;
	background: #50C3DC;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

 

.navmenu ul li.active>a:after {
	height: 25px;
}

@media (max-width: 991.98px) {
  #portfolio-section, #blog-section {
    padding-top: 70px; /* prilagodi visinu prema stvarnoj visini headera na mobilnim uređajima */
  }
}



@media (max-width:768px) {
  nav ul {
    
    gap: 2px!important; /* smanji razmak između stavki */
    
  }}

@media (max-width: 991.98px) {
  nav ul {
    display: flex;
    flex-direction: column;
     align-items: flex-start;
  }

  nav ul li {
    padding: 2px 0; /* manji padding stavki */
  }

  nav ul li a {
    position: relative;
    padding-bottom: 4px; /* dodaj malo prostora za podcrtavanje */
  }
  .navmenu ul li a {
	display: inline-block;
	padding: 8px;
  }

  nav ul li.active a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #50C3DC; /* ili boja branda */
  }

  /* Ukloni desktop verziju indikatora */
  nav ul li.active a::after {
    display: none;
  }

  body.scrolled .header .mobile-nav-toggle {
	color:#000;
}
}

.header-dio {
	position: absolute;
	width: 100%;
	top: 0;
	z-index: 50;
}

.logo-dio {
	float: left;
	display: inline-block;
	 
	padding: 10px 15px 10px;
}
 

.nav-switch {
	display: none;
}


.logo-white {
	display: none;
  }
  
 
  
 .home-header .logo .logo-default {
	display: none;
  }
  
 .home-header .logo .logo-white {
	display: block;
  }

  body.scrolled .header .logo .logo-default{
	display: block;
  }

  body.scrolled .header .logo .logo-white{
	display: none;
  }

  /* Zadano stanje: crna ikonica */
.mobile-nav-toggle {
    color: #000;
    transition: color 0.3s ease;
}

/* Samo na početnoj stranici: bijela */
.home-header .mobile-nav-toggle {
    color: #fff;
}

/* Kad je skrolano: opet crna (override bijele) */
body.scrolled .header .mobile-nav-toggle {
    color: #000;
}


/* Medium screen : 992px. */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
 
	.nav-menu ul li a {
		margin-right: 20px;
	}

	.home-header .navmenu ul li a {
		color: black;
	}
	 
}

/* Tablet :768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.logo-area {
		padding: 20px 40px 30px;
	}
	 
	.nav-menu ul li a {
		margin-right: 5px;
		font-size: 13px;
		padding: 37px 7px 5px;
	}

	.home-header .navmenu ul li a {
		color: black;
	}

	
}


/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
	 
	.left-bar {
		width: 70px;
	}
	.slide-content:after,
	.hero-right-text,
	.phone-number {
		display: none;
	}
	.nav-switch {
		position: absolute;
		right: 20px;
		font-size: 30px;
		color: #fff;
		top: 20px;
		display: block;
	}
	.nav-menu {
		position: absolute;
		width: calc(100% - 90px);
		left: 80px;
		background: #121212;
		top: 100%;
		margin-top: 11px;
		display: none;
	}
	.nav-menu ul li a {
		display: block;
		padding: 16px 21px;
		border-bottom: 1px solid #202020;
		margin-right: 0;
	}
	.nav-menu ul li a:after {
		left: 20px;
	}
	.nav-menu ul li.active>a:after,
	.nav-menu ul li a:hover:after {
		height: 10px;
	}
	.home-header .navmenu ul li a {
		color: black;
	}
  
}

/* small mobile :320px. */
@media only screen and (max-width: 479px) {
	.logo-dio {
		padding: 20px 30px 30px;
	}
	.header-dio {
		background: #121212;
		padding-right: 66px;
	}
	.nav-menu {
		width: 100%;
		left: 0;
		margin-top: 0;
		border-top: 2px solid;
	}
	.left-bar {
		display: none;
	}
	.home-header .navmenu ul li a {
		color: black;
	}
}



.uvod-text p {
	margin-bottom: 50px;
}

.sp-title {
 
	font-size: 48px;
	margin-bottom: 40px;
  text-transform: uppercase;
}

.sp-title span {
 	background: #50C3DC;
	padding: 0 10px;
	color: #222222;
	display: inline-block;
}



.site-btn {
    color:#121212;
    border-color: #121212;
	display: inline-block;
	font-weight: 600;
	border: 2px solid;
	min-width: 200px;
	text-align: center;
	padding: 10px 0;
	position: relative;
	background-color: transparent;
 	z-index: 1;
}
.site-btn:hover {
	color:#50C3DC!important;
	border-color: #50C3DC !important;
	
}

.site-btn:hover, .site-btn .right:hover {
    border-color: #50C3DC;
    color:#50C3DC
}
.site-btn:before {
	position: absolute;
	content: "";
	width: 25px;
	height: 2px;
	left: -15px;
    transition: all 0.3s ease;
   background-color: #121212;
}

.site-btn:hover:before {
	 
	width: 150px;
    background-color: #50C3DC;
	left: -115px;
}

.site-btn.right:before {
	position: absolute;
	content: "";
	width: 25px;
	height: 2px;
	left: 185px;
    transition: all 0.3s ease;
   background-color: #121212;
}

.site-btn.right:hover:before {
	 
	width: 150px;
    background-color: #50C3DC;
	left: 170px;
}

.site-btn:after {
	bottom: 8px;
}

.site-btn:before {
	bottom: 18px;
}

.site-btn.sb-light {
	color: #fff;
}

.site-btn.sb-light:before {
	left: 185px;
}
.site-btn.sb-light:after,
.site-btn.sb-light:before {
	background: #fff;
}

.site-btn.sb-light:hover {
	color:#50C3DC;
	border-color: #50C3DC !important;
	
}

.site-btn.sb-light:hover:before {
	left: 155px;
	background-color: #50C3DC;

}

.site-btn.light:hover {
	color:#50C3DC;
	border-color: #50C3DC !important;
	
}

.site-btn.light:hover:before {
	left: -130px;
	background-color: #50C3DC;

}
.site-btn.sb-dark {
	color: #222222;
}

.site-btn.sb-dark:after,
.site-btn.sb-dark:before {
	background: #222222;
}

.site-btn.sb-solid-color {
	background: #50C3DC;
	border-color: #50C3DC;
}

.site-btn.sb-solid-color:after,
.site-btn.sb-solid-color:before {
	background: #222222;
}

.site-btn.sb-solid-dark {
	background: #222;
	border-color: #222;
	color: #50C3DC;
}

.site-btn.sb-solid-dark:after,
.site-btn.sb-solid-dark:before {
	background: #50C3DC;
}


.opis-sekcija {
	position: relative;
	margin-bottom: 40px;
	overflow: visible;
}

.opis-sekcija:after {
	content: "";
	position: absolute;
	width: 60%;
	height: 100%;
	left: 0;
	top: 0;
	background: #222222;
	z-index: 2;
}

.opis-sekcija .opis-image-box {
	position: absolute;
	width: 50%;
	height: 100%;
	right: 0;
	background-image: url('/wp-content/themes/Arhitektura/assets/img/shapes.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}


.opis-sekcija .container {
	position: relative;
	z-index: 9;
}

.opis-sekcija .opis-content h2 {
	color: #fff;
}

.opis-sekcija .opis-content p {
	color: #fff;
	margin-bottom: 50px;
}

.opis-sekcija .opis-content .opis-img-icon:hover {
color:#50C3DC;
}

.opis-sekcija .opis-content .opis-img-icon {
	display: inline-block;
	 
	position: relative;
	width: 50px;
	margin-right: 50px;
 font-family: 'buildings';
	font-size: 40px;
}

.opis-sekcija .opis-content .opis-img-icon:last-child {
	margin-right: 0;
}

.opis-sekcija .opis-content .opis-btn {
	display: inline-block;
	margin-right: 50px;
}
.about-img {
  position: relative;
  height: 100%;
  min-height: 450px; /* ili koliko god treba da slike ne izlaze */
}

.about-img img {
  position: absolute;
  width: 75%;
  height: 70%;
  object-fit: cover;
}

.about-img img:last-child {
  margin: 23% 0 0 25%;

}

.about-img::before {
  position: absolute;
  content: "";
  width: 68%;
  height: 80%;
  top: 17%;
  left: 15%;
  border: solid black;
  z-index: 0;
}

 .team-bio-box.team-slide-box {
    background-color: #fff;
    padding: 30px;
    top: 40%;
    left: 40%;
    max-width: 80%;
    height: 75%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }

@media (max-width: 767.98px) {

	.desni-tekst{
		margin-top:5%;
	}
  .about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    height: auto;
    min-height: unset;
   }

  .about-img img {
    position: relative;
    width: 90%;
    height: auto;
    object-fit: cover;
    margin: 0;
  }


  .about-img img:first-child {
    top: 0;
    z-index: 1;
  }

  .about-img img:last-child {
	margin: -15% 0 0 10%;
   
    z-index: 2;
  }

  

  .about-img::before {
display: none;
  }

  .sekcija-bt {
padding-bottom: 0px !important;
  }

   .sekcija-tp {
margin-top: 0px !important;
  }

  .sekcija-sd {
	padding-left:1rem !important;
	
  }

   .draggable {
	 
	min-height: 300px !important;
   }

   .team-slide-box
   {z-index: 10;}
 
  .team-slide-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: unset;
  }

  .team-slide-box img,
  .team-slide-box video {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
  }

  .team-slide-box .team-bio-box {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
}


@media (max-width: 767.98px) {
  .profile-img {
        max-height: 600px;
    object-fit: cover;
    }
}

@media (min-width: 767.99px) {
 .profile-img {
       
    object-fit: unset;
    }
    
     .profile-img img {
       
height:100%;    }
    
}
    
  .team-video {
        max-height: 500px;
    object-fit: cover;
    }

.custom-team-slider h3 {
    font-size: 24px;
    font-weight: 600;
}

.custom-team-slider p {
    font-size: 16px;
    line-height: 1.6;
}


.team-info-box {
    background-color: #fff;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-top: 4px solid #000; 
}

.slick-prev, .slick-next {
    background-color: white;
    color: #50C3DC;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 5;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.slick-prev { left: -15px; }
.slick-next { right: -15px; }
.slick-prev:hover, .slick-next:hover {
    background-color: #f5f5f5;
}



.draggable {
	height: 500px;

}

.projekti , .projekti h2 {
	 
	color: white;
		background: #222222;
		 
	}

.projekti	.sp-title, .projekti .display-5 {

	color:#fff;
		font-weight: 200;
		font-size: 50px;
		margin-bottom: 60px;
	}
	
	.projekti .sp-title span {
	font-weight: 400;
		background: #50C3DC;
		padding: 0 10px;
		color: white;
		display: inline-block;
	}
	
	.projekti .site-btn   {
		color:#ffffff;
		border-color: white;
	}

	.projekti .site-btn:before {
		background-color: white;
	}

	.nav-link h3{ color: #fff;}

	.card-img-top {
		height: 300px;
	}

	.card {
		display: flex;
		flex-direction: column;
		height: 100%;
	}
	
	.card-body {
		flex-grow: 1;  
	}
	
	.card-btn {
		margin-top: auto;  
	}
	

	.novosti .site-btn   {
		padding: 5px 15px;
		bottom: 0;
	}

	.novosti .site-btn:before {
		display: none;
	}
	
	.novosti .site-btn:hover:before {
	display:none;
	}

	section {
		height:100vh;
		justify-content: center; 
		align-items: center;
		display: flex;
	}

	.nav-pills .nav-link.active {
		background-color: transparent !important;
	
		width: 100%;
		 
	}
 
	.nav-pills .nav-link.active h3 {
		  
	color:#50C3DC;
	}

	footer ul {
		list-style: none;
		
	}
	footer ul li {
		display: inline;
		padding-right: 20px;
	}

 
@media (max-width: 767.98px) {
  footer .container {
    padding: 0 1rem;
    text-align: center;
  }

  footer .footer-menu,
  footer .menu,
  footer .menu-footer-menu-container,
  footer .list-unstyled {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: center !important;
  }

  footer .list-unstyled li {
    width: 100%;
  }

  footer img {
    max-width: 150px;
    height: auto;
  }
}


	/* Grid postavke */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Razmak između kartica */
    justify-content: center;
}

/* Kartice u gridu */
.grid-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(33.3333% -25px); /* Širina kartice tako da stanu tri u red */
    margin-bottom: 30px; /* Razmak između redova */
}

/* Osigurajte da kartice imaju istu visinu i širinu */
.project-card {
    position: relative;
    width: 100%;
    height: 300px; /* Fiksna visina kartica */
    background: #f8f8f8;
  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Osigurajte da slike ne izlaze izvan kartice */
    transition: transform 0.3s ease;
}

/* Crno-bijela slika */
.project-card img {
    width: 100%;
    height: 300px; /* Fiksna visina slika unutar kartica */
    object-fit: cover; /* Osigurajte da se slike pravilno skaliraju */
    filter: grayscale(100%); /* Primjenjujemo crno-bijeli filter */
    transition: filter 0.3s ease; /* Glatki prijelaz između crno-bijele i normalne slike */
}

/* Hover efekt za sliku - slika se vraća u boje */
.project-card:hover img {
    filter: grayscale(0); /* Slika se vraća u boje prilikom hovera */
}

/* Overlay s naslovom i kategorijom */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7); /* Tamna pozadina s opacity */
    color: white;
    text-align: center;
    
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1; /* Overlay postaje vidljiv prilikom hovera */
}

.project-card:hover {
    transform: translateY(-5px); /* Lagani efekt podizanja prilikom hovera */
}

.project-overlay h3 {
	color: white;
    margin: 0;
    font-size: 18px;
    
}

.project-overlay .cat {
    margin-top: 5px;
    font-size: 14px;
}

.site-section {
	position: relative;
	margin-bottom: 40px;
	 
	
	
}

@media (max-width: 767.98px) {
    .project-flex-mobile {
        display: flex;
        flex-direction: column;
    }

    .project-details-mobile-order {
        padding-bottom:2.2rem;
        order: 1;
    }

    .project-description-mobile-order {
        order: 2;
    }

    .post-navigation {
        order: 3;
        margin-top: 2rem;
    }
}


 
  
    .filters ul {
	padding-top: 2%; }
  
   .filters ul li {
	list-style: none;
	display: inline-block;
	padding: 18px 15px;
	cursor: pointer;
	position: relative;
	text-transform: uppercase;
	color: #000000;
	font-size: 12px;
	font-weight: 500; }
	
	@media (max-width: 736px) {
	 .filters ul li {
		padding: 6px 6px; } }
  
 .filters ul li:after {
	content: "";
	display: block;
	width: calc(0% - 25px);
	position: absolute;
	height: 2px;
	background: #333;
	-webkit-transition: width 350ms ease-out;
	-o-transition: width 350ms ease-out;
	transition: width 350ms ease-out; }
  
  .filters ul li:hover:after {
	width: calc(100% - 25px);
	-webkit-transition: width 350ms ease-out;
	-o-transition: width 350ms ease-out;
	transition: width 350ms ease-out; }
  
 .filters ul li.active {
	color: #50C3DC; }
  
.filter-content .row {
	justify-content: center; 

}

.biography-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.bio-list {
    list-style-type: none;
    padding: 0;
    font-size: 1.1rem;
}

.bio-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.bio-list li:last-child {
    border-bottom: none;
}

.bio-img {
     box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
     height:100%;
     object-fit: cover; /* Sprječava izobličenje slike */

	}

@media (max-width: 768px) {
  .sp-title {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .biography-section .container,
  .timeline-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .biography-section .row {
    flex-direction: column;
  }

  .biography-section .col-lg-6 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .bio-img {
    width: 100%;
    height: auto;
  }

  .timeline {
    flex-direction: column !important;
    align-items: center;
    position: relative;
  }

  .timeline-item {
    margin: 40px 0; /* razmak između krugova */
  }

  .timeline-line {
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 2px !important;
    height: 100% !important;
    background-color: #50C3DC;
    z-index: 0;
  }

  .timeline-circle::before {
    top: 40px;
    padding-top: 5px;
  }

  .modal-dialog {
    margin: 1rem;
  }

  .modal-content {
    font-size: 0.9rem;
  }
}


	#profile .sp-title  {
    font-size: 2rem;
     margin-bottom: 20px;
}

#contact .sp-title {
    font-size: 2.5rem;
     margin-bottom: 20px;
}

 

ul {
    list-style-type: disc;
    padding-left: 3%;
	padding-top: 1%;
	padding-bottom: 0;
}

ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

.hero-small {
    padding: 80px 0; /* Manja visina */
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-small h1 {
    font-size: 2.5rem;
}

.hero-small p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.stats-section {
    background-color:#222222;
    color:white;
}

.stats-section h1 {
     color:white;
}


 .timeline-wrapper {
    position: relative;
    padding: 50px 0;
    width: 100%;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-circle::before {
    content: attr(data-year);
    position: absolute;
    top: 20px; /* Po potrebi prilagodi */
    font-size: 12px;
    font-weight: bold;
    color: #333;
    text-align: center;
    width: 100%;
	
    padding-top: 15px; /* Omogućava da godine budu bliže krugu */
}

.timeline-circle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white; 
    border: solid 2px #50C3DC;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.timeline-circle:hover {
    content: attr(data-year);
    border: solid 1px white;

    background-color: #50C3DC; /* Hover effect */
}
 

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #50C3DC;
    z-index: 0;
}

/* Modal Styling */
body.modal-open {
    margin-right: 0px !important;
	padding-right: 0px !important;

}

.modal-open header {
    padding-right: 0px !important;
    margin-right: 0px !important;
}


.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: white;
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 15px;
}

.modal-header .btn-close {
    color: white;
}

.modal-content ul {
    list-style-type: disc; /* Točkice */
    padding-left: 20px; /* Uvlačenje da se točkice vide */
}

.modal-content ul li {
    margin-bottom: 8px; /* Razmak između stavki */
}


/* Responsive Design */
@media (max-width: 991.98px) {
    .timeline {
        flex-direction: column;
    }

    .timeline-item {
        width: auto;
        margin-bottom: 20px;
    }

    .timeline-circle {
        margin: 0 auto;
    }
    
    
  .timeline {
    flex-direction: column !important;
    align-items: center;
    position: relative;
  }

  .timeline-item {
    margin: 40px 0; /* razmak između krugova */
  }

  .timeline-line {
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 2px !important;
    height: 100% !important;
    background-color: #50C3DC;
    z-index: 0;
  }

  .timeline-circle::before {
    top: 40px;
    padding-top: 5px;
  }
}


/* Kontakt stranica */
.contact-section {
    background-color: #f8f9fa;
}

.contact-section .row {
	--bs-gutter-x:10rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-form .form-control {
    border-radius: 0.25rem;
    border: 1px solid #ccc;
    padding: 0.75rem;
    font-size: 1rem;
}
 

.contact-info ul {
    list-style-type: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #50C3DC;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 30%; /* 16:9 ratio */
    height: 0;
    max-width: 100%;
    background: transparent;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero, .news-hero{
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}





.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-title  {
    font-size: 3rem;
    font-weight: bold;
	color: white;
}
.news-title {
    font-size: 3rem;
    font-weight: normal;
	color: white;
	white-space: normal;
	padding-left: 25%;
	padding-right:25%;
	text-align: center;
	
}
.project-short-desc {
    font-size: 1.2rem;
    margin-top: 10px;
}
.project-info ul {
    list-style: none;
    padding: 0;
}
.project-info li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

#project-gallery {
    padding-bottom: 2%;
}

#project-gallery .carousel-item {
    height: 600px;
    border-radius: 10px;
    background-color: #fff;
}

#project-gallery .carousel-image-wrapper {
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

#project-gallery .carousel-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.carousel-image-wrapper img {
    transition: transform 0.3s ease;
    cursor: zoom-in !important; /* ← OVDJE je kursor lupa */
}

.carousel-image-wrapper:hover img {
    transform: scale(1.03);
}

@media (max-width: 767.98px) {
  .news-title {
        font-size: 2rem!important;
        text-align: center!important;
        padding: 0 15px!important;
    }

    .project-short-desc {
        font-size: 1rem;
        text-align: center;
        padding: 0 15px;
    }
}


@media (max-width: 767.98px) {
     .carousel-image-wrapper {
		 display: flex!important;
    justify-content: center!important;
    align-items: center!important;
        height: 50vh!important; /* osiguraj visinu wrappera */
    }

    .carousel-inner {
        max-height: 60vh;
    }

    .carousel-image-wrapper img {
        max-height: 50vh!important;
        width: auto!important;
        height: auto!important;
        object-fit: contain!important;
    }
	}
	
/* Pametno povećaj horizontalne slike */
@media (min-width: 768px) {
    #project-gallery .carousel-image-wrapper img.landscape {
        width: 100%;
        height: auto;
        max-height: none;
    }
}


#project-single .container {
    max-width: 1100px;
}

 


/* Na mobilnim uređajima — default: prvo details, pa description */
.project-details-mobile-order {
    order: 1;
}

.project-description-mobile-order {
    order: 2;
}



/* Na većim ekranima — preokreni redoslijed: prvo description, pa details */
@media (min-width: 992px) {
    .project-details-mobile-order {
        order: 2;
    }

    .project-description-mobile-order {
        order: 1;
    }
}

#news-gallery .carousel-item {
    height: 600px;
    border-radius: 10px;
    background-color: #fff;
}

#news-gallery .carousel-image-wrapper {
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

#news-gallery .carousel-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Pametno povećaj horizontalne slike */
@media (min-width: 768px) {
    #news-gallery .carousel-image-wrapper img.landscape {
        width: 100%;
        height: auto;
        max-height: none;
    }
}


.carousel-control-next-icon, .carousel-control-prev-icon  {
background-color: #00000041 !important; 
}

.entry-content video,
.entry-content iframe {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.wp-block-embed__wrapper iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}


.wp-block-embed,
.wp-block-embed__wrapper,
.wp-block-embed iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

.wp-block-embed__wrapper {
  aspect-ratio: 16/9;
  position: relative;
}

.wp-block-embed__wrapper iframe {
  aspect-ratio: 16/9;
  display: block;
}

.wp-block-embed.wp-block-embed-youtube {
  max-width: 100% !important;
}

.wp-block-video video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%!important;
}

