/* ===== Paleta / osnova (usklađeno sa postojećim stranicama) ===== */
:root {
	--wood: #4b2e1d;
	--accent: #a0794c;
	--rose: #e94e77;
	--text: #333;
	--muted: #555;
	--bg1: #f4f1ee;
	--bg2: #ffffff;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
	background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
	margin: 0;
	padding: 0;
	color: var(--text);
	overflow-x: hidden;
	padding-top: 120px; /* ako je header fiksan */
}

/* ===== Container / Naslovi ===== */
.container {
	width: 90%;
	margin: auto;
	padding: 60px 0;
	margin-top: 120px;
	animation: fadeIn 0.8s ease;
}
h1 {
	text-align: center;
	font-size: 3em;
	margin: 0 0 20px;
	color: var(--wood);
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	animation: slideDown 1s ease;
}
.karakteristike {
	text-align: center;
	font-size: 1.1em;
	margin: 0 auto 46px;
	max-width: 900px;
	color: #555;
}
.section-title {
	text-align: center;
	font-size: 30px;
	color: var(--wood);
	margin: 40px 0 26px;
	position: relative;
}
.section-title::after {
	content: "";
	width: 80px;
	height: 4px;
	background: var(--accent);
	display: block;
	margin: 14px auto 0;
	border-radius: 2px;
}

/* ===== Grid kartica ===== */
.kartice,
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
}
.kartica,
.product-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	cursor: pointer;
	position: relative;
	padding-bottom: 16px;
}
.kartica::before,
.product-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.12) 0%,
		transparent 70%
	);
	transform: rotate(30deg);
	transition: transform 0.7s ease;
}
.kartica:hover::before,
.product-card:hover::before {
	transform: rotate(390deg);
}
.kartica:hover,
.product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.zoom-container,
.image-wrapper {
	position: relative;
	cursor: zoom-in;
	overflow: hidden;
}
.kartica img,
.product-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}
.kartica:hover img,
.product-card:hover img {
	transform: scale(1.06);
}

.zoom-icon {
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-size: 20px;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	padding: 6px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.zoom-container:hover .zoom-icon,
.image-wrapper:hover .zoom-icon {
	opacity: 1;
	transform: scale(1);
}

.kartica h3,
.product-card h3 {
	font-size: 1.2em;
	padding: 16px 10px 6px;
	color: var(--wood);
	margin: 0;
}
.kartica p,
.product-card p {
	font-size: 1em;
	padding: 0 16px 10px;
	color: #555;
	margin: 0;
}
.price {
	color: var(--rose);
	font-weight: 700;
}

/* ===== Info sekcije (3 bloka) ===== */
.info-sekcije {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	padding: 10px 0 38px;
}
.kolona {
	background: #fff;
	padding: 24px;
	border-radius: 16px;
	width: 320px;
	max-width: 100%;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kolona:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}
.kolona h3 {
	color: var(--wood);
	margin: 0 0 12px;
	font-size: 1.25em;
}
.kolona ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.kolona li {
	color: #555;
	font-size: 16px;
	margin: 10px 0;
	padding-left: 24px;
	position: relative;
}
.kolona li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: var(--wood);
	font-weight: 700;
}

/* ===== Proširene sekcije ===== */
.laminat-section {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	padding: 34px 26px;
	max-width: 1000px;
	margin: 34px auto;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.laminat-section:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.laminat-section h2 {
	color: var(--wood);
	font-size: 26px;
	text-align: center;
	margin: 0 0 12px;
	position: relative;
}
.laminat-section h2::after {
	content: "";
	width: 60px;
	height: 4px;
	background: var(--accent);
	display: block;
	margin: 10px auto 0;
	border-radius: 2px;
}
.laminat-section p {
	color: #555;
	font-size: 16px;
	line-height: 1.7;
	text-align: justify;
	margin: 0;
}

/* ===== FAQ ===== */
.faq-section {
	max-width: 1000px;
	margin: 40px auto 0;
	padding: 24px 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	text-align: left;
}
.faq-section h2 {
	text-align: center;
	color: var(--wood);
	font-size: 26px;
	margin: 0 0 10px;
}
.faq-section details {
	border: 1px solid #eee2d7;
	border-radius: 12px;
	padding: 12px 14px;
	margin: 12px 0;
	background: #fff;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.faq-section details:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.faq-section details[open] {
	background: #fdfaf7;
	border-color: #e8d7c4;
}
.faq-section summary {
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	color: var(--wood);
	display: flex;
	align-items: center;
	gap: 10px;
	outline: none;
}
.faq-section summary::-webkit-details-marker {
	display: none;
}
.faq-section summary::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: var(--wood);
	color: #fff;
	font-weight: 700;
	flex: 0 0 22px;
	transform: translateY(-1px);
}
.faq-section details[open] summary::before {
	content: "–";
}
.faq-section details p {
	margin: 8px 2px 2px 32px;
	color: #555;
	line-height: 1.7;
}

/* ===== CTA / kontakt ===== */
.contact-info {
	text-align: center;
	margin: 34px 0 0;
	font-size: 16px;
	color: #0a0a0a;
	font-weight: 700;
}
.contact-info a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 700;
	transition: color 0.2s ease, transform 0.2s;
}
.contact-info a:hover {
	color: #7a5130;
	transform: translateY(-1px);
}

/* ===== Lightbox ===== */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
}
.lightbox img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}
.close-btn {
	position: absolute;
	top: 22px;
	right: 28px;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s, color 0.2s;
}
.close-btn:hover {
	transform: scale(1.1);
	color: var(--rose);
}

/* ===== Animacije ===== */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-40px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes kFadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes kZoomIn {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
@keyframes headlineReveal {
	0% {
		letter-spacing: 0.8px;
		opacity: 0;
		transform: translateY(12px);
	}
	100% {
		letter-spacing: 0;
		opacity: 1;
		transform: none;
	}
}
.anim-fade-up {
	opacity: 0;
	transform: translateY(24px);
}
.anim-zoom-in {
	opacity: 0;
	transform: scale(0.96);
}
.headline-reveal {
	opacity: 0;
}
.in-view.anim-fade-up {
	animation: kFadeUp 0.6s ease forwards;
	animation-delay: var(--delay, 0s);
}
.in-view.anim-zoom-in {
	animation: kZoomIn 0.55s ease forwards;
	animation-delay: var(--delay, 0s);
}
.in-view.headline-reveal {
	animation: headlineReveal 0.7s ease forwards;
	animation-delay: var(--delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}

/* ===== Responsive ===== */
@media (min-width: 1200px) {
	.container {
		width: 85%;
		padding: 50px 0;
	}
	.kartice,
	.product-grid {
		gap: 25px;
	}
	.kartica img,
	.product-card img {
		height: 220px;
	}
}
@media (min-width: 769px) and (max-width: 1199px) {
	.container {
		width: 90%;
		padding: 40px 0;
	}
	.kartice,
	.product-grid {
		gap: 20px;
	}
	.kartica img,
	.product-card img {
		height: 200px;
	}
}
@media (max-width: 768px) {
	.container {
		width: 100%;
		padding: 20px;
	}
	h1 {
		font-size: 2em;
	}
	.kartice,
	.product-grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.kartica img,
	.product-card img {
		height: 160px;
	}
	.kartica h3,
	.product-card h3 {
		font-size: 1em;
	}
	.kartica p,
	.product-card p {
		font-size: 0.95em;
	}
	.info-sekcije {
		gap: 18px;
	}
	.kolona {
		width: 100%;
	}
}
@media (max-width: 480px) {
	h1 {
		font-size: 1.7em;
	}
	.kartice,
	.product-grid {
		grid-template-columns: 1fr;
	}
	.kartica img,
	.product-card img {
		height: 140px;
	}
	.kartica h3 {
		font-size: 0.95em;
	}
	.kartica p {
		font-size: 0.87em;
	}
}
