/**
 * Header and footer styling.
 *
 * Header: transparent over the hero, larger navigation type.
 * Footer: full dark-navy footer with brand, services, links and contact.
 */

/* Header ----------------------------------------------------------------- */

#masthead .elementor-element-06ebfd0 {
	background: transparent !important;
	border-bottom: 0;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

#masthead .elementor-element-b7f9c4c {
	background: #0b1130 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#masthead .hfe-site-logo-img {
	width: 112px;
	max-width: 112px;
	height: auto;
}

#masthead .wpr-nav-menu .wpr-menu-item {
	color: #eef2ff !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

#masthead .wpr-nav-menu .wpr-menu-item:hover,
#masthead .wpr-nav-menu .current-menu-item > .wpr-menu-item,
#masthead .wpr-nav-menu .current_page_item > .wpr-menu-item {
	color: #ffc107 !important;
}

#masthead .wpr-sub-menu {
	overflow: hidden;
	border: 1px solid #e5e9f5;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(11, 17, 48, 0.16);
}

#masthead .wpr-sub-menu .wpr-sub-menu-item {
	color: #111827 !important;
	font-size: 14px;
}

#masthead .wpr-sub-menu .wpr-sub-menu-item:hover {
	background: #1d4ed8 !important;
	color: #fff !important;
}

@media (min-width: 1025px) {
	#masthead .wpr-nav-menu > .menu-item-has-children + .menu-item {
		margin-left: 20px !important;
	}

	#masthead .wpr-nav-menu .menu-item-has-children > .wpr-sub-menu {
		top: 100%;
		margin-top: 0 !important;
	}

	#masthead .wpr-nav-menu .menu-item-has-children:hover > .wpr-sub-menu {
		display: block;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}
}

#masthead .elementor-element-45650ef,
#masthead .elementor-element-50a3085 {
	display: flex;
	align-items: center;
	align-self: center;
	margin: 0 !important;
	transform: translateY(-4px);
}

#masthead .elementor-element-45650ef > .elementor-widget-container,
#masthead .elementor-element-50a3085 > .elementor-widget-container {
	margin: 0 !important;
}

#masthead .elementor-element-45650ef .elementor-button-wrapper,
#masthead .elementor-element-50a3085 .elementor-button-wrapper {
	display: flex;
	align-items: center;
}

#masthead .elementor-element-45650ef .elementor-button,
#masthead .elementor-element-50a3085 .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 20px;
	border-radius: 10px;
	background: #1d4ed8;
	box-shadow: 0 10px 24px rgba(29, 78, 216, 0.3);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#masthead .elementor-element-45650ef .elementor-button:hover,
#masthead .elementor-element-50a3085 .elementor-button:hover {
	background: #1739a8;
	box-shadow: 0 14px 30px rgba(29, 78, 216, 0.4);
	color: #fff;
	transform: translateY(-2px);
}

#masthead .elementor-button-icon i {
	font-size: 13px;
}

#masthead .wpr-mobile-toggle-line {
	background: #fff;
}

#masthead .wpr-mobile-nav-menu {
	overflow: hidden;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 18px 42px rgba(11, 17, 48, 0.22);
}

#masthead .wpr-mobile-nav-menu a {
	color: #111827 !important;
	font-size: 15px;
}

#masthead .wpr-mobile-nav-menu a:hover,
#masthead .wpr-mobile-nav-menu a.wpr-active-menu-item {
	background: #1d4ed8 !important;
	color: #fff !important;
}

/* Footer ----------------------------------------------------------------- */

.wc-site-footer {
	background:
		radial-gradient(circle at 10% 0%, rgba(29, 78, 216, 0.24), transparent 36%),
		#0b1130;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #c7d2ea;
	font-family: "Poppins", sans-serif;
}

.wc-site-footer__main {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
	gap: 48px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px 48px;
}

.wc-site-footer__logo {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 8px 0;
	margin-bottom: 10px;
}

.wc-site-footer__logo img {
	width: 125px;
	max-width: 125px;
	height: auto;
}

.wc-site-footer__brand p {
	max-width: 320px;
	margin: 0 0 22px;
	color: #b9c6e3;
	font-size: 15px;
	line-height: 1.8;
}

.wc-site-footer__socials {
	display: flex;
	gap: 10px;
}

.wc-site-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wc-site-footer__social:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-2px);
}

.wc-site-footer__title {
	margin: 0 0 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wc-site-footer__links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-site-footer__links a {
	color: #b9c6e3;
	font-size: 14.5px;
	line-height: 1.5;
}

.wc-site-footer__links a:hover {
	color: #ffc107;
}

.wc-site-footer__contact {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #b9c6e3;
	font-size: 14.5px;
	line-height: 1.55;
}

.wc-site-footer__contact i {
	flex: 0 0 auto;
	width: 16px;
	margin-top: 3px;
	color: #ffc107;
	text-align: center;
}

.wc-site-footer__contact a {
	color: #fff;
}

.wc-site-footer__contact a:hover {
	color: #ffc107;
}

.wc-site-footer__note {
	margin: 20px 0 0;
	color: #8f9ebd;
	font-size: 13.5px;
	line-height: 1.65;
}

.wc-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	color: #8f9ebd;
	font-size: 13.5px;
}

.wc-site-footer__bottom-links {
	display: flex;
	gap: 20px;
}

.wc-site-footer__bottom a {
	color: #8f9ebd;
}

.wc-site-footer__bottom a:hover {
	color: #fff;
}

@media (max-width: 1024px) {
	.wc-site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px;
	}
}

/* Higher-specificity footer colours so theme/Astra styles cannot override them. */
#colophon.wc-site-footer {
	background:
		radial-gradient(circle at 10% 0%, rgba(29, 78, 216, 0.24), transparent 36%),
		#0b1130 !important;
	color: #c7d2ea !important;
	font-family: "Poppins", sans-serif;
}

#colophon .wc-site-footer__brand p {
	color: #b9c6e3 !important;
}

#colophon .wc-site-footer__title {
	color: #fff !important;
}

#colophon .wc-site-footer__links a {
	color: #b9c6e3 !important;
}

#colophon .wc-site-footer__links a:hover {
	color: #ffc107 !important;
}

#colophon .wc-site-footer__contact li {
	color: #b9c6e3 !important;
}

#colophon .wc-site-footer__contact a {
	color: #fff !important;
}

#colophon .wc-site-footer__contact a:hover {
	color: #ffc107 !important;
}

#colophon .wc-site-footer__note {
	color: #8f9ebd !important;
}

#colophon .wc-site-footer__social {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

#colophon .wc-site-footer__social:hover {
	background: #1d4ed8;
	color: #fff;
}

#colophon .wc-site-footer__bottom {
	border-top-color: rgba(255, 255, 255, 0.1);
}

#colophon .wc-site-footer__bottom-inner {
	color: #8f9ebd !important;
}

#colophon .wc-site-footer__bottom a {
	color: #8f9ebd !important;
}

#colophon .wc-site-footer__bottom a:hover {
	color: #fff !important;
}

@media (max-width: 640px) {
	#masthead .elementor-element-06ebfd0 {
		padding-right: 16px;
		padding-left: 16px;
	}

	.wc-site-footer__main {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 48px 20px 38px;
	}

	.wc-site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px 20px;
	}
}




/* Route-aware active navigation item. */
body[data-wc-route="home"] #masthead .wpr-nav-menu > li:first-child > .wpr-menu-item,
body[data-wc-route="home"] #masthead .wpr-mobile-nav-menu > li:first-child > .wpr-mobile-menu-item,
body[data-wc-route="cjenovnik"] #masthead .wpr-nav-menu a[href$="/cjenovnik"],
body[data-wc-route="cjenovnik"] #masthead .wpr-mobile-nav-menu a[href$="/cjenovnik"],
body[data-wc-route="projekti"] #masthead .wpr-nav-menu a[href$="/projekti"],
body[data-wc-route="projekti"] #masthead .wpr-mobile-nav-menu a[href$="/projekti"],
body[data-wc-route="studije-slucaja"] #masthead .wpr-nav-menu a[href$="/studije-slucaja/"],
body[data-wc-route="studije-slucaja"] #masthead .wpr-mobile-nav-menu a[href$="/studije-slucaja/"],
body[data-wc-route="blogovi"] #masthead .wpr-nav-menu a[href$="/blogovi"],
body[data-wc-route="blogovi"] #masthead .wpr-mobile-nav-menu a[href$="/blogovi"],
body[data-wc-route="usluge"] #masthead .wpr-nav-menu > li.menu-item-has-children > .wpr-menu-item,
body[data-wc-route="usluge"] #masthead .wpr-mobile-nav-menu > li.menu-item-has-children > .wpr-mobile-menu-item {
	color: #ffc107 !important;
}
