/*!
Theme Name: Umjetnička škola Ri
Theme URI: http://underscores.me/
Author: Marija Grandic
Author URI: http://underscores.me/
Description: Tema o srednjoj školi
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zdrav-zivot
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

zdrav-zivot is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
*/

@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Red+Rose:wght@300..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


body{
	font-family: "Poppins", sans-serif;
/*	font-family: "Nunito", sans-serif; */
	font-size: 20px;
	color: #000;
	font-weight: 200;
	font-style: normal;
}
/*
img{
	max-width: 100%;
}
*/

a{
	text-decoration: none !important;
	color: #000;
}



	
body .navbar-nav {
		margin-left: auto;
	/*	font-family: "Karla", sans-serif;  */
		font-family: "Raleway", sans-serif;
		font-weight: 400;
		font-size: 30px;

}
/**
body p {
	text-align: justify;
}    MOŽDA BOLJE BEZ TOGA
**/

.progress {
	margin-top: 135px;
}

.navbar{
	position: sticky;
	top: 0px;
	background: linear-gradient(to right, #000000, #3a0544) ;
	border-bottom: 6px solid #080b1f;
	opacity: 1;
	z-index: 900;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}	
.logo-img {
	margin-left: 80px;
  	z-index: 10;
}
/*
#primary{
	margin-top: 40px;
}
*/

.navbar ul li  a {
    font-size: 23px;
    font-weight: 400;
	margin-left: 20px;
	color: #fff;
	white-space: nowrap;
	text-transform: uppercase;
	transition: color 0.3s ease; /* samo prijelaz boje */
	display: block;
}	

.navbar ul li a:hover {
	color: #f5a623; /* topla zlatno-narančasta nijansa */
}


.navbar li a:hover {
	color: #fff;
	transition: all 0.3s ease;

}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* sub menu je padajuci meni */

.sub-menu {
    display: none;
    position: absolute;
    padding: 5px 15px;
	background-color: rgba(0, 0, 0, 0.8);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	transition: all 0.3s ease;
}


.sub-menu li {
    list-style-type: none;
    line-height: 1.33;
}

.sub-menu li a { 
	display: block;
	font-size: 16px !important;
	font-weight: 400 !important;
    text-transform: uppercase;
	text-align: left !important;
	margin: 0 auto;
	padding: 5px 5px;
	white-space: nowrap;
	color: #fff !important;
	transition: color 0.3s ease;
} 
.sub-menu li a:hover {
	color: #f5a623 !important;
}
li.menu-item-has-children:hover .sub-menu {
    display: block;
}


/** Tomislav crtica ispod 
.navbar ul li a::after {
    content: "";
    width: 0%;
    display: block;
    height: 1px;
    background: #fff;
    bottom: -26px;
    border-radius: 10px;
    transition: all 300ms linear;
}

.navbar ul li {
	display: block;
}

.navbar ul li a:hover::after {
    width: 100%;
}
**/

/** dodano pravilo za mobitele - ponasanje hamburger menu-a **/
@media (max-width: 991px) {
  .sub-menu {
      position: relative; /* ili relative */
	  display: block;
  }
}

.lc-block {
	color:#540d1b;
}

.icon {
  font-size: 48px;
  color: #f5a623; /* narančasta nijansa */
  margin-bottom: 15px;
}

.card-title {
  font-weight: bold;
  color: #1e2e4a;
}

.custom-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: none;
  transition: transform 0.2s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
}


.recent-posts {
	background: #edf7fa;
}

.recent-posts .post{
	background: #fff;
	padding: 20px;
}
.recent-posts a{
	color: #00a8cc;
}

.post h2{
	font-size:26px;
	font-weight: bold;
	margin-bottom: 20px;
	
}




.single-post h1{
	font-weight: 700;
	font-size: 44px;
	margin-bottom: 30px;
	color: #000;
}
.single-post p{
	color: #000;
}

.single-post .row img{
	border-radius: 16px;
}

.featured-image {
	width: 100%;
	object-fit: cover;
}
.single-post .date{
/*	background-color: #636e72;   */
	background-color: #c8c2ae;
	border-radius: 16px;
	color: #fff;
	font-weight: 600;
	padding: 5px 10px;
	margin-right: 20px;
}

.single-post .content{
	margin-top: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #e1e1e1;
	text-align: justify;
	hyphens: auto;
}

.single-post .categories a{
	background: #fff;
    border-radius: 16px;
	border: 2px solid black;
	border-color: #8695A4;
    padding: 5px 10px;
	color: #8695A4;
	font-size: 20px;

}

.single-post .tags {
    margin-top: 30px;
 /*   border-top: 1px solid #e1e1e1;  */
    padding-top: 30px;
}

.single-post .tags a {
    background: #e1e1e1;
    border-radius: 16px;
    padding: 5px 10px;
}



.wp-block-image img {
  width: 100% !important; /* Osigurava da slika bude 100% širine ekrana */
  height: auto; /* Održava proporcije slike */
  object-fit: cover; /* Održava "cover" efekt */
}

.wp-image-258 {

  width: 100% !important;
}
/** boja za traku ispod naslova - za stranice kategorija i tagova, mislim **/
.bg-archive{
	background-color: #c8c2ae;
}

.content-archive img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	margin-bottom: 20px;
	border-radius: 15px;
	aspect-ratio: 3/2;
}



.content-archive .btn {
	background-color: #f2f2f2;
	border-color: #eccccc;
	color: #000;
	font-weight: 600;
}
/**
footer h2 {
	font-size: 18px;
	color: #000;
	text-align: left;
	NE ZNAM DA LI MI OVO TREBA v
}
**/
@media (max-width: 991px) {
  .footer {
    flex-direction: column;
  }
}
/*   2805
footer a{
	font-size: 22px;
	font-weight: 400;
}

footer a:hover {
	color: #650d1b
}
footer .navbar-nav {
	font-size: 24px;
	
}

footer .navbar-nav a {
  display: inline-block;
  transition: transform 0.2s ease;
}

footer .navbar-nav a:hover {
  transform: scale(1.1);
}

.footer-stupci p {
	margin-bottom: 5px;
	margin-top: 8px;
}
*/

  .footer-link {
    text-decoration: none;
    color: #333;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .footer-link:hover {
    transform: translateX(1px);
    color: #007b5e;
  }

  .footer i {
    margin-right: 8px;
  }

.social-icones a {
	display: inline-block;
	margin: 0 10px;
	font-size: 32px;
	vertical-align: middle;
	color: #fff; /* ili boja koju koristiš */
	transition: transform 0.3s ease;
}

.social-icones a:hover {
	transform: scale(1.2);
}

.site-main p {
	text-align: justify;
	hyphens: auto;
}

.icons {
  display: flex;
  justify-content: space-between; /* ili space-evenly */
  align-items: center;
/*  padding: 20px 40px;  unutarnji razmak od ruba diva */ 
}

.icons img {
  width: 120px;
  height: auto;
  
}

#topBtn {
  display: none; /* skriven dok ne skrolaš */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  font-size: 24px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  
}

#topBtn:hover {
  background-color: #0056b3;
}
.footer-top {
	background: #eccccc;
	padding: 30px;
}

.footer-bottom {
  background: #ede7d9;
  }
  
.footer-title {
	font-size: 24px;
	
}


.contact-page input, .contact-page textarea {
	border: none;
	border-bottom: 2px solid #ccc;
	margin-top: 5px;
	margin-bottom: 20px;
	outline: none;
	box-shadow: none;
	   
  }
  
.contact-page input: focus, .contact-page textarea:focus {
	border-color: #34495e;  
	  
  }
.contact-page button {
	  display: inline-block;
	  padding: 8px 30px;
	  width: auto;
	  border-radius: 4px;
	  background-color: #34495e !important;
  }

.py-custom {
	padding-top: 4rem; /* spustanje slike Upisi */
}

.wp-block-heading {
	margin-bottom: 30px;
}
.wp-block-image {
	margin-top: 30px;

}

.bg-custom {
	background-color: #159fc1; 
	/* padding: 40px 20px;  */
	border-radius: 8px;
}

/* Standardizacija slika u postovima  31.05. */
.site-main .wp-block-image img,
.site-main .alignfull img,
.site-main .alignwide img,
.site-main .aligncenter img,
.site-main .alignleft img,
.site-main .alignright img,
.site-main .wp-post-image,
.site-main .post-content img {
    width: 100%;
    height: auto;
    object-fit: cover;

    border-radius: 8px; /* Opcionalno za ljepši izgled */
	max-height: 400px;
}

/* Specifično za Gutenberg blokove slika */
.site-main .wp-block-image {
    margin: 1.5rem 0;
}

.site-main .wp-block-image figcaption {
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
    color: #666;
}

.h-100 img {
	
	aspect-ratio: 3/2; /* Ovo daje omjer 3:2 (širina:visina) */
}

.clickable-box {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.clickable-box:hover {
    transform: scale(1.05);
}

.sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.widget {
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.widget-title {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#secondary a {
    color: #0dcaf0;
    text-decoration: none;
  /*  transition: all 0.3s ease; */
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px 4px;
    border-radius: 3px;
}

#secondary a:hover {
    color: #ffffff;
    background-color: #3498db;
    text-decoration: none;
    transform: translateX(5px); /* Pomakne link malo desno */
}

.column-left {
	background-color: #faf2db;
	padding: 30px;
}

.column-right {
  background-color: #e6f9f5;
  padding: 30px;
}

.srch-btn {
    background-color: #f2f2f2 !important;
    border-color: #eccccc;
    color: #000;
    font-weight: 600;
}

.srch-btn:hover {
  background-color: inherit;
  color: inherit;
  border: inherit;
  box-shadow: none;
  text-decoration: none;
  cursor: default;
}

.icon-neutral {
  color: rgba(0,0,0,0.4); /* za prozirniji efekt */
}

.card-img-top {
  height: 350px;
  object-fit: cover;
}

.widget.widget-block a:hover {
  color: #fff !important; /* Tvoja boja */
}


/*
.ednevnik-upute {
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.ednevnik-upute h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.upute-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.uputa-kartica {
  background-color: #a0a0a0;
  color: #fff;
  text-align: center;
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
  text-decoration: none;
  font-size: 1rem;
  max-width: 220px;
  transition: all 0.3s ease;
}

.uputa-kartica:hover {
  background-color: #6f6f6f;
  transform: translateY(-5px);
  box-shadow: 5px 10px 20px rgba(0,0,0,0.3);
}

*/

.naslov-box {
  background-color: #f3f3f3; /* tvoja željena boja */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.naslov-box h2 {
  font-size: 2rem;
  color: #333;
}

.wp-block-button__link {
	width: 30% !important;
}

.sidebar-pozadina {
    background-color: #f0f0f0; /* siva pozadina */
    padding: 20px;
    border-radius: 8px;
}

.sidebar-pozadina-arch {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1rem;
}

.sidebar-pozadina-arch > * {
    flex: 1 1 30%; /* svaki widget zauzima oko 30% */
    min-width: 200px;
}

.site-main .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.site-main .row > div {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}