body {
	margin: 0;
	padding: 0;
	font-size: 13px;
}

/* FOOTER 2025 */
footer {
	background: linear-gradient(to right, #1d3b29, #2f5a3e);
	padding: 40px 20px;
	color: #fff;
	text-align: center;
	box-shadow: 0px -8px 25px rgba(0, 0, 0, 0.15);
	position: relative;
	z-index: 10;
	overflow: hidden;
}

footer::before {
	content: "";
	position: absolute;
	top: -50px;
	left: -50px;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle at center,
		rgba(255, 255, 255, 0.08),
		transparent 70%
	);
	animation: pulse 10s infinite alternate;
	z-index: -1;
}

@keyframes pulse {
	0% {
		transform: rotate(0deg) scale(1);
	}
	100% {
		transform: rotate(360deg) scale(1.05);
	}
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
	align-items: flex-start;
	animation: fadeInUp 1s ease;
}

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

.footer-section {
	flex: 1;
	min-width: 180px;
	margin-bottom: 15px;
	transition: transform 0.4s ease;
}
.footer-section:hover {
	transform: translateY(-5px);
}

.footer-section h2 {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	margin-bottom: 10px;
	position: relative;
}

.footer-section h2::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: #ffd700;
	border-radius: 3px;
	transition: width 0.3s ease;
}
.footer-section:hover h2::after {
	width: 60px;
}

.footer-section p,
.footer-section ul {
	font-size: 13px;
	color: #f4f4f4;
}

.footer-section a {
	color: #f4f4f4;
	text-decoration: none;
	transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section a:hover {
	color: #0004ff;
	transform: translateX(5px);
}

.footer-bottom {
	margin-top: 30px;
	font-size: 12px;
	color: #f4f4f4;
	animation: fadeIn 2s ease;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.footer-bottom p {
	margin: 0;
}

.social-icon {
	display: inline-block;
	margin-right: 10px;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease, transform 0.3s ease;
	position: relative;
}

.social-icon::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: #0004ff;
	transition: width 0.4s ease;
}

.social-icon:hover::after {
	width: 100%;
}

.social-icon:hover {
	color: #0004ff;
	transform: translateY(-3px);
}

.working-hours p {
	font-size: 13px;
	color: #f4f4f4;
	margin: 4px 0;
}

.products ul {
	list-style: none;
	padding: 0;
}

.products li {
	font-size: 13px;
	color: #f4f4f4;
	margin-bottom: 6px;
	transition: transform 0.3s ease;
}
.products li:hover {
	transform: translateX(5px);
	color: #0004ff;
}

/* Telefoni vrlo mali (do 375px) */
@media (max-width: 375px) {
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
	}
	.footer-section {
		min-width: 100%;
		margin-bottom: 8px;
	}
	.footer-section h2 {
		font-size: 14px;
	}
	.footer-section p,
	.footer-section ul,
	.working-hours p,
	.products li {
		font-size: 11px;
	}
	.footer-bottom {
		font-size: 10px;
		margin-top: 10px;
	}
	.social-icon {
		font-size: 14px;
		margin-right: 6px;
	}
}

/* Telefoni standardni (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
	}
	.footer-section {
		min-width: 100%;
		margin-bottom: 10px;
	}
	.footer-section h2 {
		font-size: 15px;
	}
	.footer-section p,
	.footer-section ul,
	.working-hours p,
	.products li {
		font-size: 12px;
	}
	.footer-bottom {
		font-size: 10.5px;
		margin-top: 12px;
	}
	.social-icon {
		font-size: 15px;
		margin-right: 7px;
	}
}

/* Telefoni veći (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}
	.footer-section {
		min-width: 100%;
		margin-bottom: 12px;
	}
	.footer-section h2 {
		font-size: 16px;
	}
	.footer-section p,
	.footer-section ul,
	.working-hours p,
	.products li {
		font-size: 12px;
	}
	.footer-bottom {
		font-size: 11px;
		margin-top: 15px;
	}
	.social-icon {
		font-size: 16px;
		margin-right: 8px;
	}
}

/* Tableti (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.footer-container {
		flex-wrap: wrap;
		gap: 15px;
	}
	.footer-section {
		min-width: 45%;
		margin-bottom: 15px;
	}
	.footer-section h2 {
		font-size: 17px;
	}
	.footer-section p,
	.footer-section ul,
	.working-hours p,
	.products li {
		font-size: 13px;
	}
	.footer-bottom {
		font-size: 12px;
		margin-top: 18px;
	}
	.social-icon {
		font-size: 17px;
		margin-right: 9px;
	}
}

/* Desktop (1025px i više) */
@media (min-width: 1025px) {
	.footer-container {
		flex-wrap: wrap;
		gap: 20px;
	}
	.footer-section {
		min-width: 180px;
		margin-bottom: 15px;
	}
	.footer-section h2 {
		font-size: 18px;
	}
	.footer-section p,
	.footer-section ul,
	.working-hours p,
	.products li {
		font-size: 13px;
	}
	.footer-bottom {
		font-size: 12px;
		margin-top: 20px;
	}
	.social-icon {
		font-size: 17px;
		margin-right: 10px;
	}
}
