body {
	font-family: "Segoe UI", sans-serif;
	margin: 0;
	padding: 0;
	background: linear-gradient(180deg, #f4f1ee, #faf9f7);
	color: #333;
	overflow-x: hidden;
}

.product-section {
	margin-top: 140px;
	margin-bottom: 60px;
	padding: 40px 20px;
	text-align: center;
	animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-section h1 {
	font-size: 38px;
	color: #4b2e1d;
	margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	letter-spacing: 1px;
	animation: textPop 1s ease;
}

@keyframes textPop {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.subheading {
	font-size: 20px;
	font-style: italic;
	color: #777;
	margin-bottom: 35px;
	animation: fadeIn 2s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
	animation: fadeInUp 1.5s ease;
}

.product-card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	width: 260px;
	padding: 24px;
	text-align: left;
	transition: all 0.5s ease;
	position: relative;
	transform: scale(1);
	overflow: hidden;
}

.product-card:hover {
	transform: scale(1.05) rotate(-0.5deg);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.product-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle at center,
		rgba(255, 255, 255, 0.15),
		transparent 60%
	);
	transform: rotate(45deg);
	opacity: 0;
	transition: opacity 0.5s ease;
}

.product-card:hover::before {
	opacity: 1;
}

.product-card img {
	width: 100%;
	height: 190px;
	border-radius: 10px;
	object-fit: cover;
	cursor: pointer;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card img:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.product-card h2 {
	font-size: 20px;
	color: #4b2e1d;
	margin-top: 15px;
	transition: color 0.3s ease;
}

.product-card p {
	font-size: 14px;
	color: #555;
	margin: 5px 0;
}

.price {
	font-size: 18px;
	font-weight: bold;
	color: #e94e77;
	margin-top: 10px;
	transition: color 0.3s ease;
}

.product-card:hover h2,
.product-card:hover .price {
	color: #c0392b;
}

.disclaimer {
	font-size: 14px;
	color: #999;
	margin-top: 40px;
	animation: fadeIn 2s ease;
}

.contact-info {
	font-size: 16px;
	color: #4b2e1d;
	margin-top: 25px;
}

.contact-info a {
	color: #e94e77;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info a:hover {
	color: #c0392b;
	transform: translateY(-3px);
}

/* Lightbox efekat */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.lightbox img {
	max-width: 92%;
	max-height: 92%;
	border-radius: 12px;
	box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.close-btn {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 34px;
	color: white;
	cursor: pointer;
	transition: transform 0.3s ease;
	z-index: 10000;
}

.close-btn:hover {
	transform: scale(1.2);
	color: #e94e77;
}

.image-wrapper {
	position: relative;
	cursor: zoom-in;
}

.zoom-icon {
	position: absolute;
	bottom: 12px;
	right: 12px;
	font-size: 26px;
	color: white;
	background: rgba(0, 0, 0, 0.6);
	padding: 6px;
	border-radius: 50%;
	opacity: 0;
	transition: 0.4s;
	pointer-events: none;
}

.image-wrapper:hover .zoom-icon {
	opacity: 1;
	transform: scale(1.2);
}

/* Telefoni vrlo mali (do 375px) */
@media (max-width: 375px) {
	.product-section {
		margin-top: 90px;
		padding: 15px;
	}
	.product-section h1 {
		font-size: 22px;
	}
	.subheading {
		font-size: 14px;
	}
	.product-card {
		width: 180px;
		padding: 10px;
	}
	.product-card h2 {
		font-size: 13px;
	}
	.product-card p {
		font-size: 11px;
	}
	.price {
		font-size: 14px;
	}
	.disclaimer {
		font-size: 12px;
	}
	.contact-info {
		font-size: 13px;
	}
	.lightbox img {
		max-width: 75%;
		max-height: 75%;
	}
}

/* Telefoni standardni (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
	.product-section {
		margin-top: 100px;
		padding: 18px;
	}
	.product-section h1 {
		font-size: 24px;
	}
	.subheading {
		font-size: 15px;
	}
	.product-card {
		width: 200px;
		padding: 12px;
	}
	.product-card h2 {
		font-size: 14px;
	}
	.product-card p {
		font-size: 12px;
	}
	.price {
		font-size: 15px;
	}
	.disclaimer {
		font-size: 13px;
	}
	.contact-info {
		font-size: 14px;
	}
	.lightbox img {
		max-width: 80%;
		max-height: 80%;
	}
}

/* Telefoni veći (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
	.product-section {
		margin-top: 110px;
		padding: 20px;
	}
	.product-section h1 {
		font-size: 26px;
	}
	.subheading {
		font-size: 16px;
	}
	.product-card {
		width: 220px;
		padding: 15px;
	}
	.product-card h2 {
		font-size: 16px;
	}
	.product-card p {
		font-size: 12px;
	}
	.price {
		font-size: 15px;
	}
	.disclaimer {
		font-size: 13px;
	}
	.contact-info {
		font-size: 15px;
	}
}

/* Tableti (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.product-section {
		margin-top: 120px;
		padding: 25px;
	}
	.product-section h1 {
		font-size: 30px;
	}
	.subheading {
		font-size: 17px;
	}
	.product-card {
		width: 240px;
		padding: 20px;
	}
	.product-card h2 {
		font-size: 18px;
	}
	.product-card p {
		font-size: 14px;
	}
	.price {
		font-size: 16px;
	}
	.disclaimer {
		font-size: 14px;
	}
	.contact-info {
		font-size: 16px;
	}
}

/* Desktop (1025px i više) */
@media (min-width: 1025px) {
	.product-section {
		margin-top: 140px;
		padding: 20px;
	}
	.product-section h1 {
		font-size: 32px;
	}
	.subheading {
		font-size: 18px;
	}
	.product-card {
		width: 240px;
		padding: 20px;
	}
	.product-card h2 {
		font-size: 18px;
	}
	.product-card p {
		font-size: 14px;
	}
	.price {
		font-size: 16px;
	}
	.disclaimer {
		font-size: 14px;
	}
	.contact-info {
		font-size: 16px;
	}
}
