/**
Theme Name: Kreativija
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreativija
Template: astra
*/



body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 200, 240, 0.3), transparent 70%),
    radial-gradient(circle at 70% 40%, rgba(200, 240, 255, 0.4), transparent 80%),
    linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(255,255,255,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}


.ast-page-builder-template .entry-content[data-ast-blocks-layout] > * {
	margin: 0 auto !important;
}

h2 {
	margin-top: 20px !important;
	margin-bottom: 10px !important
}

.wp-block-uagb-advanced-heading {
	margin-bottom: 10px !important;
}

.main-header-bar .main-header-bar-navigation {
  background-color: #fff;
  border-radius: 20px;
  height: 50px;
}

.spletna_stran, h2, h1 {
  line-height:1;          /* zglednejša vertikalna postavitev */
    	color: transparent !important;
  -webkit-text-stroke: 0.8px #000;
  text-stroke: 0.8px #000;
}

/* menu */


@media (min-width:900px){

.fancy-link .text-wrap {
  display: block;
  position: relative;
  height: 20px; /* ali več po potrebi */
  line-height: 40px;
  overflow: hidden;
}

.fancy-link .text-top,
.fancy-link .text-bottom {
  display: block;
  transition: transform 0.3s ease;
  height: 1em;
  line-height: 1em;
}

.fancy-link .text-bottom {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(20px); /* premik navzdol znotraj okvira */
}

.fancy-link:hover .text-top {
  transform: translateY(-20px); /* premik navzgor, a še znotraj višine */
}

.fancy-link:hover .text-bottom {
  transform: translateY(0%);
}



/* podmenu */


.sub-menu::before {
 content: "";
  position: absolute;
  margin-top: -7px;
  margin-left: 50px;
  width: 12px !important;                 
  height: 12px !important;
  background: #fff;
  transform: translateX(-50%) rotate(45deg) !important;
  border: 1px solid #990000;
  border-right: 0;
	border-bottom: 0;
  box-sizing: border-box;
  pointer-events: none; 
}


.izdelava_strani::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: clamp(320px, 15vw, 200px);
  height: clamp(100px, 15vw, 80px);
  background: url('/wp-content/uploads/2025/07/levo_spodaj_odrez.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}

.izvedenih_spletnih_projektov {
	margin-top: -70px !important;
}
	
}

/* posti */

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 15px;
}



.ast-builder-button-wrap.ast-builder-button-size-sm {
  color: white;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
	background: #282828;
	border-radius: 40px;
}

/* Efekt prelivanja */
.ast-builder-button-wrap.ast-builder-button-size-sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #990000;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 3;
}

/* Tekst mora biti nad prelivačem */
.ast-builder-button-wrap.ast-builder-button-size-sm > * {
  position: relative;
  z-index: 4;
}

/* Hover efekt: preliv se premakne čez gumb */
.ast-builder-button-wrap.ast-builder-button-size-sm:hover::before {
  transform: translateX(0%);
}


/* 💫 Nežna animacija gumba vsake 8s */
@keyframes buttonWiggle {
  0%, 93%, 100% { transform: rotate(0deg) scale(1); }
  95% { transform: rotate(-2deg) scale(1.05); }
  97% { transform: rotate(2deg) scale(1.05); }
  99% { transform: rotate(0deg) scale(1); }
}

.ast-builder-button-wrap.ast-builder-button-size-sm {
  display: inline-block;
  animation: buttonWiggle 6s infinite ease-in-out;
  transform-origin: center;
}

.page-id-34 .ast-single-entry-banner[data-post-type="page"] {
	display: none !important;
}


/* blog */

.ast-article-inner {
  background-color: #fff;
	padding-top: 50px;
}








/* reference grid */

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
  gap: 30px;
  align-items: start;
}

.reference-grid .reference-item {
  background: #fff;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
	position: relative;
	overflow: hidden;
}


.reference-grid .reference-item:hover {
  transform: translateY(-4px);
}

.reference-grid .reference-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  margin-bottom: 0px;
	border-radius: 15px 15px 15px 25px;
}

.reference-item::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  width: clamp(230px, 15vw, 215px);
  height: clamp(70px, 5vw, 50px);
  background: url('/wp-content/uploads/2025/08/levo-spodaj-referenca.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}


.reference-grid .reference-item p {
  margin-top: -40px !important;
	z-index: 5;
	margin-left: 10px;
  font-weight: 600;
  font-size: 16px;
	text-align: left;
	position: relative;
	text-transform: uppercase;
}

/* reference slider */

.reference-swiper .swiper-slide {
  padding: 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
	position: relative;
	overflow: hidden;	
}



.swiper-button-next, .swiper-button-prev {
  color: #fff !important;
}


.wp-block-uagb-image__figure {
  border-radius: 20px !important;
}



.swiper-slide::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0px;
  width: clamp(230px, 15vw, 215px);
  height: clamp(70px, 5vw, 50px);
  background: url('/wp-content/uploads/2025/08/levo-spodaj-referenca.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3 !important;
}


.reference-swiper img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
	border-radius: 15px;
}

.reference-swiper p {
  margin-top: -40px !important;
	z-index: 5 !important;
	margin-left: 10px;
  font-weight: 600;
  font-size: 16px;
	text-align: left;
	position: relative;
	text-transform: uppercase;
}

.swiper-button-next,
.swiper-button-prev {
  font-size: 12px !important;
  width: 20px;
  height: 20px;
  color: #ffffff; /* ali karkoli želiš */
}

.swiper-button-next:hover {
  color: #990000 !important;
}

.swiper-pagination {
  bottom: -40px !important; /* ali več, če želiš še bolj dol */
}



/* ozadje mobitel */

@media only screen and (max-width: 800px) {
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  z-index: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 200, 240, 0.7), transparent 50%),
              radial-gradient(circle at 70% 40%, rgba(200, 240, 255, 0.7), transparent 70%);
  pointer-events: none;
}


.izdelava_strani::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: clamp(260px, 15vw, 160px);
  height: clamp(80px, 15vw, 80px);
  background: url('/wp-content/uploads/2025/07/levo_spodaj_odrez.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}	
	
	
.scroll-circle-wrap {
  width: 200px !important;
  height: 200px !important;
  background: transparent;
  border: 20px solid transparent;
  border-radius: 50%;
  position: absolute !important;
  overflow: visible;
  top: -220px;
  right: 0;
  z-index: 5;
}	
	

	.kaunter {
		width: 27% !important;
	}	

	
/* reference grid */

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 30px;
  align-items: start;
}	

.reference-item::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0px;
  width: clamp(200px, 15vw, 215px);
  height: clamp(60px, 5vw, 50px);
  background: url('/wp-content/uploads/2025/08/levo-spodaj-referenca.svg') no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}	
	
	
.reference-grid .reference-item p {
  margin-top: -35px !important;
	margin-left: 8px;
  font-size: 13px;
}

	
	
	
	
}