/* ========== General ========== */
body {
	font-family: "Open Sans", sans-serif;
	color: #444444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Roboto", sans-serif;
}

/* ========== Preloader ========== */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	overflow: hidden;
	background: #5e5b5d;
}

#preloader:before {
	content: "";
	position: fixed;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	border: 6px solid #950518;
	border-top-color: #251e21;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
	0% {
		transform: rotate(0)
	}

	100% {
		transform: rotate(360deg)
	}
}

/* ========== Back to top button ========== */
.back-to-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	z-index: 996;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background: #950419;
	transition: all .4s;
	visibility: hidden;
	opacity: 0;
}

.back-to-top i {
	font-size: 28px;
	color: #fff;
	line-height: 0;
}

.back-to-top:hover {
	background: #950019;
	color: #fff;
}

.back-to-top.active {
	visibility: visible;
	opacity: 1;
}

/* Disable AOS delay on mobile */
@media (max-width: 768px) {
	[data-aos-delay] {
		transition-delay: 0 !important;
	}
}

/* ========== Sections ========== */
section {
	padding: 60px 0;
	overflow: hidden;
}

.section-bg {
	background-color: #f6f9fe;
}

.section-title {
	text-align: center;
	padding-bottom: 30px;
}

.section-title h2 {
	font-size: 23px;
	font-weight: 700;
	margin: 0;
	color: #dc3545;
	display: inline-flex;
	align-items: center;
	text-transform: capitalize;
}

.section-title-icon {
	width: auto;
	height: 32px;
}

.section-title p {
	margin: 15px auto 0;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.section-title p {
		width: 50%;
	}
}

/* ========== Top Bar ========== */
#topbar {
	background: #202c45;
	height: 40px;
	font-size: 14px;
	color: #fff;
	padding: 0;
	transition: all .5s;
}

#topbar .contact-info i {
	font-style: normal;
	color: #fff;
}

#topbar .contact-info i a {
	color: #fff;
	padding-left: 5px;
}

#topbar .social-links a {
	color: #fff;
	font-size: 16px;
	display: inline-block;
	line-height: 1;
	margin-left: 20px;
	transition: .3s;
}

#topbar .social-links a:hover {
	color: rgba(255, 255, 255, .7);
}

@media (min-width: 768px) {

	#topbar .social-links,
	#topbar .contact-info {
		display: flex !important;
	}
}

@media (max-width: 767px) {
	#topbar .contact-info {
		display: none !important;
	}

	#topbar .social-links {
		width: 100%;
		justify-content: center;
		display: flex !important;
	}

	#topbar .container {
		justify-content: center !important;
	}
}

/* ========== Header ========== */
#header {
	background: #fff;
	box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
	padding: 15px 0;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 997;
}

#header.fixed-top {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	transition: padding .3s, background-color .3s, box-shadow .3s;
}

#header.scrolled {
	background: #fff;
	box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
}

.logo-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.logo-wrapper .main-logo {
	max-height: 60px;
	width: 140px;
}

.logo-wrapper .powered-by img {
	max-height: 30px;
	opacity: .8;
	margin-top: 5px;
}

/* ========== Navigation (no dropdowns) ========== */
.navbar {
	padding: 0;
	background: transparent;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-grow: 1;
}

.navbar ul {
	margin: 0;
	padding: 0;
	display: flex;
	list-style: none;
	align-items: center;
}

.navbar li {
	position: relative;
}

.navbar>ul>li {
	white-space: nowrap;
	padding: 0 10px;
}

.navbar a {
	color: #1f3061;
	font-size: 16px;
	font-weight: 600;
	padding: 8px 15px;
	text-decoration: none;
	border-radius: 0;
	transition: color .3s;
	position: relative;
}

.navbar .active {
	color: #dc3545;
}

.navbar .active::after,
.navbar a:hover::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 100%;
	height: 2px;
	background: #dc3545;
}

.navbar a:hover {
	color: #dc3545;
}

.mobile-nav-toggle {
	color: #1f3061;
	font-size: 28px;
	cursor: pointer;
	display: none;
	line-height: 0;
	transition: .5s;
}

.mobile-nav-toggle.scrolled,
.mobile-nav-toggle.bi-x {
	color: #1f3061;
}

@media (max-width: 991px) {
	.mobile-nav-toggle {
		display: block;
	}

	.navbar ul {
		display: none;
	}

	.navbar-mobile a {
		text-decoration: none;
	}
}

.navbar-mobile {
	position: fixed;
	overflow: hidden;
	background: rgba(255, 255, 255, .9);
	transition: .3s;
	z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
	position: absolute;
	top: 15px;
	right: 15px;
}

.navbar-mobile ul {
	display: block;
	position: absolute;
	top: 55px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	padding: 10px 0;
	background: #fff;
	overflow-y: auto;
	transition: .3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
	padding: 10px 20px;
	font-size: 15px;
	color: #222;
}

.navbar-mobile>ul>li {
	padding: 0;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
	color: #dc3545;
}

/* ========== Catalog grid (current proizvodi layout) ========== */
.catalog-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
}

.catalog-card {
	grid-column: span 12;
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	overflow: hidden;
}

.catalog-card .catalog-media img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}

.catalog-card .catalog-body {
	padding: 20px;
}

.catalog-card h3 {
	margin-bottom: 10px;
	font-weight: 700;
}

.catalog-card p { 
	margin-bottom: 16px;
	color: #555;
}

@media (min-width: 992px) {
	.catalog-card {
		grid-template-columns: 5fr 7fr;
	}
}

/* Buttons to match theme */
.btn.btn-danger {
	background-color: #d9232d;
	border-color: #d9232d;
}

.btn.btn-outline-danger {
	color: #d9232d;
	border-color: #d9232d;
}

.btn.btn-outline-danger:hover {
	background: #d9232d;
	border-color: #d9232d;
	color: #fff;
}

/* ========== Footer ========== */
.footer {
	background: #1a1a1a;
	color: #ccc;
	font-size: 15px;
}

.footer .footer-top-bar {
	background: #111;
	color: #eee;
	font-size: 14px;
}

.footer .footer-top-bar .footer-contact-info-top i {
	color: #d9232d;
	margin-right: 5px;
}

.footer .footer-social-links-top a {
	display: inline-block;
	background: #333;
	color: #eee;
	line-height: 1;
	padding: 8px 0;
	margin-left: 4px;
	border-radius: 50%;
	text-align: center;
	width: 36px;
	height: 36px;
	transition: .3s;
	font-size: 18px;
	text-decoration: none;
}

.footer .footer-social-links-top a:hover {
	background: #d9232d;
	color: #fff;
}

.footer .footer-info h3 {
	font-size: 28px;
	margin: 0 0 10px;
	padding: 2px 0;
	line-height: 1;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

.footer .footer-info .description {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.footer .footer-info p {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0;
	color: #ccc;
}

.footer h4 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 20px;
}

.footer h4::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background: #d9232d;
}

.footer .footer-links ul {
	padding: 0;
	list-style: none;
}

.footer .footer-links ul li {
	padding: 10px 0;
	display: flex;
	align-items: center;
}

.footer .footer-links ul li:first-child {
	padding-top: 0;
}

.footer .footer-links ul li a {
	color: #ccc;
	text-decoration: none;
	transition: .3s;
	display: inline-block;
	line-height: 1;
}

.footer .footer-links ul li a:hover {
	color: #d9232d;
	padding-left: 8px;
}

.footer .footer-links ul i {
	font-size: 12px;
	line-height: 0;
	margin-right: 10px;
	color: #d9232d;
}

.footer .footer-newsletter p {
	font-size: 14px;
	color: #ccc;
	margin-bottom: 20px;
}

.footer .footer-newsletter form.newsletter-form {
	margin-top: 30px;
	background: #fff;
	padding: 6px 10px;
	position: relative;
	border-radius: 50px;
	display: flex;
	transition: all .5s ease-in-out;
}

.footer .footer-newsletter form.newsletter-form.hidden {
	opacity: 0;
	transform: translateY(-20px);
	height: 0;
	padding: 0;
	margin-top: 0;
	overflow: hidden;
	visibility: hidden;
}

.footer .footer-newsletter form.newsletter-form input[type="email"] {
	border: 0;
	padding: 4px 8px;
	flex-grow: 1;
	background: #fff;
	color: #333;
	outline: none;
}

.footer .footer-newsletter form.newsletter-form .submit-btn {
	border: 0;
	background: #d9232d;
	color: #fff;
	font-size: 16px;
	padding: 8px 20px;
	transition: .3s;
	border-radius: 50px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
	cursor: pointer;
	margin-left: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
}

.footer .footer-newsletter form.newsletter-form .submit-btn:hover {
	background: #ac1b24;
}

.footer .footer-newsletter form.newsletter-form .submit-btn.loading {
	background: #ac1b24;
	cursor: default;
}

.footer .footer-newsletter .newsletter-success {
	opacity: 0;
	transform: translateY(20px);
	transition: all .5s ease-in-out;
	visibility: hidden;
	color: #fff;
	text-align: center;
	margin-top: 20px;
}

.footer .footer-newsletter .newsletter-success.visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.footer .footer-bottom {
	border-top: 1px solid #333;
	font-size: 14px;
}

.footer .footer-bottom a {
	color: #ef232d;
	text-decoration: none;
}

.footer .footer-bottom a:hover {
	text-decoration: underline;
}