/* Footer sajta (footer.php). Pozadina i raspored preneti iz Simple Custom CSS-a i osveženi. */

#wrapper-footer {
	padding: 0;
	background: linear-gradient(95.38deg, #223e54 16.51%, #3097e2 90.56%);
	color: rgba(240, 244, 247, 0.85);
}

/* Izohipse preko gradijenta. */
#wrapper-footer > div {
	background-image:
		url("https://estadventure.com/wp-content/uploads/2023/04/footer-pozadina-1.png"),
		url("https://estadventure.com/wp-content/uploads/2023/04/footer-pozadina-2.png");
	background-size: 50% auto;
	background-position: left, right;
	background-repeat: no-repeat, repeat-y;
}

.est-footer {
	max-width: 1240px;
	margin: 0 auto;
	padding: 4rem 1rem 0;
	font-family: "Raleway Medium", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.est-footer__kolone {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.6fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.est-footer__naslov {
	margin: 0 0 1.1rem;
	color: #f0f4f7;
	font-family: "Kanit ExtraBold", Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.est-footer a,
.est-footer a:visited {
	color: rgba(240, 244, 247, 0.85);
	text-decoration: none;
}

.est-footer a:hover,
.est-footer a:focus {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* O nama, logo i mreže. */
.est-footer__logo {
	display: inline-block;
	margin-bottom: 1rem;
}

.est-footer__logo-slika {
	display: block;
	width: auto;
	max-width: 190px;
	height: auto;
	max-height: 64px;
}

.est-footer__logo-tekst {
	color: #fff;
	font-family: "Kanit ExtraBold", Arial, Helvetica, sans-serif;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.est-footer__opis {
	max-width: 280px;
	margin: 0 0 1.25rem;
}

.est-footer__mreze {
	display: flex;
	gap: 0.75rem;
}

.est-footer__mreze a,
.est-footer__mreze a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(240, 244, 247, 0.45);
	border-radius: 50%;
	color: #f0f4f7;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.est-footer__mreze a:hover,
.est-footer__mreze a:focus {
	background: #3097e2;
	border-color: #3097e2;
	color: #fff;
	text-decoration: none;
}

/* Liste linkova. */
.est-footer__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.est-footer__lista li {
	margin: 0 0 0.6rem;
	padding: 0;
}

.est-footer__sve a {
	color: #fff;
	font-weight: 600;
}

/* Kontakt. */
.est-footer__kontakt {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
	font-style: normal;
}

.est-footer__kontakt a,
.est-footer__kontakt a:visited {
	color: #fff;
}

/* Newsletter. */
.est-footer__tekst {
	margin: 0 0 1rem;
}

.est-footer__forma {
	display: flex;
	position: relative;
	max-width: 360px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.est-footer__forma input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 3rem;
	padding: 0 0 0 1.25rem;
	border: 0;
	border-radius: 999px 0 0 999px;
	background: transparent;
	color: #223e54;
	font-family: "Raleway Medium", Arial, Helvetica, sans-serif;
	font-size: 1rem;
}

.est-footer__forma input[type="email"]::placeholder {
	color: #8a9bab;
}

.est-footer__forma input[type="email"]:focus {
	outline: 2px solid #3097e2;
	outline-offset: -2px;
}

.est-footer__forma button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background: #3097e2;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.est-footer__forma button:hover,
.est-footer__forma button:focus {
	background: #223e54;
}

.est-footer__sitno {
	max-width: 360px;
	margin: 0.75rem 0 0;
	font-size: 12px;
	line-height: 1.5;
	opacity: 0.75;
}

/* Donja traka. */
.est-footer__dno {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid rgba(240, 244, 247, 0.2);
	font-size: 13px;
	color: rgba(240, 244, 247, 0.75);
}

.est-footer__dno p {
	margin: 0;
}

/* Tablet: tri kolone, o nama i newsletter preko cele širine. */
@media (max-width: 991.98px) {
	.est-footer__kolone {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.est-footer__kolona--o-nama,
	.est-footer__kolona--novosti {
		grid-column: 1 / -1;
	}

	#wrapper-footer > div {
		background-size: 100% auto;
	}
}

/* Telefon: jedna ispod druge, avanture i agencija u dve kolone. */
@media (max-width: 575.98px) {
	.est-footer {
		padding-top: 3rem;
		font-size: 16px;
	}

	.est-footer__kolone {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1.5rem;
	}

	.est-footer__kolone > :nth-child(4) {
		grid-column: 1 / -1;
	}

	.est-footer__lista li {
		margin-bottom: 0.75rem;
	}

	.est-footer__dno {
		flex-direction: column;
	}
}
