@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/*
	Dimension by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

@font-face {
    font-family: "Blushes";
    src: url("../webfonts/Blushes Regular.otf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Blushes";
    src: url("../webfonts/Blushes Italic.otf") format("opentype");
    font-weight: normal;
    font-style: italic;
}


/* === Segoe UI (custom font) === */
@font-face {
    font-family: "Segoe UI";
    src: url("assets/webfonts/segoeuithisz.ttf") format("truetype"); /* regular */
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Segoe UI";
    src: url("assets/webfonts/segoeuithibd.ttf") format("truetype"); /* bold */
    font-weight: 700;
    font-style: normal;
}



/* Reset */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */
@-ms-viewport {
	width: device-width;
}

@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}
}

html {
	box-sizing: border-box;
}

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

body {
  position: relative;          /* keep normal stacking */
  background: #f6fbed;         /* light fallback if image fails */
}



body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}

/* Type */
html {
	font-size: 16pt;
}

@media screen and (max-width: 1680px) {
	html {
		font-size: 12pt;
	}
}

@media screen and (max-width: 736px) {
	html {
		font-size: 11pt;
	}
}

@media screen and (max-width: 360px) {
	html {
		font-size: 10pt;
	}
}

body, input, select, textarea {
	color: #ffffff;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.65;
}

a {
	-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px rgba(255, 255, 255, 0.5);
	text-decoration: none;
	color: inherit;
}

a:hover {
	border-bottom-color: transparent;
}

strong, b {
	color: #ffffff;
	font-weight: 600;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
	border-bottom: 1px solid currentColor;
	width: max-content;
	padding-bottom: 0.5rem;
	margin: 0 0 2rem 0;
}

h1 {
	font-size: 2.25rem;
	line-height: 1.3;
	letter-spacing: 0.5rem;
}

h2 {
	font-size: 1.5rem;
	line-height: 1.4;
	letter-spacing: 0.5rem;
}

h3 {
	font-size: 1rem;
}

h4 {
	font-size: 0.8rem;
}

h5 {
	font-size: 0.7rem;
}

h6 {
	font-size: 0.6rem;
}

@media screen and (max-width: 736px) {
	h1 {
		font-size: 1.75rem;
		line-height: 1.4;
	}

	h2 {
		font-size: 1.25em;
		line-height: 1.5;
	}
}

sub {
	font-size: 0.8rem;
	position: relative;
	top: 0.5rem;
}

sup {
	font-size: 0.8rem;
	position: relative;
	top: -0.5rem;
}

blockquote {
	border-left: solid 4px #ffffff;
	font-style: italic;
	margin: 0 0 2rem 0;
	padding: 0.5rem 0 0.5rem 2rem;
}

code {
	background: rgba(255, 255, 255, 0.075);
	border-radius: 4px;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0 2rem 0;
}

pre code {
	display: block;
	line-height: 1.75;
	padding: 1rem 1.5rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-bottom: solid 1px #ffffff;
	margin: 2.75rem 0;
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

/* Form */
form {
	margin: 0 0 2rem 0;
}

form > :last-child {
	margin-bottom: 0;
}

form > .fields {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: calc(100% + 3rem);
	margin: -1.5rem 0 2rem -1.5rem;
}

form > .fields > .field {
	-moz-flex-grow: 0;
	-webkit-flex-grow: 0;
	-ms-flex-grow: 0;
	flex-grow: 0;
	-moz-flex-shrink: 0;
	-webkit-flex-shrink: 0;
	-ms-flex-shrink: 0;
	flex-shrink: 0;
	padding: 1.5rem 0 0 1.5rem;
	width: calc(100% - 1.5rem);
}

form > .fields > .field.half {
	width: calc(50% - 0.75rem);
}

form > .fields > .field.third {
	width: calc(100%/3 - 0.5rem);
}

form > .fields > .field.quarter {
	width: calc(25% - 0.375rem);
}

@media screen and (max-width: 480px) {
	form > .fields {
		width: calc(100% + 3rem);
		margin: -1.5rem 0 2rem -1.5rem;
	}

	form > .fields > .field {
		padding: 1.5rem 0 0 1.5rem;
		width: calc(100% - 1.5rem);
	}

	form > .fields > .field.half,
	form > .fields > .field.third,
	form > .fields > .field.quarter {
		width: calc(100% - 1.5rem);
	}
}

label {
	color: #ffffff;
	display: block;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.2rem;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: solid 1px #111;
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1rem;
	text-decoration: none;
	width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
select:invalid,
textarea:invalid {
	box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	background: rgba(255, 255, 255, 0.075);
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

select {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23ffffff' /%3E%3C/svg%3E");
	background-size: 1.25rem;
	background-repeat: no-repeat;
	background-position: calc(100% - 1rem) center;
	height: 2.75rem;
	padding-right: 2.75rem;
	text-overflow: ellipsis;
}

select option {
	color: #ffffff;
	background: #f7faed;
}

select:focus::-ms-value {
	background-color: transparent;
}

select::-ms-expand {
	display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
	height: 2.75rem;
}

textarea {
	padding: 0.75rem 1rem;
}

input[type="checkbox"],
input[type="radio"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: block;
	float: left;
	margin-right: -2rem;
	opacity: 0;
	width: 1rem;
	z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
	text-decoration: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 300;
	height: 2.75rem;
	letter-spacing: 0.2rem;
	line-height: 2.75rem;
	outline: 0;
	padding: 0 1.25rem 0 1.35rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background-color: rgba(255, 255, 255, 0.075);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
	background-color: rgba(255, 255, 255, 0.175);
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
	margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
	width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
	font-size: 0.6rem;
	height: 2.0625rem;
	line-height: 2.0625rem;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: #ffffff;
	color: #000000 !important;
	font-weight: 600;
}

input[type="submit"].disabled, 
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
	pointer-events: none;
	cursor: default;
	opacity: 0.25;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	line-height: calc(2.75rem - 2px);
}

#bg {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100vh;
  z-index: -1;
}

#bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/uvodna2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35; /* transparency */
  transition: opacity 700ms ease, filter 700ms ease, transform 900ms ease;
}


/* Optional: slightly blur/darken when an article is open */
body.is-article-visible #bg::after {
  opacity: 0.28;                  /* a touch darker while open */
  transform: scale(1.04);         /* subtle zoom, not too much */
  filter: blur(3px);              /* smooth, readable blur */
}


body.is-preload #bg:before {
	background-color: #000000;
}

/* Wrapper */
#wrapper {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	position: relative;
	min-height: 100vh;
	width: 100%;
	padding: 4rem 2rem;
	z-index: 3;
}

#wrapper:before {
	content: '';
	display: block;
}

@media screen and (max-width: 1680px) {
	#wrapper {
		padding: 3rem 2rem;
	}
}

@media screen and (max-width: 736px) {
	#wrapper {
		padding: 2rem 1rem;
	}
}

@media screen and (max-width: 480px) {
	#wrapper {
		padding: 1rem;
	}
}

/* Header */
#header {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	transition: transform 700ms ease, filter 700ms ease, opacity 700ms ease;
	max-width: 100%;
	text-align: center;
	
}

#header > * {
	-moz-transition: opacity 0.325s ease-in-out;
	-webkit-transition: opacity 0.325s ease-in-out;
	-ms-transition: opacity 0.325s ease-in-out;
	transition: opacity 0.325s ease-in-out;
	position: relative;
	margin-top: 3.5rem;
}

#header > :first-child {
	margin-top: 0;
}

#header .logo {
	display: none !important;
}

#header .content {
	border-style: solid;
	border-color: #000000 !important;
	border-top-width: 1px;
	border-bottom-width: 1px;
	max-width: 100%;
}

#header .content .inner {
	-moz-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
	-webkit-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
	-ms-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
	transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
	-moz-transition-delay: 0.25s;
	-webkit-transition-delay: 0.25s;
	-ms-transition-delay: 0.25s;
	transition-delay: 0.25s;
	padding: 3rem 2rem;
	max-height: 40rem;
	overflow: hidden;
}

#header .content .inner > :last-child {
	margin-bottom: 0;
}

#header .content .inner img.header-image {
	position: relative;
	display: block;
	margin: 0 auto 1.2rem;
	max-width: 900px;
	width: 100%;
	height: auto;
	z-index: 1;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	transition: box-shadow 0.4s ease, transform 0.4s ease, opacity 3.5s ease-out 600ms, transform 4s cubic-bezier(0.16, 1, 0.3, 1) 600ms;
	will-change: opacity, transform;
	opacity: 0;
	transform: scale(0.95);
}

#header .content .inner img.header-image:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

body:not(.is-preload) #header .content .inner img.header-image {
	opacity: 1;
}

#header .content .inner h1 {
	position: relative;
	z-index: 2;
	margin-top: 0.5rem;
}

#header .content p {
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	font-size: 0.8rem;
	line-height: 2;
}

#header h1 {
    font-family: "Blushes", "Segoe UI", "Source Sans Pro", sans-serif !important;
    font-size: 3rem;
    letter-spacing: 0.25rem;
    font-weight: 700;
    color: #000000 !important;
}

#header p {
	font-family: "Segoe UI", sans-serif !important;
    font-size: 1.65rem;      /* povečaj po potrebi */
    font-weight: 400;
    letter-spacing: 0.05rem; /* subtilno */
    color: #000000 !important;
    margin-top: 0.5rem;      /* manjši razmik pod naslovom */
}

#header nav ul {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	margin-bottom: 0;
	list-style: none;
	padding-left: 0;
	border: solid 1px #000000 !important;
	border-radius: 4px;
}

#header nav ul li {
	padding-left: 0;
}

#header nav ul li a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 7.5rem;
	height: 2.75rem;
	line-height: 1 !important;
	padding: 0 1.5rem !important;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	font-size: 0.9rem;
	border-bottom: 0;
	color: #000000 !important;
	position: relative;
	font-weight: 600 !important;
}

#header nav ul li:not(:first-child) a:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #000000 !important;
}

#header nav ul li a:hover {
	background-color: rgba(255, 255, 255, 0.075);
}

#header nav ul li a:active {
	background-color: rgba(255, 255, 255, 0.175);
}

body.is-article-visible #header {
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	-ms-transform: scale(0.95);
	transform: scale(0.95);
	-moz-filter: blur(0.1rem);
	-webkit-filter: blur(0.1rem);
	-ms-filter: blur(0.1rem);
	filter: blur(0.1rem);
	opacity: 0;
}

body.is-preload #header {
	-moz-filter: blur(0.125rem);
	-webkit-filter: blur(0.125rem);
	-ms-filter: blur(0.125rem);
	filter: blur(0.125rem);
}

body.is-preload #header > * {
	opacity: 0;
}

body.is-preload #header .content .inner {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}

@media screen and (max-width: 980px) {
	#header .content p br {
		display: none;
	}
}

@media screen and (max-width: 736px) {
	#header > * {
		margin-top: 2rem;
	}

	#header .content .inner {
		padding: 2.5rem 1rem;
	}

	#header .content p {
		line-height: 1.875;
	}
}

@media screen and (max-width: 480px) {
	#header {
		padding: 1.5rem 0;
	}

	#header .content .inner {
		padding: 2.5rem 0;
	}

	#header nav ul {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		min-width: 10rem;
		max-width: 100%;
	}

	#header nav ul li {
		border-left: 0;
		border-top: solid 1px #000000;
	}

	#header nav ul li:first-child {
		border-top: 0;
	}

	#header nav ul li a {
		height: 3rem;
		line-height: 3rem;
		min-width: 0;
		width: 100%;
	}
}

/* Main */
#main {
	-moz-flex-grow: 1;
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
	-moz-flex-shrink: 1;
	-webkit-flex-shrink: 1;
	-ms-flex-shrink: 1;
	flex-shrink: 1;
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	position: relative;
	max-width: none !important;
	width: 100% !important;
	left: 0;
	z-index: 3;
}

#main .inner {
	max-width: 1100px;
	width: 90%;
	margin: 0 auto;
}

#main article {
    transform: translateY(0.25rem);
    transition: opacity 650ms ease, transform 650ms ease;
    padding: 3rem 3rem 2rem 3rem;
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(200, 230, 200, 0.82); /* nežna pastelna zelena */
    border-radius: 18px; /* bolj zaobljeni robovi */
    box-shadow: 0 8px 22px rgba(0,0,0,0.25); /* mehka senca za kontrast */
    backdrop-filter: blur(3px); /* opcijsko: učinek stekla */
    opacity: 0;
}

/* === Črno / temno sivo besedilo v notranjih sekcijah === */
#main article,
#main article p,
#main article li,
#main article h2,
#main article h3,
#main article a,
#main article strong,
#main article b {
    color: #111 !important; /* temno siva, ne popolna črna */
}

/* === BIORESONANCA FAQ – temno siva barva besedila === */
#bioresonanca .faq,
#bioresonanca .faq p,
#bioresonanca .faq li,
#bioresonanca .faq h4,
#bioresonanca .accordion-trigger,
#bioresonanca .accordion-panel p {
	color: #111 !important; /* enotna temno siva */
}






#main article.active {
	-moz-transform: translateY(0);
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

#main article .close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 4rem;
	height: 4rem;
	cursor: pointer;
	text-indent: 4rem;
	overflow: hidden;
	white-space: nowrap;
	
}

#main article .close:before {
	-moz-transition: background-color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	content: '';
	display: block;
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 100%;
	background-position: center;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23222%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
	background-size: 20px 20px;
	background-repeat: no-repeat;
}

#main article .close:hover:before {
	background-color: rgba(255, 255, 255, 0.075);
}

#main article .close:active:before {
	background-color: rgba(255, 255, 255, 0.175);
}

@media screen and (max-width: 736px) {
	#main article {
		padding: 3.5rem 2rem 0.5rem 2rem;
	}

	#main article .close:before {
		top: 0.875rem;
		left: 0.875rem;
		width: 2.25rem;
		height: 2.25rem;
		background-size: 14px 14px;
	}
}

@media screen and (max-width: 480px) {
	#main article {
		padding: 3rem 1.5rem 0.5rem 1.5rem;
	}
}

/* Footer */
#footer {
	-moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	-webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	-ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
	width: 100%;
	max-width: 100%;
	margin-top: 2rem;
	text-align: center;
}

#footer .copyright {
	letter-spacing: 0.2rem;
	font-size: 0.6rem;
	opacity: 0.75;
	margin-bottom: 0;
	text-transform: uppercase;
}

body.is-article-visible #footer {
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	-ms-transform: scale(0.95);
	transform: scale(0.95);
	-moz-filter: blur(0.1rem);
	-webkit-filter: blur(0.1rem);
	-ms-filter: blur(0.1rem);
	filter: blur(0.1rem);
	opacity: 0;
}

body.is-preload #footer {
	opacity: 0;
}

/* Custom sections */

/* O Meni */
#moja_zgodba .about-photo img {
	width: 20%;
	max-width: 800px;
	display: block;
	margin: 0 left 1.5em;
	border-radius: 10px;
	text-align: left;
}

/* ---- Povezave v razdelku "Moja zgodba" ---- */
#moja_zgodba p a,
#moja_zgodba p a:visited {
  color: #064e3b !important;     /* temna zelena */
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color .25s ease;
}

#moja_zgodba p a:hover {
  color: #1e77ff !important;     /* modra na hover */
  text-decoration: none !important;
}

/* Bioresonanca */
#bioresonanca .image.main::before {
	content: none !important;
}

#bioresonanca .image.main img {
	filter: none !important;
	opacity: 1 !important;
}

#bioresonanca h3 {
	margin-top: 1.6em !important;
	margin-bottom: 0.35em !important;
}

#bioresonanca p {
	margin-bottom: 0.6rem;
}

#bioresonanca p + ul {
	margin-top: 0.25em !important;
}

#bioresonanca ul {
	margin: 0 0 1em 0 !important;
	padding: 0;
	list-style: none !important;
}

#bioresonanca li {
	position: relative;
	margin: 0.3em 0 !important;
	padding-left: 0.9em;
	line-height: 1.5;
}

#bioresonanca li::before {
	content: '•';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1.1em;
	line-height: 1.4;
	color: currentColor;
}

/* FAQ Accordion */
#bioresonanca .faq {
	margin-top: 2em;
	border-top: 1px solid rgba(0, 0, 0, 0.28);
	padding-top: 1.5em;
	font-size: 0.9em;
}

#bioresonanca .accordion-item {
	padding: 0.3em 0;
}

#bioresonanca .accordion-item + .accordion-item {
	border-top: 1px solid rgba(0, 0, 0, 0.28);
}

#bioresonanca .accordion-trigger {
	width: 100%;
	text-align: left;
	background: transparent !important;
	color: inherit;
	border: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	padding: 0.6em 0;
	font: inherit;
	font-size: 1em;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.3px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: color 0.2s ease;
}

#bioresonanca .accordion-trigger::before,
#bioresonanca .accordion-trigger::after {
	content: none !important;
	display: none !important;
}

#bioresonanca .accordion-trigger:hover,
#bioresonanca .accordion-trigger:active {
	box-shadow: none !important;
	border: 0 !important;
	background: transparent !important;
}

#bioresonanca .accordion-trigger:focus {
	outline: none;
	color: #fff;
}

#bioresonanca .accordion-icon {
	display: inline-block;
	transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
	font-weight: 700;
	opacity: 0.85;
	margin-left: 0.5em;
	color: #1fa83d;        /* ✅ ZELENA (ko je zaprto) */
}

#bioresonanca .accordion-trigger[aria-expanded="true"] .accordion-icon {
	transform: rotate(45deg);
	opacity: 1;
	color: #d62828;      /* ✅ RDEČA (ko je odprto) */
}

#bioresonanca .accordion-panel {
	padding: 0.4em 0 0.9em 0;
}

#bioresonanca .accordion-panel p {
	margin: 0.2em 0 0.6em 0;
	line-height: 1.55;
	font-size: 0.9em;
	color: #ccc;
}

#bioresonanca .accordion-panel ul {
	list-style-type: disc;
	margin: 0.5em 0 0.8em 1.2em;
	padding: 0;
	color: #ccc;
	font-size: 0.9em;
	line-height: 1.55;
}

#bioresonanca .accordion-panel li {
	margin: 0.25em 0;
	color: #ccc;
	font-size: 0.9em;
}

/* Loading animations */
body.is-preload #wrapper {
	opacity: 0;
	transform: none !important;
}

body:not(.is-preload) #wrapper {
	opacity: 1;
	transform: none !important;
	transition: opacity 1.2s ease-out !important;
	will-change: opacity;
}

body.is-preload #header,
body.is-preload #main {
	opacity: 0;
	transform: none !important;
}

body:not(.is-preload) #header,
body:not(.is-preload) #main {
	opacity: 1;
	transform: none !important;
	transition: opacity 1.2s ease-out !important;
}

@media (prefers-reduced-motion: reduce) {
	body.is-preload #wrapper,
	body:not(.is-preload) #wrapper,
	body.is-preload #header,
	body:not(.is-preload) #header,
	body.is-preload #main,
	body:not(.is-preload) #main,
	#header .content .inner img.header-image {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
};
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 300;
	margin: 0 0 0.5rem 0;
	padding-left: 2.65rem;
	padding-right: 0.75rem;
	position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	text-transform: none !important;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	-moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	border-radius: 4px;
	border: solid 1px #ffffff;
	content: '';
	display: inline-block;
	height: 1.65rem;
	left: 0;
	line-height: 1.65rem;
	position: absolute;
	text-align: center;
	top: -0.15rem;
	width: 1.65rem;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #f7faed;
	content: '\f00c';
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	background: rgba(255, 255, 255, 0.075);
	border-color: #ffffff;
	box-shadow: 0 0 0 1px #ffffff;
}

input[type="checkbox"] + label:before {
	border-radius: 4px;
}

input[type="radio"] + label:before {
	border-radius: 100%;
}

::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1.0;
}

:-moz-placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1.0;
}

::-moz-placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1.0;
}

:-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1.0;
}

.formerize-placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1.0;
}

/* Icon */
.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}

.icon:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	text-transform: none !important;
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	line-height: inherit;
}

.icon > .label {
	display: none;
}

.icon.solid:before {
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
}

/* Image */
.image {
	border-radius: 4px;
	border: 0;
	display: inline-block;
	position: relative;
}

.image:before {
	pointer-events: none;
	background-image: url("../../images/overlay.png");
	background-color: rgba(19, 21, 25, 0.5);
	border-radius: 4px;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.5;
	position: absolute;
	top: 0;
	width: 100%;
}

.image img {
	border-radius: 10px;
	display: block;
}

.image.left, .image.right {
	max-width: 40%;
}

.image.left img, .image.right img {
	width: 100%;
}

.image.left {
	float: left;
	padding: 0 1.5em 1em 0;
	top: 0.25em;
}

.image.right {
	float: right;
	padding: 0 0 1em 1.5em;
	top: 0.25em;
}

.image.fit {
	display: block;
	margin: 0 0 2rem 0;
	width: 100%;
}

.image.fit img {
	width: 100%;
}

.image.main {
	display: block;
	margin: 2.5rem 0;
	width: 100%;
}

.image.main img {
	width: 50%;
	max-width: 900px;
	margin: 0 left;
	display: block;
	border-radius: 10px;
}

@media screen and (max-width: 736px) {
	.image.main {
		margin: 2rem 0;
	}
}

@media screen and (max-width: 480px) {
	.image.main {
		margin: 1.5rem 0;
	}
}

.header-image {
	width: 100%;
	max-width: none;
	height: auto;
	display: block;
	margin: 0 0 1.5em 0;
	border-radius: 0;
}

/* List */
ol {
	list-style: decimal;
	margin: 0 0 2rem 0;
	padding-left: 1.25em;
}

ol li {
	padding-left: 0.25em;
}

ul {
	list-style: disc;
	margin: 0 0 2rem 0;
	padding-left: 1em;
}

ul li {
	padding-left: 0.5em;
}

ul.alt {
	list-style: none;
	padding-left: 0;
}

ul.alt li {
	border-top: solid 1px #ffffff;
	padding: 0.5em 0;
}

ul.alt li:first-child {
	border-top: 0;
	padding-top: 0;
}

dl {
	margin: 0 0 2rem 0;
}

dl dt {
	display: block;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

dl dd {
	margin-left: 2rem;
}

/* Actions */
ul.actions {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	cursor: default;
	list-style: none;
	margin-left: -1rem;
	padding-left: 0;
}

ul.actions li {
	padding: 0 0 0 1rem;
	vertical-align: middle;
}

ul.actions.special {
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	width: 100%;
	margin-left: 0;
}

ul.actions.special li:first-child {
	padding-left: 0;
}

ul.actions.stacked {
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-left: 0;
}

ul.actions.stacked li {
	padding: 1.3rem 0 0 0;
}

ul.actions.stacked li:first-child {
	padding-top: 0;
}

ul.actions.fit {
	width: calc(100% + 1rem);
}

ul.actions.fit li {
	-moz-flex-grow: 1;
	-webkit-flex-grow: 1;
	-ms-flex-grow: 1;
	flex-grow: 1;
	-moz-flex-shrink: 1;
	-webkit-flex-shrink: 1;
	-ms-flex-shrink: 1;
	flex-shrink: 1;
	width: 100%;
}

ul.actions.fit li > * {
	width: 100%;
}

ul.actions.fit.stacked {
	width: 100%;
}

@media screen and (max-width: 480px) {
	ul.actions:not(.fixed) {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		margin-left: 0;
		width: 100% !important;
	}

	ul.actions:not(.fixed) li {
		-moz-flex-grow: 1;
		-webkit-flex-grow: 1;
		-ms-flex-grow: 1;
		flex-grow: 1;
		-moz-flex-shrink: 1;
		-webkit-flex-shrink: 1;
		-ms-flex-shrink: 1;
		flex-shrink: 1;
		padding: 1rem 0 0 0;
		text-align: center;
		width: 100%;
	}

	ul.actions:not(.fixed) li > * {
		width: 100%;
	}

	ul.actions:not(.fixed) li:first-child {
		padding-top: 0;
	}

	ul.actions:not(.fixed) li input[type="submit"],
	ul.actions:not(.fixed) li input[type="reset"],
	ul.actions:not(.fixed) li input[type="button"],
	ul.actions:not(.fixed) li button,
	ul.actions:not(.fixed) li .button {
		width: 100%;
	}

	ul.actions:not(.fixed) li input[type="submit"].icon:before,
	ul.actions:not(.fixed) li input[type="reset"].icon:before,
	ul.actions:not(.fixed) li input[type="button"].icon:before,
	ul.actions:not(.fixed) li button.icon:before,
	ul.actions:not(.fixed) li .button.icon:before {
		margin-left: -0.5em;
	}
}

/* Icons */
ul.icons {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.icons li {
	display: inline-block;
	padding: 0 0.75em 0 0;
}

ul.icons li:last-child {
	padding-right: 0;
}

ul.icons li a {
	border-radius: 100%;
	box-shadow: inset 0 0 0 1px #111;
	display: inline-block;
	height: 2.25rem;
	line-height: 2.25rem;
	text-align: center;
	width: 2.25rem;
}

ul.icons li a:hover {
	background-color: rgba(255, 255, 255, 0.075);
}

ul.icons li a:active {
	background-color: rgba(255, 255, 255, 0.175);
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: 0;
	cursor: pointer;
}


/* =========================
   Site logo – show only after preload
   ========================= */
:root {
  --logo-opacity: 0.9; /* tweak 0–1 to change logo transparency */
}

/* Hidden by default (prevents any flash before CSS/JS finish) */
#site-logo {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* Show ONLY on home, when not in an article, AFTER preload is gone */
body.home:not(.is-article-visible):not(.is-preload) #site-logo {
  display: block !important;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
  animation: logoFadeIn 3.2s ease-out forwards;
}

/* Logo image */
body.home:not(.is-article-visible):not(.is-preload) #site-logo img {
  width: 140px;                 /* your “Size B” */
  height: auto;
  opacity: var(--logo-opacity);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}

/* Fade-in (no movement, no jump) */
@keyframes logoFadeIn {
  from { opacity: 0; }
  to   { opacity: var(--logo-opacity); }
}

/* Hide when an article (subpage) is visible */
body.is-article-visible #site-logo { display: none !important; }


/* Fade-in keyframes (no movement, no jump) */
@keyframes logoFadeIn {
  from { opacity: 0; }
  to   { opacity: var(--logo-opacity); }
}


#kontakt label {
	font-weight: 600; /* malo bolj krepko */
	color: #111 !important;     /* temno siva */
}

#kontakt input,
#kontakt textarea,
#kontakt p {
	font-weight: 500;
}


/* === Kontakt – gumbi v temno sivi barvi === */
/* ===== Gumbi v razdelku Kontakt — OZADJE ===== */

#kontakt .actions input[type="submit"] {
    /* SPREMEMBA: Nova barva (enaka kot cookie bar) */
    background-color: rgb(1, 50, 0) !important; 
    border: 2px solid rgb(1, 50, 0) !important;
    
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
}

#kontakt .actions input[type="reset"] {
    background-color: #2f4638 !important;
    border: 2px solid #2f4638 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
}


/* Hover efekt (ob premiku miške) */
#kontakt .actions input[type="submit"]:hover,
#kontakt .actions input[type="reset"]:hover {
    background: rgba(30, 30, 30, 0.08);  /* nežno sivkast hover */
    border-color: #000;                  /* malo temnejša obroba */
    color: #000;
}


/* === Kontakt – obroba okoli zemljevida === */
/* === Kontakt – obroba okoli zemljevida === */
#kontakt .map-container iframe {
    border: 2px solid #333;        /* temno siva obroba */
    border-radius: 10px;           /* rahlo zaobljen rob */
    box-shadow: 0 4px 10px rgba(0,0,0,0.35); /* (nežno senčenje – po želji) */
}


/* === Senčenje slik v "Moja zgodba" in "Bioresonanca" === */
#moja_zgodba .about-photo img,
#bioresonanca .image.main img {
    box-shadow: 0 8px 22px rgba(0,0,0,0.28); /* mehko, realistično senčenje */
    border-radius: 12px; /* če želiš tudi rahlo zaobljen rob */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Nežen hover efekt: malo poudarjena slika */
#moja_zgodba .cert-gallery img:hover,
#bioresonanca .cert-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Zmanjšanje razmika pred naslovom "Področja uporabe", ki sledi galeriji */
#bioresonanca .cert-gallery + h3 {
    margin-top: 0.5em !important; /* Prej je bilo 1.6em */
}

/* --- Galerija certifikatov v razdelku "Moja zgodba" --- */
#moja_zgodba .cert-gallery,
#bioresonanca .cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem; /* Manjši odmik spodaj */
  justify-items: center;
}

/* Popravek za povezave okoli slik (odstrani črte in presledke) */
#moja_zgodba .cert-gallery .cert-link,
#bioresonanca .cert-gallery .cert-link {
    display: block;          /* Ključno: obnaša se kot blok, ne kot besedilo */
    border-bottom: none;     /* Odstrani morebitno črto spodaj */
    text-decoration: none;
    line-height: 0;          /* Odstrani višino vrstice */
}

#moja_zgodba .cert-gallery img,
#bioresonanca .cert-gallery img {
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#moja_zgodba .cert-gallery img:hover,
#bioresonanca .cert-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}


/* Uvodni podnaslov "Zajemi val življenja." */
#header .content .inner > p {
  font-family: "Segoe UI", sans-serif !important;
  font-size: 1.2rem !important;   /* spremeni po želji */
  line-height: 1.3 !important;
  letter-spacing: 0.5rem !important;
  color: #000 !important;
  margin-top: 0.5rem !important;
}




/* --- Razmik samo za certifikate v razdelku Moja zgodba --- */
#moja_zgodba p.cert-links a {
  display: inline-block;
  margin-top: 0.35em;
}
#moja_zgodba p.cert-links a:first-child {
  margin-top: 0;
}


/* --- Dodatno: slog povezav v alinejah (ul.cert-list) razdelka Moja zgodba --- */
#moja_zgodba ul.cert-list a,
#moja_zgodba ul.cert-list a:visited {
  color: #064e3b !important;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color .25s ease;
}

#moja_zgodba ul.cert-list a:hover {
  color: #1e77ff !important;
  text-decoration: none !important;
}

/* --- Poravnava alinej v razdelku "Moja zgodba" --- */
#moja_zgodba ul.cert-list {
  margin-left: 0.8em !important;   /* manjši zamik od levega roba */
  padding-left: 0 !important;
  list-style-position: inside;     /* pika se poravna z besedilom */
}

#moja_zgodba ul.cert-list li {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* --- Enotna višina in samodejno prilagajanje slik v galeriji --- */
#moja_zgodba .cert-gallery img,
#bioresonanca .cert-gallery img {
  display: block;            /* Odstrani prostor pod sliko */
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: #fff;
  max-width: 280px;
}


/* --- Lightbox (Modal) za Slike --- */

/* Ozadje modala (prekrivka) */
.lightbox {
  display: none; /* Skrito po defoltu */
  position: fixed;
  z-index: 10000; /* Najvišje, nad vsem ostalim */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Doda scroll, če je slika prevelika */
  background-color: rgba(0, 0, 0, 0.85); /* Temno prosojno ozadje */
  
  /* Uporabi flex za enostavno centriranje */
  justify-content: center;
  align-items: center;
}

/* Pokaži, ko je aktivno (to nadzira JS) */
.lightbox.active {
  display: flex; 
}

/* Vsebina modala (slika) */
.lightbox-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 90%; /* Največ 90% širine zaslona */
  max-height: 85vh; /* Največ 85% višine zaslona */
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  /* Animacija ob odprtju */
  animation: zoomIn 0.3s ease;
}

/* Gumb za zapiranje (X) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
}

/* Prepreči scrollanje strani v ozadju, ko je modal odprt */
body.is-lightbox-visible {
  overflow: hidden; 
}

/* Preprosta animacija povečave */
@keyframes zoomIn {
  from {transform: scale(0.9);}
  to {transform: scale(1);}
}

/* --- Stili za navigacijo v Lightboxu --- */

/* Gumba za Prejšnja/Naslednja */
.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none; /* Prepreči selekcijo besedila */
  z-index: 10001; /* Nad sliko, a pod gumbom 'X' */
}

/* Pozicija gumba "Naslednja" */
.lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Pozicija gumba "Prejšnja" */
.lightbox-prev {
  left: 0;
}

/* Efekt ob premiku miške */
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Skrij gumba, ko nista relevantna (to upravlja JS) */
.lightbox-prev[style*="display: none"],
.lightbox-next[style*="display: none"] {
	display: none !important;
}

#site-footer {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.55;
    margin-top: 1.5rem;
}


/* Popravek prekrivanja logotipa — odzivna nastavitev headerja */
@media screen and (max-width: 1600px) {
  #header {
    padding-top: 120px !important;
  }
}

@media screen and (max-width: 1400px) {
  #header {
    padding-top: 130px !important;
  }
}

@media screen and (max-width: 1200px) {
  #header {
    padding-top: 140px !important;
  }
}

@media screen and (max-width: 1000px) {
  #header {
    padding-top: 150px !important;
  }
}

@media screen and (max-width: 800px) {
  #header {
    padding-top: 160px !important;
  }
}

@media screen and (max-width: 600px) {
  #header {
    padding-top: 170px !important;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding-top: 180px !important;
  }
}

/* Na manjših zaslonih naj se logo premika skupaj s stranjo,
   da ga zgornja črta ne “preseka” pri scrollu */
@media screen and (max-width: 736px) {
  body.home:not(.is-article-visible):not(.is-preload) #site-logo {
    position: absolute;   /* namesto fixed */
    top: 40px;            /* po potrebi 10–16px, da lepo sede */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }

  body.home:not(.is-article-visible):not(.is-preload) #site-logo img {
    width: 120px;         /* malo manjši logo na telefonu */
  }
}

@media screen and (max-width: 1400px) and (min-width: 737px) {
  body.home:not(.is-article-visible):not(.is-preload) #site-logo {
    top: 40px;
  }
}


#Cenik .cert-gallery {
    justify-content: flex-start !important;
}


/* ============================
   CENIK – SAMOSTOJNA GALERIJA
   ============================ */
#Cenik .cenik-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: flex-start; /* levo poravnano */
	margin-bottom: 2.5rem;
}

#Cenik .cenik-gallery a {
	display: block;
	width: 100%;
	max-width: 300px;    /* enaka širina kot certifikati */
	aspect-ratio: 4/3;   /* enak okvir */
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: transform 0.2s ease;
}

#Cenik .cenik-gallery a:hover {
	transform: scale(1.02);
}

#Cenik .cenik-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* enako kot pri certifikatih */
}


/* Darilni bon – obvestilo pod cenikom */
.gift-voucher-note {
    margin-top: 1.5rem;
    padding: 0.5rem 0;   /* manjši padding, ker ni ozadja */
    text-align: left;
}

.gift-voucher-note h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #111 !important;
}

.gift-voucher-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #111 !important;
}


/* ======================
   Kontakt – statusno obvestilo (popup)
   ====================== */
.form-status {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-status.hidden {
    display: none;
}

.form-status__box {
    background: rgba(247, 250, 237, 0.98); /* nežno, v stilu strani */
    padding: 1.8rem 2rem;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #111;
    position: relative;
    text-align: left;
}

.form-status__box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-status__close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}


/* --- Cookie Bar (Obvestilo o piškotkih) --- */
.cookie-bar {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 700px;
    width: calc(100% - 2rem);
    
    /* SPREMEMBA: Tvoja zelena barva z rahlo prosojnostjo (0.9) */
    background: rgba(1, 50, 0, 0.9);
    
    /* Zameglitev ozadja */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    
    /* Manjša pisava */
    font-size: 0.75rem;          
}

.cookie-bar p {
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* --- Gumb "Razumem" --- */
.cookie-btn {
    appearance: none;
    height: auto !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal;
    
    /* Gumb ostaja svetlo zelen, kar paše na temno zeleno ozadje */
    background: #d8e6c7;
    color: #1b1b1b;
    border: none;
    
    /* Manjša pisava in gumb */
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;      
    
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #e5f0d7;
    transform: translateY(-1px);
}

/* --- Prilagoditev za telefone --- */
@media screen and (max-width: 480px) {
    .cookie-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        bottom: 0;
        border-radius: 12px 12px 0 0;
        width: 100%;
        max-width: 100%;
        padding-bottom: 1.5rem;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.6rem;
    }
}


/* ==================================================
   MOBILNA OPTIMIZACIJA — večje besedilo + FAQ NASLOVI
   ================================================== */
@media screen and (max-width: 736px) {

    /* Glavno besedilo (p + li) */
    #main article p,
    #main article li,
    #main article .accordion-panel p {
        font-size: 1.05rem !important;
        line-height: 1.6;
    }

    /* FAQ NASLOVI — povečano, a ne pretirano */
    #bioresonanca .accordion-trigger {
        font-size: 1.1rem !important; /* prej 1em */
        padding: 0.75em 0 !important;
        letter-spacing: 0.4px;
    }

    /* FAQ VSEBINA (odgovori) */
    #bioresonanca .accordion-panel p,
    #bioresonanca .accordion-panel li {
        font-size: 1rem !important;
        line-height: 1.55;
    }

    /* CENIK – poveča samo besedilo (naslovi ostanejo nespremenjeni) */
    #Cenik .price-value,
    #Cenik .price-desc {
        font-size: 1.05rem !important;
        line-height: 1.55;
    }

    /* Oznake v obrazcih */
    label {
        font-size: 0.9rem !important;
    }
}

/* Zelo ozki telefoni */
@media screen and (max-width: 360px) {
    #main article p,
    #main article li {
        font-size: 1rem !important;
    }

    #bioresonanca .accordion-trigger {
        font-size: 1.1rem !important;
    }
}

/* ============================================
   CENIK – končni, očiščeni popravki
   ============================================ */

/* Manjši razmik med naslovom storitve in ceno */
#Cenik .price-title {
    margin-bottom: 0.15rem !important;
}

/* Cena – odebeljena, manj gor, več dol */
#Cenik .price-value {
    font-weight: 700 !important;
    margin-top: 0.05rem !important;   /* še manjši razmik od naslova */
    margin-bottom: 1rem !important;   /* večji razmik do opisa */
    display: block;
}

/* Opis – bolj oddaljen od cene */
#Cenik .price-desc {
    margin-top: 1rem !important;
    line-height: 1.6;
}

/* "min" – vedno z malimi črkami in odebeljeno */
#Cenik .price-lower {
    text-transform: none !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}


/* Skrito za uporabnike, vidno za Google (SEO) */
.seo-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}


/* ============================================================
   MOBILNA PRILAGODITEV VELIKOSTI SLIK – Bioresonanca & Moja zgodba
   ============================================================ */

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

    /* Slika v BIORESONANCI */
    #bioresonanca .image.main img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 12px;
    }

    /* Slika v MOJA ZGODBA */
    #moja_zgodba .about-photo img {
        width: 60% !important;
        max-width: 60% !important;
        margin: 0 0 1.5rem 0 !important; /* levo poravnano */
        display: block !important;
    }
}


/* ===============================================
   LIGHTBOX – fullscreen prikaz slike ob kliku
   =============================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: zoom-out;
}

.lightbox-overlay img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}


/* ============================================================
   POPRAVEK KLIKABILNEGA OBMOČJA (Lightbox Fix)
   ============================================================ */

/* 1. Osnovni stil za povezavo (kazalec) */
a.lightbox-single {
    display: block;          /* Povezava se obnaša kot blok */
    cursor: zoom-in;         /* Ikona povečevalnega stekla */
    position: relative;
}

/* 2. POPRAVEK ZA BIORESONANCO (prenos širine 50% na povezavo) */
.image.main a.lightbox-single {
    width: 50%;              /* Povezava prevzame širino slike */
    max-width: 900px;        /* Ohrani max širino */
    margin: 2.5rem 0;        /* Ohrani odmike */
}

.image.main a.lightbox-single img {
    width: 100% !important;  /* Slika zapolni povezavo */
    margin: 0 !important;    /* Odstrani stare odmike slike */
}

/* 3. POPRAVEK ZA MOJA ZGODBA (prenos širine 20% na povezavo) */
#moja_zgodba .about-photo a.lightbox-single {
    width: 20%;              /* Povezava prevzame širino slike */
    max-width: 800px;
    margin: 0 0 1.5em 0;
    display: block;
}

#moja_zgodba .about-photo a.lightbox-single img {
    width: 100% !important;  /* Slika zapolni povezavo */
    margin: 0 !important;
}

/* Hover efekt ostane */
a.lightbox-single:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* MOBILNA PRILAGODITEV (da na telefonu ni preozko) */
@media screen and (max-width: 736px) {
    .image.main a.lightbox-single {
        width: 100%;         /* Na telefonu čez celo */
        margin: 2rem 0;
    }
    
    #moja_zgodba .about-photo a.lightbox-single {
        width: 60%;          /* Na telefonu malo širše */
    }
}


/* ========================================================
   PRILAGODITEV GLAVNEGA NASLOVA (H1) ZA TELEFONE
   ======================================================== */

@media screen and (max-width: 736px) {
    #header h1 {
        /* Uporabimo "clamp": 
           - najmanj 1.5rem (da ni nikoli prešibko),
           - idealno 9vw (9% širine zaslona - se prilagaja),
           - največ 2.5rem (da na večjih telefonih ni preveliko). */
        font-size: clamp(1.5rem, 9vw, 2.5rem) !important;
        
        /* Zmanjšamo razmik med črkami, da gre več besedila v vrstico */
        letter-spacing: 0.1rem !important;
        
        /* Malo zmanjšamo višino vrstice, če se naslov prelomi v dve vrstici */
        line-height: 1.2 !important;
        
        /* Zagotovimo, da besedilo ne gre čez rob */
        width: 100%;
        padding: 0 10px; /* Varnostni rob */
        word-wrap: break-word;
    }
}