/*
Theme Name: naranca hill house
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: naranca hill house
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:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content {
	padding-top: calc(4rem + 24px);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 2px solid var(--wp--preset--color--primary);
	padding: 2px;
}

.wp-block-navigation__responsive-container-open svg {
    height: 30px;
    width: 30px;
	fill: var(--wp--preset--color--primary);
}

.wp-block-navigation__responsive-container-close svg{
	height: 30px;
    width: 30px;
	fill: var(--wp--preset--color--primary);	
}

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

}



  /* Navigation Hover */
  .main-nav a:before {
	  content: '';
	  background: var(--wp--preset--color--primary);
	  display: block;
	  position: absolute;
	  bottom: -2px;
	  left: 0;
	  width: 0;
	  height: 2px;
	  transition: all 0.2s ease-in-out;
	}
	
  .main-nav a:hover::before {
	  width: 100%;
	}



	/* -- DESKTOP NAVIGATION -- */

	@media only screen and (min-width: 782px) {
		.wp-block-navigation__responsive-container {
			bottom: 0;
			display: none;
			left: 80%;
			position: fixed;
			right: 0;
			top: 0;
			opacity: 0.9 !important;	
		}
	}




		/* -- FULL IMAGE BORDER RADIUS MOBILE -- */
  @media only screen and (max-width: 768px) {
.full-img img {
  border-radius: 0 !important;
 }
}



	  /* -- ANIMACIJA FADE IN RIGHT -- */
.fadeInRight {
  opacity: 0;
}

.fadeInRight.active {
  animation: fadeInRight 1.2s forwards;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


		/* -- ANIMACIJA FADE IN LEFT -- */
.fadeInLeft {
  opacity: 0;
}

.fadeInLeft.active {
  animation: fadeInLeft 1.2s forwards;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}



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

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

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


		/* -- GALLERY SHOW MORE BUTTON -- */
/* sakrij nakon 6 */
.custom-gallery figure:nth-child(n+7) {
    display: none !important;
}

/* prikaži sve */
.custom-gallery.show-all figure {
    display: block !important;
}

/* wrapper gumba */
.gallery-button-wrap {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* gumb */
.gallery-toggle-btn {
    padding: 0.7em 1.4em;
    border-radius: 40rem;
    background-color: var(--wp--preset--color--primary);
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
	font-weight: 600;
    cursor: pointer;
    font-size: var(--wp--preset--font-size--x-small);
}

.gallery-toggle-btn:hover {
	background-color: var(--wp--preset--color--secondary);
  	color: var(--wp--preset--color--contrast);
  	transition-duration: .25s;
  	box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  	transform: translateY(-4px);
}




		/* -- RAZDJELNICI U FOOTERU -- */
@media (min-width: 782px) {
    .footer-stupci::before {
        content: "";
        position: absolute;
        top: 28%;
        left: 42%;
        height: 30%;
        width: 2px;
        background: var(--wp--preset--color--primary);
    }
}

@media (min-width: 782px) {
    .footer-stupci::after {
    content: "";
    position: absolute;
    top: 28%;
    left: 58%;
    height: 30%;
    width: 2px;
    background: var(--wp--preset--color--primary);
    }
}