/*
Theme Name: Nataša Đurica
Theme URI: https://natasa.avi.rs/
Author: AVI Solutions
Author URI: https://avi.rs/
Description: Prezentacioni sajt za psihologa i psihoterapeuta Natašu Đuricu. Pri aktivaciji automatski kreira stranice Početna, O meni, Galerija i Kontakt, uvozi fotografije u Media Library i postavlja meni. Kontakt forma sa zaštitom od spama i arhivom poruka.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: natasa-djurica
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #f6f1e9;
	--paper: #fffdf9;
	--ink: #2a2622;
	--muted: #6b635b;
	--line: #e4dbcd;
	--sage: #3f5e4e;
	--sage-dark: #2f4a3c;
	--sage-soft: #e3eae2;
	--clay: #b65c3a;
	--clay-soft: #f3e2d8;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 18px 50px -24px rgba(42, 38, 34, .35);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }

.screen-reader-text, .form__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.small { font-size: .88rem; }
.muted { color: var(--muted); }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .95em 1.6em;
	background: var(--sage); color: #fff;
	border: 1.5px solid var(--sage);
	border-radius: 999px;
	font: 600 .97rem/1 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; transform: translateY(-1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: #fff; }
.btn--small { padding: .7em 1.2em; font-size: .9rem; }
.btn--light { background: #fff; color: var(--sage-dark); border-color: #fff; }
.btn--light:hover { background: var(--clay-soft); border-color: var(--clay-soft); color: var(--sage-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-weight: 600; text-decoration: none; color: var(--sage);
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.eyebrow {
	font: 600 .78rem/1.4 var(--sans);
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--clay); margin-bottom: 1rem;
}
.eyebrow--light { color: #f0c3ad; }
.label { font-weight: 600; color: var(--clay); font-size: .9rem; margin-bottom: .4rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 241, 233, .88);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { max-height: 56px; width: auto; }
.brand__mark {
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--sage); color: #fff;
	font: 500 1rem/1 var(--serif); letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 500 1.22rem/1.15 var(--serif); }
.brand__tag { font-size: .76rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav__list a {
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
	padding: 6px 0; position: relative;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
	background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { transform: scaleX(1); }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent;
	cursor: pointer; padding: 10px; position: relative;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; border-radius: 2px; }
.nav-open .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 78px 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper);
		padding: 12px var(--gutter) 24px;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .nav { top: 124px; }
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.nav__list a::after { display: none; }
	.nav__cta { margin-top: 18px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { margin-bottom: .45em; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; }
.hero__media { position: relative; }
.hero__frame {
	border-radius: 220px 220px var(--radius) var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	aspect-ratio: 5 / 4.4;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__badge {
	position: absolute; left: -22px; bottom: 28px;
	display: flex; align-items: center; gap: 12px;
	background: var(--paper); border-radius: 14px; padding: 14px 18px;
	box-shadow: var(--shadow); max-width: 250px;
}
.hero__badge strong { font: 500 2.2rem/1 var(--serif); color: var(--clay); }
.hero__badge span { font-size: .84rem; line-height: 1.35; color: var(--muted); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { order: -1; }
	.hero__frame { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius) var(--radius); }
	.hero__badge { left: 12px; bottom: -18px; }
	.hero__text { padding-top: 12px; }
}

/* ---------- Facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font: 500 1.2rem/1.2 var(--serif); color: var(--sage); }
.fact span { font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) {
	.facts__grid { grid-template-columns: 1fr 1fr; }
	.fact { padding: 20px 14px; }
	.fact:nth-child(odd) { border-left: 0; padding-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--sage-soft); }
.section--flush { padding-top: 0; }
.section--content { padding-top: clamp(40px, 6vw, 72px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
}

.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--clay); margin-top: .3em; }

.note {
	background: var(--clay-soft); border-radius: var(--radius-sm);
	padding: 18px 22px; margin: 0 0 1.6rem;
}
.note strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }
.note p { margin: 0; font-size: .95rem; }
.note--soft { background: var(--sage-soft); margin-top: 28px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	position: relative; background: var(--paper);
	border-radius: var(--radius); padding: 30px 28px 26px;
	border: 1px solid rgba(63, 94, 78, .12);
	transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__num { font: 500 .95rem/1 var(--serif); color: var(--clay); display: block; margin-bottom: 18px; }
.card__tag {
	position: absolute; top: 24px; right: 24px;
	font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	background: var(--sage); color: #fff; padding: 5px 10px; border-radius: 999px;
}
.card h3 { font-size: 1.28rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 24px; }
.steps__n { font: 500 2.6rem/1 var(--serif); color: var(--clay); display: block; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Book */
.book { background: var(--sage-dark); color: #eef1ec; padding: clamp(64px, 9vw, 110px) 0; }
.book__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.book__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.book__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.book h2 { color: #fff; }
.book p { color: rgba(238, 241, 236, .85); }
.book__meta { font-size: .88rem; letter-spacing: .04em; color: rgba(238, 241, 236, .65) !important; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media {
	border-radius: var(--radius) var(--radius) 220px 220px;
	overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4;
	max-width: 440px;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__lead { font: 400 1.25rem/1.55 var(--serif); color: var(--sage); }
@media (max-width: 900px) {
	.about { grid-template-columns: 1fr; }
	.about__media { max-width: 360px; }
}

.stats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats li { background: var(--paper); border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line); }
.stats strong { display: block; font: 500 2rem/1 var(--serif); color: var(--clay); margin-bottom: 6px; }
.stats span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stats li { display: flex; align-items: center; gap: 14px; } .stats strong { margin: 0; min-width: 56px; } }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip__item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; display: block; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.strip__item:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; } }

/* CTA */
.cta { background: var(--clay); color: #fff; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta__inner { max-width: 820px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 2rem; }
.cta .hero__actions { justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-hero h1 { max-width: 16em; }
.page-hero--center { text-align: center; padding-bottom: clamp(64px, 9vw, 120px); }
.page-hero--center h1 { margin-inline: auto; }
.page-hero--about { padding-bottom: 0; }

/* ---------- Entry content (blokovi iz editora) ---------- */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .7em; }
.entry-content ul.wp-block-list { list-style: none; padding-left: 0; }
.entry-content ul.wp-block-list > li { position: relative; padding-left: 1.6em; }
.entry-content ul.wp-block-list > li::before {
	content: ""; position: absolute; left: 0; top: .72em;
	width: 8px; height: 8px; border-radius: 50%; background: var(--clay);
}
.entry-content strong { font-weight: 700; color: var(--ink); }
.entry-content > p:first-child { font-size: 1.12rem; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 3px solid var(--clay); margin: 1.6em 0; padding: .2em 0 .2em 1.2em; font: italic 400 1.2rem/1.6 var(--serif); }
.entry-content .wp-block-image figcaption, .entry-content figcaption { font-size: .85rem; color: var(--muted); }
.entry-content--gallery > p { max-width: 640px; color: var(--muted); }

/* ---------- Gallery ---------- */
.nd-gallery { columns: 3 280px; column-gap: 16px; margin-top: 28px; }
.nd-gallery__item { break-inside: avoid; margin: 0 0 16px; }
.nd-gallery__item a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.nd-gallery__item img { width: 100%; transition: transform .5s; }
.nd-gallery__item a:hover img { transform: scale(1.03); }
.nd-gallery__item figcaption { font-size: .85rem; color: var(--muted); padding: 8px 2px 0; }

/* Blok galerija iz editora */
.entry-content .wp-block-gallery { margin-top: 28px; }
.entry-content .wp-block-gallery img { border-radius: var(--radius-sm); }

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 1000;
	background: rgba(24, 22, 20, .94);
	display: flex; align-items: center; justify-content: center;
	padding: 56px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 6px; }
.lightbox__caption { color: #ddd; font-size: .92rem; margin-top: 14px; text-align: center; }
.lightbox button {
	position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
	width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer;
	display: grid; place-items: center; transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
	.lightbox { padding: 64px 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__form {
	background: var(--paper); border-radius: var(--radius);
	padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
	scroll-margin-top: 110px;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: .3em; color: var(--clay); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--clay); }
.contact-list--big { margin: 28px 0 0; gap: 20px; }
.contact-list--big li > div { display: flex; flex-direction: column; }
.contact-list--big a, .contact-list--big li > div > span:last-child { font: 500 1.2rem/1.4 var(--serif); }
.contact-list__label { font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--sans) !important; }
.contact-list--big .icon { width: 22px; height: 22px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink);
	background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	padding: 12px 14px; transition: border-color .2s, background .2s;
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b635b' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sage); flex-shrink: 0; }
.form .btn { justify-self: start; }

.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 22px; font-weight: 500; }
.alert--ok { background: var(--sage-soft); color: var(--sage-dark); }
.alert--err { background: #f8e1dc; color: #8a2f1c; }

/* ---------- Posts ---------- */
.post-list { display: grid; gap: 36px; }
.post-list__item h2 { font-size: 1.6rem; }
.post-list__item h2 a { color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8bf; padding: clamp(56px, 7vw, 80px) 0 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f0c3ad; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__name { font: 500 1.5rem/1.2 var(--serif); color: #fff; margin-bottom: .6em; }
.site-footer__title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #9b9389; margin-bottom: 1rem; font-weight: 600; }
.site-footer__nav { flex-direction: column; gap: 8px; }
.site-footer__nav a { color: #e8e2da; font-size: .95rem; padding: 0; }
.site-footer__nav a::after { display: none; }
.site-footer__social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 18px; }
.site-footer .contact-list .icon { color: #f0c3ad; }
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding-top: 22px; padding-bottom: 28px;
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: .84rem; color: #9b9389;
}
.site-footer__bottom p { margin: 0; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- WP core ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { /* required by theme check */ }
.lightbox button[hidden] { display: none; }

/* ---------- Društvene mreže ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.social a:hover { transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; margin: 0; }
.social--footer { margin-top: 1.4rem; }
.social--footer a { background: rgba(255,255,255,.08); color: #fff; }
.social--footer a:hover { background: var(--clay); color: #fff; }
.contact__social { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.social--contact a { border: 1.5px solid var(--line); color: var(--sage); background: var(--paper); }
.social--contact a:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
