/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Mobilni meni: hamburger -> X + slide-in sleva */
details[open] [data-id="7cb3f7e9"] { display: none; }
details[open] [data-id="5b1ebaad"] { display: flex; }

@keyframes nk-menu-slide-in {
	from { transform: translateX(-100%); opacity: 0; }
	to   { transform: translateX(0); opacity: 1; }
}

details[open] [data-id="6d508a82"] {
	animation: nk-menu-slide-in 0.35s ease-out;
}

@media (prefers-reduced-motion: reduce) {
	details[open] [data-id="6d508a82"] { animation: none; }
}

/* ==========================================================================
   NenoKop – Contact Form 7 (Kontakt sekcija, početna strana)
   Figma: node 1:750 (kartica), 1:751–1:766 (polja), 1:767–1:772 (dno forme)
   Markup: .nk-form > p > span.wpcf7-form-control-wrap > .nk-field | .nk-acceptance | .nk-submit
   Kartica (#ECECEC, padding 40px, radius 12px, senka) je već u Elementoru.
   Zalepiti na kraj style.css child teme.
   ========================================================================== */
/* Upload polje – Figma: label "Datei-Upload" + paperclip desno */
.wpcf7 .nk-form .wpcf7-form-control-wrap[data-name="upload"] {
	position: relative;
	display: block;
}

.wpcf7 .nk-form .wpcf7-form-control-wrap[data-name="upload"]::before {
	content: "Datei-Upload";
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Outfit", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #000;
	opacity: 0.5;
	pointer-events: none;
	z-index: 1;
}

.wpcf7 .nk-form .wpcf7-form-control-wrap[data-name="upload"]:focus-within::before {
	opacity: 0;
}
.e-con.e-atomic-element.e-accordion-item-content-base {
	padding-left: 0;
}
.wpcf7 .nk-form input[type="file"].nk-field {
	cursor: pointer;
	color: transparent;
	background-image: url("https://nenokop.com/wp-content/uploads/2026/10/attach_file_add.svg");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 24px 24px;
}
.e-accordion-item-base[open] > summary .e-accordion-item-icon-base svg {
	transform: rotate(45deg) !important;
}
.wpcf7 .nk-form input[type="file"].nk-field:focus {
	color: #000;
}

.wpcf7 .nk-form input[type="file"].nk-field::file-selector-button {
	width: 0;
	padding: 0;
	margin: 0;
	border: 0;
	opacity: 0;
	visibility: hidden;
}
.wpcf7 .nk-form {
	width: 100%;
}

/* Svi elementi su u jednom <p> – on je kolona, bez razmaka između polja */
.wpcf7 .nk-form > p {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	text-align: left;
}

.wpcf7 .nk-form br {
	display: none;
}

.wpcf7 .nk-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Polja – samo donja linija #D7D7D7, Outfit Medium 18px, padding 20px
   -------------------------------------------------------------------------- */
.wpcf7 .nk-form .nk-field {
	display: block;
	width: 100%;
	min-height: 62px;
	box-sizing: border-box;
	margin: 0;
	padding: 20px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #d7d7d7;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	font-family: "Outfit", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #000;
	transition: border-color 0.2s ease;
}

.wpcf7 .nk-form .nk-field::placeholder {
	color: #000;
	opacity: 0.5;
}

.wpcf7 .nk-form .nk-field:focus {
	border-bottom-color: #ae3230;
	outline: none;
	box-shadow: none;
}

/* Leistung (select) – strelica 24px desno; placeholder opcija je 50% */
.wpcf7 .nk-form select.nk-field {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 24px 24px;
}

.wpcf7 .nk-form select.nk-field:not(:has(option[value=""]:checked)) {
	color: #000;
}

.wpcf7 .nk-form select.nk-field option {
	color: #000;
	background-color: #ececec;
}

/* Message – 146px, tekst pri dnu kao u Figmi nije moguć u textarea, pa je pri vrhu */
.wpcf7 .nk-form textarea.nk-field {
	height: 146px;
	min-height: 146px;
	resize: vertical;
}

/* --------------------------------------------------------------------------
   Acceptance – checkbox 15px + tekst Outfit Light 14px, centrirano
   -------------------------------------------------------------------------- */
.wpcf7 .nk-form .wpcf7-form-control-wrap[data-name="datenschutz"] {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.wpcf7 .nk-form .wpcf7-acceptance,
.wpcf7 .nk-form .wpcf7-acceptance .wpcf7-list-item {
	display: block;
	margin: 0;
}

.wpcf7 .nk-form .wpcf7-acceptance label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
}

.wpcf7 .nk-form .wpcf7-acceptance .wpcf7-list-item-label {
	font-family: "Outfit", sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1;
	color: #000;
}

.wpcf7 .nk-form .wpcf7-acceptance .wpcf7-list-item-label a {
	color: inherit;
	text-decoration: underline;
}

.wpcf7 .nk-form .nk-acceptance {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 15px;
	position: relative;
	width: 15px;
	height: 15px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 1px solid #000;
	border-radius: 3.125px;
	box-shadow: none;
	cursor: pointer;
}

.wpcf7 .nk-form .nk-acceptance:checked {
	background-color: #ae3230;
	border-color: #ae3230;
}

.wpcf7 .nk-form .nk-acceptance:checked::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 4px;
	width: 3px;
	height: 7px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wpcf7 .nk-form .nk-acceptance:focus-visible {
	outline: 2px solid #ae3230;
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Submit – gradient #AE3230 → #481514, border #AE3230, radius 8px,
   Palanquin Dark Medium 18px, padding 10px 15px, senka iz Figme
   -------------------------------------------------------------------------- */
.wpcf7 .nk-form .nk-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: auto;
	margin: 40px 0 0;
	padding: 10px 15px;
	background-color: #ae3230;
	background-image: linear-gradient(180deg, #ae3230 0%, #481514 100%);
	border: 1px solid #ae3230;
	border-radius: 8px;
	box-shadow:
		0 2px 2px rgba(0, 0, 0, 0.1),
		-2px 7px 4px rgba(0, 0, 0, 0.09),
		-4px 17px 5px rgba(0, 0, 0, 0.05),
		-7px 30px 6px rgba(0, 0, 0, 0.01);
	font-family: "Palanquin Dark", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.wpcf7 .nk-form .nk-submit:hover {
	filter: brightness(1.1);
}

.wpcf7 .nk-form .nk-submit:active {
	transform: translateY(1px);
}

.wpcf7 .nk-form .nk-submit:focus-visible {
	outline: 2px solid #ae3230;
	outline-offset: 2px;
}

/* CF7 drži dugme disabled dok se ne označi saglasnost */
.wpcf7 .nk-form .nk-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	filter: none;
}

/* --------------------------------------------------------------------------
   CF7 sistemske poruke
   -------------------------------------------------------------------------- */
.wpcf7 .nk-form .wpcf7-spinner {
	position: absolute;
	right: 0;
	bottom: 8px;
	margin: 0;
}

.wpcf7 .nk-form .nk-field.wpcf7-not-valid {
	border-bottom-color: #ae3230;
}

.wpcf7 .nk-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-family: "Outfit", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: #ae3230;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 12px 16px;
	border: 1px solid #ae3230;
	border-radius: 8px;
	font-family: "Outfit", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	color: #000;
}

.wpcf7 form.wpcf7-form.sent .wpcf7-response-output {
	border-color: #2e7d32;
}

/* --------------------------------------------------------------------------
   Mobile – kartica ima 24px padding; 16px sprečava iOS zoom na fokus
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.wpcf7 .nk-form .nk-field {
		font-size: 16px;
	}
}

.wpcf7 form.wpcf7-form .wpcf7-response-output:empty,
.wpcf7 form.wpcf7-form.init .wpcf7-response-output {
	display: none;
}