/*
Theme Name: forfourm
Theme URI: 
Author: Mario Valjak @ hdIT
Author URI: 
Description: 
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.0
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: forfourm
Tags: one-column, wide-blocks, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, template-editing, threaded-comments, translation-ready
*/

/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}


	/* -- NAVIGACIJA HOVER -- */

	.main-nav a:hover {
		color: #fff !important;
		transition: all 0.3s ease-in-out;
	}

	.main-nav a::after {
	position: absolute;
	display: block;
    content: "";
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
	}

	.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
	}


			/* -- GALLERY SLIKA HOVER -- */
.gallery-image {
	box-shadow: var(--wp--preset--shadow--shadow-6);
    overflow: hidden;
	border-radius: 8px;
}

.gallery-image img {
	transition: all 0.4s ease-in-out;
}

.gallery-image img:hover {
	transform: scale(1.05);
	filter: brightness(0.8) contrast(1.05);
}



			/* -- ANIMACIJE -- */

	
	/* -- FLIP IN IMAGE -- */
	.flip-in-diag-1-tr {
    opacity: 0;
	}

	.flip-in-diag-1-tr.animate {
	animation: flip-in-diag-1-tr 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	animation-delay: 0.2s;
	}

	@keyframes flip-in-diag-1-tr {
 	 0% {
  	  transform: rotate3d(1, 1, 0, -80deg);
   	  opacity: 0;
 	 }
  	100% {
  	  transform: rotate3d(1, 1, 0, 0deg);
      opacity: 1;
  	}
	}


	/* -- FADE IN TOP -- */
	.fade-in-top {
    opacity: 0;
	}

	.fade-in-top.animate {
	animation: fade-in-top 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation-delay: 0.2s;
	}

	@keyframes fade-in-top {
  	0% {
      transform: translateY(-50px);
      opacity: 0;
	}
 	 100% {
      transform: translateY(0);
      opacity: 1;
  	}
	}


	/* -- FADE IN LEFT -- */
	.fade-in-left {
    opacity: 0;
	}

	.fade-in-left.animate {
	animation: fade-in-left 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation-delay: 0.2s;
	}

	@keyframes fade-in-left {
  	0% {
      transform: translateX(-50px);
      opacity: 0;
	}
 	 100% {
      transform: translateX(0);
      opacity: 1;
  	}
	}

	/* -- FADE IN RIGHT -- */
	.fade-in-right {
    opacity: 0;
	}

	.fade-in-right.animate {
	animation: fade-in-right 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation-delay: 0.2s;
	}

	@keyframes fade-in-right {
  	0% {
      transform: translateX(50px);
      opacity: 0;
	}
 	 100% {
      transform: translateX(0);
      opacity: 1;
  	}
	}

