:root {
	--primary: #880815;
	--secondary: #A69A5E;
	--bg: #F7F3EA;
	--paper: #FFFEFB;
	--text: #1c1a16;
	--muted: rgba(28, 26, 22, 0.72);
	--border: rgba(60, 50, 40, 0.16);
	--shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
	--radius: 16px;
	--container: 1100px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background:
		radial-gradient(900px 500px at 10% 0%, rgba(166, 154, 94, 0.24), transparent 55%),
		radial-gradient(900px 520px at 90% 10%, rgba(136, 8, 21, 0.10), transparent 58%),
		linear-gradient(180deg, rgba(166, 154, 94, 0.10), rgba(247, 243, 234, 0) 42%),
		var(--bg);
	color: var(--text);
	line-height: 1.55;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.home-container {
	width: min(var(--container), calc(100% - 2rem));
	margin: 0 auto;
}

.home-skip {
	position: absolute;
	left: -9999px;
	top: 10px;
	background: var(--paper);
	color: var(--text);
	padding: 10px 14px;
	border-radius: 10px;
	z-index: 9999;
}
.home-skip:focus {
	left: 1rem;
}

.home-header {
	z-index: 50;
	backdrop-filter: blur(10px);
	background: linear-gradient(to bottom, rgba(247, 243, 234, 0.92), rgba(247, 243, 234, 0.70));
	border-bottom: 1px solid var(--border);
}

.home-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 0;
	gap: 1rem;
}

.home-brand img {
	width: 110px;
	height: auto;
}

.home-main {
	padding-bottom: 2.5rem;
}

.home-stickyPhone {
	position: sticky;
	top: 0;
	z-index: 1000;
	/* Ne pravimo top-bar: overlay preko headera */
	height: 0;
}
.home-stickyPhone__inner {
	display: flex;
	justify-content: flex-end;
	/* Match header row vertical rhythm */
	padding: 0.9rem 0;
	pointer-events: none;
}
.home-stickyPhone__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--paper);
	border: 1px solid var(--border);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
	pointer-events: auto;
}
.home-header__phoneIcon {
	color: var(--primary);
	display: block;
}
.home-stickyPhone__btn:hover,
.home-stickyPhone__btn:focus {
	outline: none;
	border-color: rgba(136, 8, 21, 0.35);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.home-intro {
	padding: 2.2rem 0 1.2rem;
}

.home-h1 {
	margin: 0;
	font-size: clamp(2rem, 4.2vw, 3rem);
	letter-spacing: -0.02em;
}

.home-lead {
	margin: 0.75rem 0 0;
	color: var(--muted);
	max-width: 70ch;
	font-size: 1.08rem;
}

.home-h2 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.home-features {
	padding: 1.2rem 0 0.6rem;
}

.feature-row {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 1.2rem;
	align-items: center;
	margin-bottom: 40px;
}
.feature-row:last-child {
	margin-bottom: 0;
}
.feature-row--reverse {
	grid-template-columns: 0.9fr 1.1fr;
}
.feature-row--reverse .feature-text {
	order: 2;
}
.feature-row--reverse .feature-media {
	order: 1;
}

.feature-text {
	background: var(--paper);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.1rem 1.1rem;
	box-shadow: var(--shadow);
}
.feature-text p {
	margin: 0 0 0.75rem;
	color: var(--muted);
}
.feature-text p:last-child {
	margin-bottom: 0;
}

.feature-media img {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.home-prose {
	padding: 1.1rem 0 0.6rem;
}
.home-prose p {
	margin: 0 0 0.85rem;
	color: var(--muted);
	max-width: 85ch;
}
.home-prose p:last-child {
	margin-bottom: 0;
}

.home-gallerySection {
	padding: 1.8rem 0 0.8rem;
}

.home-gallery {
	margin-top: 0.9rem;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.85rem;
}

.home-gallery__link {
	display: block;
}

.home-gallery__item {
	margin: 0;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	overflow: hidden;
	background: var(--paper);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.home-gallery__item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 220ms ease;
}
.home-gallery__item:hover img {
	transform: scale(1.03);
}

/* Lightbox */
.home-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.home-lightbox.is-open {
	display: block;
}
.home-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.68);
}
.home-lightbox__dialog {
	position: relative;
	height: 100%;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.home-lightbox__figure {
	margin: 0;
	max-width: min(980px, 94vw);
	max-height: 88vh;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}
.home-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	width: auto;
	height: auto;
}
.home-lightbox__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.home-lightbox__btn:hover,
.home-lightbox__btn:focus {
	background: rgba(0, 0, 0, 0.52);
	outline: none;
}
.home-lightbox__btn--prev {
	left: 16px;
}
.home-lightbox__btn--next {
	right: 16px;
}
.home-lightbox__btn--close {
	top: 18px;
	right: 18px;
	transform: none;
}

.home-h2 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.home-footer {
	margin-top: 2.2rem;
	padding: 1.8rem 0 2.2rem;
	border-top: 1px solid rgba(60, 50, 40, 0.14);
	background: rgba(255, 255, 255, 0.45);
}

.home-footer__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.5rem;
}

.home-footer__brand {
	font-size: 1.05rem;
	font-weight: 900;
}

.home-footer__contact {
	background: var(--paper);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.95rem 1rem;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.home-footer__row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 0.6rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(60, 50, 40, 0.10);
}
.home-footer__row:last-child {
	border-bottom: none;
}
.home-footer__k {
	font-weight: 900;
	color: rgba(28, 26, 22, 0.80);
}
.home-footer__v {
	color: rgba(28, 26, 22, 0.92);
}
.home-footer__v a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-color: rgba(166, 154, 94, 0.95);
	text-underline-offset: 3px;
	font-weight: 800;
}

.home-footer__map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
	background: var(--paper);
}

.home-footer__map--standalone {
	margin-bottom: 1rem;
}

.home-footer__mapFrame {
	width: 100%;
	height: 340px;
	border: 0;
	display: block;
}

.home-footer__meta {
	grid-column: 1 / -1;
	color: var(--muted);
	font-size: 0.95rem;
}

@media (max-width: 980px) {
	.feature-row,
	.feature-row--reverse {
		grid-template-columns: 1fr;
	}
	.home-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	.home-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.home-header__inner {
		padding: 0.75rem 0;
	}
	.home-brand img {
		width: 92px;
	}
	.home-gallery {
		grid-template-columns: 1fr;
	}
	.home-footer__row {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}
	.home-footer__mapFrame {
		height: 280px;
	}
}

