/*
 * Global theme styles.
 *
 * Keep broad, site-wide overrides here. The legacy theme base styles still
 * live in /style.css because WordPress uses that file for theme metadata.
 */

:root {
	/* Promoted from Figma frame "ORGANIZACIJA I REALIZACIJA TRANSPORTA". */
	--color-ink: #0a0a0a;
	--color-text-muted: #565656;
	--color-bg-muted: #f0f0f0;
	--color-brand-red: #bb2548;
	--radius-sm: 4px;
	--radius-md: 10px;
	/*
	 * Typography roles. Noto Sans (Google Fonts) drives headings/labels/nav/
	 * buttons; Myriad Pro (Adobe Fonts) drives body copy. Both fonts ship the
	 * Serbian glyphs (Š Č Ć Ž Đ); Noto Sans also backs the body chain so those
	 * glyphs never fall to a generic default if Myriad fails to load.
	 */
	--font-heading: "Noto Sans", sans-serif;
	--font-body: "myriad-pro", "Noto Sans", sans-serif;
	--font-nav: "Noto Sans", sans-serif;
}

body,
p,
li,
span,
input,
textarea,
select,
button {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
	font-family: var(--font-heading);
	font-weight: 700;
}

a {
	font-size: 13px;
	letter-spacing: 0;
}

a:visited {
	color: inherit;
}

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 24px 42px;
	border-radius: 4px;
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.cta:visited,
.cta:hover,
.cta:focus {
	color: #fff;
	text-decoration: none;
}

.cta > span {
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}

.cta--red {
	background: #bb2548;
}

.cta--red:hover,
.cta--red:focus {
	background: #a91f3f;
}

.cta--dark {
	background: #111820;
}

.cta--dark:hover,
.cta--dark:focus {
	background: #1e2a38;
}

.cta--light {
	background: #fff;
	color: #111820;
	transition: background-color 180ms ease, color 180ms ease;
}

.cta--light:visited {
	background: #fff;
	color: #111820;
}

.cta--light:hover,
.cta--light:focus {
	background: #111820;
	color: #fff;
}

.cta__icon {
	position: relative;
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.cta__icon::before,
.cta__icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	background: currentColor;
	content: "";
	transform: translate(-50%, -50%);
}

.cta__icon::before {
	width: 16px;
	height: 2px;
}

.cta__icon::after {
	width: 2px;
	height: 16px;
}

.cta__icon--download {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.cta__icon--download::before,
.cta__icon--download::after {
	content: none;
}

.cta__icon--download svg {
	display: block;
	width: 100%;
	height: 100%;
}

/*
 * "Zašto odabrati nas" — typography promoted from Figma frame HP_1920px.
 * Default values target ≥992px; per-breakpoint overrides live in the
 * media queries below.
 */
.home-why__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 36px;
	line-height: 50px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.home-why__description {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 29px;
}

.home-why__stat-number {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 50px;
	line-height: 55px;
	letter-spacing: -1px;
}

.home-why__stat-label {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: -0.5px;
	text-transform: uppercase;
}

/* Mobile */
@media screen and (min-width: 375px) and (max-width: 599px) {
	body,
	p,
	li,
	span,
	input,
	textarea,
	select,
	button {
		line-height: 24px;
	}

	h1 {
		font-size: 26px;
		line-height: 38px;
		letter-spacing: 0;
	}

	h2 {
		font-size: 18px;
		line-height: 30px;
		letter-spacing: 0;
	}

	h3 {
		font-size: 15px;
		line-height: 24px;
		letter-spacing: 0;
	}

	h4 {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0;
	}

	.home-why__title {
		font-size: 22px;
		line-height: 28px;
		letter-spacing: 1px;
	}

	.home-why__description {
		font-size: 16px;
		line-height: 26px;
	}
}

/* Small tablets and large phones */
@media screen and (min-width: 600px) and (max-width: 991px) {
	h1 {
		font-size: 30px;
		line-height: 40px;
		letter-spacing: 0;
	}

	h2 {
		font-size: 18px;
		line-height: 32px;
		letter-spacing: 0;
	}

	h3 {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0;
	}

	h4 {
		font-size: 13px;
		line-height: 21.6px;
		letter-spacing: 0;
	}

	.home-why__title {
		font-size: 24px;
		line-height: 30px;
		letter-spacing: 1.5px;
	}
}

/* Tablets to desktop */
@media screen and (min-width: 992px) and (max-width: 1499px) {
	h1 {
		font-size: 50px;
		line-height: 70px;
		letter-spacing: 0;
	}

	h2 {
		font-size: 22px;
		line-height: 32px;
		letter-spacing: 0;
	}

	h3 {
		font-size: 15px;
		line-height: 24px;
		letter-spacing: 0;
	}
}

/* Large desktop */
@media screen and (min-width: 1500px) {
	h1 {
		font-size: 50px;
		line-height: 70px;
		letter-spacing: 0;
	}

	h2 {
		font-size: 36px;
		line-height: 50px;
		letter-spacing: 0;
	}

	h3 {
		font-size: 28px;
		line-height: 32px;
		letter-spacing: 0;
	}

	a {
		font-size: 15px;
	}
}
