.hero-section {
	text-align: center;
	padding: 80px 20px;
	background: linear-gradient(135deg, #f4f1ee, #ffffff);
	margin-top: 130px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	animation: fadeInDown 1s ease;
}

.hero-section h1 {
	font-size: 52px;
	color: #ff6c43;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-section p {
	font-size: 20px;
	color: #7a6a61;
	margin-top: 15px;
}

.products-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	padding: 60px 20px;
	background: linear-gradient(180deg, #ffffff, #f9f8f7);
	animation: fadeInUp 1s ease;
}

.product-card {
	background: #fff;
	border: none;
	border-radius: 16px;
	padding: 25px;
	text-align: center;
	width: 280px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.product-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 108, 67, 0.1), transparent 70%);
	z-index: 0;
	transition: opacity 0.5s ease;
	opacity: 0;
}

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

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 15px;
	transition: transform 0.3s ease;
}

.product-card:hover img {
	transform: scale(1.05);
}

.product-card h2 {
	font-size: 24px;
	margin: 15px 0 10px;
	color: #5a3e36;
	z-index: 1;
	position: relative;
}

.product-card p {
	font-size: 17px;
	color: #7a6a61;
	z-index: 1;
	position: relative;
}

.product-card .price {
	display: block;
	margin-top: 20px;
	font-size: 20px;
	color: #9c6b30;
	font-weight: bold;
	z-index: 1;
	position: relative;
}

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

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

/* === Globalni Responsive za Hero i Products === */

/* Veoma veliki ekrani 1400px+ */
@media (min-width: 1400px) {
	.hero-section {
		padding: 100px 40px;
		margin-top: 160px;
	}

	.hero-section h1 {
		font-size: 56px;
	}

	.hero-section p {
		font-size: 22px;
	}

	.products-section {
		padding: 60px 40px;
		gap: 50px;
	}

	.product-card {
		width: 280px;
		padding: 30px;
	}

	.product-card img {
		height: 220px;
	}

	.product-card h2 {
		font-size: 26px;
	}

	.product-card p {
		font-size: 20px;
	}

	.product-card .price {
		font-size: 22px;
	}
}

/* Desktop ekrani 1200px – 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
	.hero-section {
		padding: 90px 30px;
		margin-top: 150px;
	}

	.hero-section h1 {
		font-size: 50px;
	}

	.hero-section p {
		font-size: 20px;
	}

	.products-section {
		padding: 50px 30px;
		gap: 40px;
	}

	.product-card {
		width: 260px;
		padding: 25px;
	}

	.product-card img {
		height: 200px;
	}

	.product-card h2 {
		font-size: 24px;
	}

	.product-card p {
		font-size: 18px;
	}

	.product-card .price {
		font-size: 20px;
	}
}

/* Laptop ekrani 992px – 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
	.hero-section {
		padding: 80px 25px;
		margin-top: 130px;
	}

	.hero-section h1 {
		font-size: 42px;
	}

	.hero-section p {
		font-size: 18px;
	}

	.products-section {
		padding: 40px 20px;
		gap: 30px;
	}

	.product-card {
		width: 240px;
		padding: 20px;
	}

	.product-card img {
		height: 190px;
	}

	.product-card h2 {
		font-size: 22px;
	}

	.product-card p {
		font-size: 16px;
	}

	.product-card .price {
		font-size: 18px;
	}
}

/* Tableti veći 768px – 991px */
@media (min-width: 768px) and (max-width: 991px) {
	.hero-section {
		padding: 60px 20px;
		margin-top: 110px;
	}

	.hero-section h1 {
		font-size: 36px;
	}

	.hero-section p {
		font-size: 16px;
	}

	.products-section {
		padding: 30px 15px;
		gap: 25px;
	}

	.product-card {
		width: 46%;
		padding: 18px;
	}

	.product-card img {
		height: 170px;
	}

	.product-card h2 {
		font-size: 20px;
	}

	.product-card p {
		font-size: 15px;
	}

	.product-card .price {
		font-size: 17px;
	}
}

/* Mali tableti i telefoni 500px – 767px */
@media (min-width: 500px) and (max-width: 767px) {
	.hero-section {
		padding: 50px 15px;
		margin-top: 90px;
	}

	.hero-section h1 {
		font-size: 30px;
	}

	.hero-section p {
		font-size: 15px;
	}

	.products-section {
		padding: 25px 10px;
		gap: 20px;
	}

	.product-card {
		width: 90%;
		padding: 15px;
	}

	.product-card img {
		height: 150px;
	}

	.product-card h2 {
		font-size: 18px;
	}

	.product-card p {
		font-size: 14px;
	}

	.product-card .price {
		font-size: 16px;
	}
}

/* Veoma mali ekrani do 499px */
@media (max-width: 499px) {
	.hero-section {
		padding: 40px 10px;
		margin-top: 70px;
	}

	.hero-section h1 {
		font-size: 24px;
	}

	.hero-section p {
		font-size: 14px;
	}

	.products-section {
		padding: 20px 8px;
		gap: 15px;
	}

	.product-card {
		width: 100%;
		padding: 12px;
	}

	.product-card img {
		height: 130px;
	}

	.product-card h2 {
		font-size: 16px;
	}

	.product-card p {
		font-size: 13px;
	}

	.product-card .price {
		font-size: 15px;
	}
}
