html {
	scroll-behavior: smooth;
}

.products-section {
	padding: 80px 20px;
	background: linear-gradient(135deg, #fdfcfa, #f4f1ee);
	text-align: center;
}

.products-title {
	font-size: 38px;
	font-weight: 700;
	color: #4b2e1d;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.products-line {
	width: 80px;
	height: 4px;
	margin: 0 auto 40px;
	background: linear-gradient(to right, #4b2e1d, #a0794c);
	border-radius: 3px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* GRID */

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

/* KARTICE */

.product-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	backdrop-filter: blur(3px);
	cursor: pointer;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

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

.product-card h3 {
	font-size: 22px;
	margin: 18px 0 8px;
	color: #4b2e1d;
	transition: color 0.3s ease;
}

.product-card h3:hover {
	color: #a0794c;
}

.product-card p {
	font-size: 15px;
	color: #666;
	padding: 0 20px 20px;
}

/* Dugme */

.product-btn {
	display: inline-block;
	padding: 10px 24px;
	background: linear-gradient(45deg, #4b2e1d, #a0794c);
	color: #fff;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 20px;
	transition: 0.4s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-btn:hover {
	background: linear-gradient(45deg, #7a5130, #d9b480);
	transform: scale(1.05);
}

/* Telefoni vrlo mali (do 375px) */
@media (max-width: 375px) {
	.products-section {
		padding: 30px 10px;
	}
	.products-title {
		font-size: 20px;
	}
	.products-line {
		width: 50px;
		margin-bottom: 20px;
	}
	.products-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.product-card img {
		height: 120px;
	}
	.product-card h3 {
		font-size: 14px;
		margin: 10px 0 5px;
	}
	.product-card p {
		font-size: 12px;
		padding: 0 8px 10px;
	}
	.product-btn {
		padding: 5px 14px;
		font-size: 12px;
	}
}

/* Telefoni standardni (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
	.products-section {
		padding: 35px 12px;
	}
	.products-title {
		font-size: 22px;
	}
	.products-line {
		width: 60px;
		margin-bottom: 22px;
	}
	.products-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.product-card img {
		height: 130px;
	}
	.product-card h3 {
		font-size: 15px;
		margin: 12px 0 6px;
	}
	.product-card p {
		font-size: 12.5px;
		padding: 0 10px 12px;
	}
	.product-btn {
		padding: 6px 16px;
		font-size: 13px;
	}
}

/* Telefoni veći (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
	.products-section {
		padding: 40px 15px;
	}
	.products-title {
		font-size: 24px;
	}
	.products-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.product-card img {
		height: 140px;
	}
	.product-card h3 {
		font-size: 16px;
	}
	.product-card p {
		font-size: 13px;
		padding: 0 12px 12px;
	}
	.product-btn {
		padding: 7px 18px;
		font-size: 13px;
	}
}

/* Tableti (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
	.products-section {
		padding: 50px 20px;
	}
	.products-title {
		font-size: 26px;
	}
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
	.product-card img {
		height: 150px;
	}
	.product-card h3 {
		font-size: 17px;
	}
	.product-card p {
		font-size: 13.5px;
		padding: 0 14px 14px;
	}
	.product-btn {
		padding: 7px 20px;
		font-size: 14px;
	}
}

/* Desktop (992px i više) */
@media (min-width: 993px) {
	.products-section {
		padding: 60px 20px;
	}
	.products-title {
		font-size: 30px;
	}
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	.product-card img {
		height: 160px;
	}
	.product-card h3 {
		font-size: 18px;
	}
	.product-card p {
		font-size: 14px;
		padding: 0 14px 14px;
	}
	.product-btn {
		padding: 7px 18px;
		font-size: 14px;
	}
}
