/*
Theme Name: gbg 2026
Theme URI: 
Author: Mario Valjak @ hdIT
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
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: gbg 2026
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: 600;
}

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);
}

@media only screen and (max-width: 768px) {
.wp-block-navigation__submenu-container.has-text-color.has-contrast-color.has-background.has-base-background-color.wp-block-navigation-submenu {
	padding-top: 5px;
	gap: 10px;
 }
}

.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);
}


.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 4px 8px;
	text-transform: capitalize;
}

/* 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;
	}

}



/* -- Disable Negative Margin on Mobile -- */
@media (max-width: 768px) {

	[style*="margin-top:-"]    { margin-top:    0 !important }
	[style*="margin-right:-"]  { margin-right:  0 !important }
	[style*="margin-bottom:-"] { margin-bottom: 0 !important }
	[style*="margin-left:-"]   { margin-left:   0 !important }
}



/* -- Navigation Hover -- */
.main-nav a {
	transition: 0.2s ease-in-out;
  }

.main-nav a:hover {
	color: var(--wp--preset--color--primary) !important;
}



/* -- Desktop Submenu Container -- */
@media only screen and (min-width: 768px) {
 .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 6px;
	padding: 8px 5px;
	box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
 }
}


/* -- Outline Button -- */
.wp-block-button.is-style-outline--2 .wp-block-button__link {
	transition: all 0.25s;
}

.wp-block-button.is-style-outline--2 .wp-block-button__link:hover {
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}



 /* -- Paragraph text decoration -- */
 p a {
	text-decoration: none;
 }



 /* -- Hero Image na mobitelu*/
 @media only screen and (max-width: 768px) {
 .hero-image {
	min-height: 25vh !important;
 }
}



 /* -- Veličina ikona na mobitelu*/
 @media only screen and (max-width: 768px) {
 .icon-container {
	width: 50px !important;
 }
}


 	/* KONTAKT STRANICA */

 /* -- Prvi Stupac Box Shadow -- */
 .kontakt-stupac {
	box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
 }