/*
Theme Name: All the feels
Theme URI: https://allthefeels.hr
Author: All the feels
Description: Landing tema za Wedding & Event Content Creatora – naslovna, portfolio, paketi, kalkulator putnih troškova, suradnja, o nama, FAQ, blog i obrazac za upit s preusmjeravanjem na WhatsApp.
Version: 1.4.0
Requires at least: 6.0
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: allthefeels
*/

/* ---------- Tokeni ---------- */
:root {
	--cream: #f6f0e7;
	--paper: #fbf8f3;
	--sand: #e2d2b7;
	--line: #ddd1bf;
	--ink: #2b2621;
	--muted: #6e655b;
	--olive: #5b5e3b;
	--olive-dark: #4a4d30;
	--gold: #b08d62;
	--white: #ffffff;

	--serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

	--wrap: 1180px;
	--radius: 14px;
	--radius-sm: 10px;
	--section: clamp(4.5rem, 9vw, 7.5rem);
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.section { padding-block: var(--section); position: relative; }
.kicker {
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: .9rem;
}
.h-display {
	font-family: var(--serif);
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -.005em;
	color: var(--ink);
}
.h-smaller { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head { text-align: center; margin-bottom: 1.4rem; }
.section-lead { max-width: 62ch; margin: 0 auto 3rem; text-align: center; color: var(--muted); }

/* Naslov s linijama lijevo i desno od nadnaslova (kao na predlošku) */
.section-head.with-rules .kicker {
	display: flex; align-items: center; gap: 1.25rem; justify-content: center;
}
.section-head.with-rules .kicker::before,
.section-head.with-rules .kicker::after {
	content: ""; flex: 1; height: 1px; background: var(--line);
}

/* ---------- Gumbi ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font-family: var(--sans); font-size: .95rem; font-weight: 500;
	padding: .85rem 1.6rem; border-radius: 999px;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-pill { background: var(--paper); color: var(--ink); padding: .6rem 1.15rem; font-size: .85rem; }
.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive:hover { background: var(--olive-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-wide { width: 100%; padding-block: 1rem; }

/* ---------- Zaglavlje ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	color: var(--white);
	transition: background-color .3s, color .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 84px; }
.brand { position: relative; display: block; width: 132px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.brand .brand-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.brand .brand-light { transition: opacity .3s; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav-list a { text-decoration: none; font-size: .92rem; letter-spacing: .01em; opacity: .92; }
.nav-list a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; opacity: 1; }
.nav-list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

.site-header.is-solid,
.atf-inner .site-header {
	background: rgba(246, 240, 231, .96);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--line);
	backdrop-filter: blur(8px);
}
.site-header.is-solid .brand-dark,
.atf-inner .site-header .brand-dark { opacity: 1; }
.site-header.is-solid .brand-light,
.atf-inner .site-header .brand-light { opacity: 0; }
.site-header.is-solid .header-cta,
.atf-inner .site-header .header-cta { background: var(--olive); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: min(100svh, 860px);
	display: flex; align-items: center;
	color: var(--white);
	background:
		linear-gradient(90deg, rgba(30, 22, 16, .62) 0%, rgba(30, 22, 16, .34) 42%, rgba(30, 22, 16, .05) 70%),
		linear-gradient(0deg, rgba(30, 22, 16, .35), rgba(30, 22, 16, 0) 35%),
		var(--hero-img) center / cover no-repeat;
	padding-block: 120px 80px;
}
.hero-inner { position: relative; }
.hero-title {
	font-family: var(--serif);
	font-size: clamp(2.5rem, 5.2vw, 4.4rem);
	line-height: 1.06;
	letter-spacing: -.01em;
	margin-bottom: 1.4rem;
}
.hero-title span { display: block; }
@media (min-width: 861px) { .hero-title span { white-space: nowrap; } }
.hero-text { max-width: 40ch; font-size: 1.08rem; font-weight: 300; opacity: .95; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.play-link { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-size: .98rem; color: var(--white); }
.play-dot {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .8);
	display: grid; place-items: center;
}
.play-dot svg { width: 16px; height: 16px; margin-left: 2px; }
.play-link:hover .play-dot { background: rgba(255, 255, 255, .15); }
.scroll-hint {
	position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
	width: 22px; height: 36px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 12px;
}
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--white); border-radius: 2px; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-copy .h-display { margin-bottom: 1.6rem; max-width: 17ch; }
.intro-copy p { max-width: 46ch; }
.short-rule { width: 110px; border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0 1.4rem; }
.intro-end { font-weight: 500; }
.intro-media { position: relative; }
.media-frame { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.play-big {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 68px; height: 68px; border-radius: 50%;
	background: rgba(255, 255, 255, .92); color: var(--ink);
	display: grid; place-items: center;
	box-shadow: 0 6px 24px rgba(40, 28, 18, .18);
	transition: transform .25s;
}
.play-big svg { width: 24px; height: 24px; margin-left: 3px; }
.video-trigger:hover .play-big { transform: translate(-50%, -50%) scale(1.06); }
.leaf { color: #8f8a72; position: absolute; pointer-events: none; }
.leaf-intro { width: 110px; right: -70px; bottom: -40px; transform: rotate(18deg); }

/* ---------- Portfolio ---------- */
.portfolio { padding-top: 0; }
.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.reel {
	position: relative; display: block; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 5; text-decoration: none; color: var(--white);
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 10, .55), rgba(20, 14, 10, 0) 45%); }
.reel:hover img { transform: scale(1.03); }
.play-small { width: 46px; height: 46px; background: rgba(255, 255, 255, .22); color: var(--white); border: 1px solid rgba(255, 255, 255, .7); box-shadow: none; z-index: 1; }
.play-small svg { width: 16px; height: 16px; }
.reel-label { position: absolute; left: 0; right: 0; bottom: 1.1rem; text-align: center; z-index: 1; font-size: .95rem; letter-spacing: .02em; }

/* ---------- Paketi ---------- */
.packages { overflow: hidden; padding-top: calc(var(--section) * .6); }
.leaf-left { width: 120px; left: max(1rem, calc(50% - 720px)); top: 38%; transform: rotate(-12deg); }
.leaf-right { width: 120px; right: max(1rem, calc(50% - 720px)); top: 16%; transform: scaleX(-1) rotate(-10deg); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; max-width: 1040px; margin-inline: auto; }
.price-card {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2.2rem 1.8rem 1.8rem;
	text-align: center;
	display: flex; flex-direction: column;
	box-shadow: 0 10px 30px -18px rgba(70, 52, 30, .25);
}
.price-card.is-featured { border-color: #b9ad97; background: #fdfbf7; }
.badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--olive); color: var(--white);
	font-size: .75rem; padding: .25rem .9rem; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; }
.price-sub { color: var(--muted); font-size: .92rem; margin: .1rem 0 .8rem; }
.price-amount { font-family: var(--sans); font-size: 2.1rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 1rem; }
.checks { list-style: none; padding: 1rem 0 0; margin: 0 auto 1rem; border-top: 1px solid var(--line); text-align: left; display: inline-block; font-size: .93rem; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.checks li::before {
	content: ""; position: absolute; left: 0; top: .42em;
	width: 13px; height: 13px; border: 1px solid var(--olive); border-radius: 50%;
	background: radial-gradient(circle, var(--olive) 0 2.5px, transparent 3px);
}
.price-more { text-align: left; margin-bottom: 1.4rem; font-size: .9rem; }
.price-more summary { cursor: pointer; text-align: center; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.price-more summary::-webkit-details-marker { display: none; }
.price-more[open] summary { margin-bottom: .8rem; }
.price-for { font-style: italic; font-family: var(--serif); color: var(--ink); }
.checks-full { display: block; border-top: 0; padding-top: 0; }
.price-scope { color: var(--muted); font-size: .86rem; }
.price-card .btn { margin-top: auto; align-self: center; min-width: 190px; padding-block: .7rem; }

.custom-pkg {
	max-width: 1040px; margin: 2rem auto 0;
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	padding: 1.6rem 2rem; border: 1px dashed #c6b89f; border-radius: var(--radius);
}
.custom-pkg h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .3rem; }
.custom-pkg p { margin: 0; color: var(--muted); max-width: 60ch; }
.custom-pkg .btn { flex-shrink: 0; }

.terms { max-width: 1040px; margin: 4rem auto 0; }
.terms-title { font-family: var(--serif); font-size: 1.6rem; text-align: center; margin-bottom: 1.8rem; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2.4rem; margin: 0; }
.terms-grid dt { font-weight: 500; margin-bottom: .3rem; }
.terms-grid dd { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Putni troškovi ---------- */
.travel {
	max-width: 1040px; margin: 2rem auto 0;
	display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.2rem 3rem; align-items: center;
	padding: 1.8rem 2rem;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.travel-copy h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .3rem; }
.travel-copy p { margin: 0; color: var(--muted); font-size: .95rem; }
.travel-form label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; }
.travel-row { display: flex; gap: .6rem; }
.travel-row input {
	flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid var(--line); border-radius: 999px;
	padding: .75rem 1.1rem; min-height: 48px;
}
.travel-row input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(91, 94, 59, .15); }
.travel-row .btn { flex-shrink: 0; padding-inline: 1.5rem; }
.travel-row .btn[disabled] { opacity: .7; cursor: progress; }
.travel-result, .travel-error { grid-column: 1 / -1; }
.travel-result { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.travel-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1rem; }
.travel-figures dt { font-size: .82rem; color: var(--muted); }
.travel-figures dd { margin: .15rem 0 0; font-size: 1.5rem; font-weight: 500; }
.travel-figures .is-total dd { color: var(--olive); }
.travel-place, .travel-note { font-size: .85rem; color: var(--muted); margin: 0 0 .3rem; }
.travel-place span { color: var(--ink); }
.travel-note span { color: var(--olive-dark); font-weight: 500; }
.travel-error { white-space: pre-line; overflow-wrap: anywhere; margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #f4e1d9; color: #7a3b25; font-size: .92rem; }

/* ---------- Suradnja ---------- */
.process { background: var(--paper); border-block: 1px solid var(--line); }
.process .h-display { max-width: 28ch; margin-inline: auto; }
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 3rem; counter-reset: none; }
.step { position: relative; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.step-no { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); display: block; margin-bottom: .7rem; }
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.08rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.process-note { max-width: 66ch; margin: 3.2rem auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.6; }

/* ---------- O nama ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-copy .h-display { margin-bottom: 1.4rem; }
.about-copy p { max-width: 58ch; }
.about-quote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; border-left: 2px solid var(--sand); padding-left: 1.1rem; margin-top: 1.6rem; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 4rem 0 0; }
.diff-grid > div { padding: 1.6rem; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.diff-grid dt { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .4rem; }
.diff-grid dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-wrap { max-width: 860px; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2rem 0 2.2rem; }
.faq-tab {
	font: inherit; font-size: .9rem; cursor: pointer;
	padding: .5rem 1.1rem; border-radius: 999px;
	border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.faq-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 1.15rem 2.5rem 1.15rem 0;
	font-family: var(--serif); font-size: 1.15rem; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
	content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg);
	transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { color: var(--muted); padding-bottom: 1.2rem; max-width: 70ch; margin: 0; }

/* ---------- Kontakt ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy { position: relative; }
.contact-copy .h-display { margin-bottom: 1.2rem; max-width: 16ch; }
.contact-copy p { color: var(--muted); max-width: 42ch; }
.contact-alt a { color: var(--ink); }
.leaf-contact { width: 90px; left: 0; bottom: -230px; transform: rotate(-8deg); opacity: .8; }
.inquiry { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; flex: 1; }
.field-row { display: flex; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: .75rem .9rem; width: 100%; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(91, 94, 59, .15); }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.5; margin: .2rem 0 1.2rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .1rem 0 0; flex-shrink: 0; accent-color: var(--olive); }
.consent a, .form-note a, .travel-privacy a { color: var(--olive-dark); }
.travel-privacy { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--muted); }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.form-msg { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .95rem; }
.form-msg.ok { background: #e8eadb; color: var(--olive-dark); }
.form-msg.err { background: #f4e1d9; color: #7a3b25; }

/* ---------- Završni poziv ---------- */
.cta {
	position: relative; color: var(--white); text-align: center;
	padding-block: clamp(5rem, 10vw, 8rem);
	background: linear-gradient(rgba(25, 18, 13, .55), rgba(25, 18, 13, .55)), var(--cta-img) center / cover no-repeat;
}
.cta-title { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin-bottom: 1rem; }
.cta-title span { display: block; }
.cta p { max-width: 52ch; margin: 0 auto 2rem; opacity: .92; font-weight: 300; }

/* ---------- Podnožje ---------- */
.site-footer { background: #241f1b; color: #d9cfc1; padding-block: 3.5rem 2.5rem; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-brand img { width: 150px; opacity: .92; }
.footer-brand p { margin: .6rem 0 0; font-family: var(--serif); font-style: italic; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-column: 1 / -1; margin-top: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .8rem; }
.footer-copy { margin: 0; opacity: .7; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-legal a { text-decoration: none; opacity: .85; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Blog ---------- */
.blog-main { padding-top: 84px; }
.blog-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.blog-hero .h-display { max-width: 20ch; margin-inline: auto; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.blog-lead { max-width: 58ch; margin: 1.2rem auto 0; color: var(--muted); }
.leaf-blog-l { width: 110px; left: max(1rem, calc(50% - 640px)); top: 22%; transform: rotate(-14deg); }
.leaf-blog-r { width: 110px; right: max(1rem, calc(50% - 640px)); top: 30%; transform: scaleX(-1) rotate(-8deg); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.chip { font-size: .9rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.post-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-cat { color: var(--olive); text-decoration: none; }

.post-featured {
	display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	margin-bottom: 3rem; box-shadow: 0 10px 30px -18px rgba(70, 52, 30, .25);
}
.post-featured-media { display: block; position: relative; min-height: 380px; }
.post-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.post-featured-body > p:not(.post-meta) { color: var(--muted); }
.post-featured-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; margin-bottom: .9rem; }
.post-featured-title a, .post-card-title a { text-decoration: none; }
.post-featured-title a:hover, .post-card-title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.post-featured .btn { margin-top: .6rem; }
.badge-inline { background: var(--olive); color: var(--white); font-size: .75rem; padding: .25rem .9rem; border-radius: 999px; margin-bottom: 1rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 10 / 7; margin-bottom: 1.1rem; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; margin-bottom: .6rem; }
.post-card-excerpt { color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }
.post-read { font-size: .82rem; color: var(--muted); margin: auto 0 0; }

.pagination { margin: 3.5rem 0 var(--section); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 .9rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; }
.post-grid:last-child, .post-featured:last-child { margin-bottom: var(--section); }
.blog-empty { text-align: center; padding: 3rem 1.5rem var(--section); color: var(--muted); }
.blog-empty .btn { margin-top: .6rem; }

/* Pojedinačna objava */
.single-main { padding-top: 84px; }
.single-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; text-align: center; }
.single-head .post-meta { justify-content: center; }
.back-link { display: inline-block; font-size: .88rem; color: var(--muted); text-decoration: none; margin-bottom: 1.6rem; }
.back-link:hover { color: var(--ink); }
.single-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.single-lead { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); margin: 1.2rem auto 0; max-width: 52ch; }
.single-cover { margin-block: 0 clamp(2.5rem, 5vw, 4rem); }
.single-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }

.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content > * { margin-block: 0 1.3em; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); line-height: 1.25; margin-top: 2em; }
.entry-content h2 { font-size: 1.9rem; }
.entry-content h3 { font-size: 1.45rem; }
.entry-content a { color: var(--olive); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin-inline: 0; padding: .3rem 0 .3rem 1.4rem; border-left: 2px solid var(--sand); font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.55; }
.entry-content blockquote p { margin: 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.entry-content .alignwide { width: min(100vw - 2.5rem, 1100px); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull img { border-radius: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.entry-content .wp-block-button__link { background: var(--olive); color: var(--white); border-radius: 999px; padding: .8rem 1.6rem; text-decoration: none; }

.single-foot { padding-bottom: var(--section); }
.tag-list { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list a { font-size: .85rem; color: var(--muted); text-decoration: none; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; }
.share { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.share span { color: var(--muted); }
.share a { color: var(--ink); text-underline-offset: 4px; }
.related { background: var(--paper); border-top: 1px solid var(--line); }
.related .post-grid { margin-bottom: 0; }

/* 404 */
.nf { text-align: center; min-height: 70vh; }
.nf p:not(.kicker) { color: var(--muted); margin-top: 1rem; }
.nf-actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }

/* ---------- Video lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 15, 11, .88); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox-inner { position: relative; width: min(100%, 960px); }
.lightbox-media video, .lightbox-media iframe { width: 100%; max-height: 82vh; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); background: #000; display: block; }
.lightbox-media video.is-vertical { aspect-ratio: 9 / 16; width: auto; margin-inline: auto; }
.lightbox-close { position: absolute; top: -2.8rem; right: 0; background: none; border: 0; color: var(--white); font-size: 2.2rem; line-height: 1; cursor: pointer; }

/* ---------- Unutarnje stranice ---------- */
.page-main { padding-block: 140px var(--section); }
.entry { margin-bottom: 3rem; }
.entry-title { margin-bottom: 1.5rem; }
.entry-title a { text-decoration: none; }
.entry-content a { color: var(--olive); }

/* ---------- Responzivnost ---------- */
@media (max-width: 1080px) {
	.nav-list { gap: 1.3rem; }
	.header-cta { display: none; }
	.reel-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.terms-grid { grid-template-columns: repeat(2, 1fr); }
	.leaf-left, .leaf-right, .leaf-blog-l, .leaf-blog-r { display: none; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.header-inner { height: 70px; }
	.brand { width: 92px; }
	.nav-toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
		margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit;
	}
	.nav-toggle .bar { display: block; width: 24px; height: 1.5px; background: currentColor; margin-inline: auto; transition: transform .25s; }
	.nav-open .nav-toggle .bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
	.nav-open .nav-toggle .bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
	.main-nav {
		position: fixed; inset: 70px 0 auto; background: var(--cream); color: var(--ink);
		padding: 1.5rem 1.25rem 2rem; border-bottom: 1px solid var(--line);
		display: none;
	}
	.nav-open .main-nav { display: block; }
	.nav-open .site-header { background: var(--cream); color: var(--ink); }
	.nav-open .site-header .brand-dark { opacity: 1; }
	.nav-open .site-header .brand-light { opacity: 0; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: .8rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
	.nav-cta-mobile { display: flex; margin-top: 1.4rem; background: var(--olive); color: var(--white); }

	.hero { min-height: 92svh; padding-block: 110px 70px; background-position: 65% center; }
	.intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
	.leaf-intro { display: none; }
	.price-grid { grid-template-columns: 1fr; max-width: 460px; gap: 2rem; }
	.custom-pkg { flex-direction: column; align-items: flex-start; }
	.travel { grid-template-columns: 1fr; padding: 1.5rem; }
	.post-featured { grid-template-columns: 1fr; }
	.post-featured-media { min-height: 0; aspect-ratio: 16 / 10; }
	.post-featured-media img { position: static; }
	.blog-main, .single-main { padding-top: 70px; }
	.diff-grid { grid-template-columns: 1fr; }
	.about-media { max-width: 460px; }
	.leaf-contact { display: none; }
}

@media (max-width: 560px) {
	body { font-size: 1rem; }
	.reel-grid { gap: .8rem; }
	.steps, .terms-grid { grid-template-columns: 1fr; }
	.field-row { flex-direction: column; gap: 0; }
	.travel-row { flex-direction: column; }
	.post-grid { grid-template-columns: 1fr; }
	.travel-figures { grid-template-columns: 1fr; gap: .6rem; }
	.travel-figures > div { display: flex; justify-content: space-between; align-items: baseline; }
	.travel-figures dd { font-size: 1.2rem; }
	.hero-actions .btn { width: 100%; }
	.footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
