/* Bonté Foods — temporary one-pager */

:root {
	--gold: #c49905;
	--yellow: #e8c342;
	--beige: #e4dfd3;
	--brown: #352d27;
	--brown-light: #534538;
	--dark: #2a2a2a;
	--black: #171717;
	--header-height: 144px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Questrial', sans-serif;
	font-size: 18px;
	line-height: 24px;
	color: #393938;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--gold);
	text-decoration: none;
}

img {
	border: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

.inner {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2%;
}

/* Header */
#top {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(204, 193, 178, 0.75);
}

#top .inner {
	height: 100%;
}

#top .logo {
	position: absolute;
	bottom: 30px;
	left: 2%;
	display: flex;
	align-items: center;
	gap: 20px;
}

#top .logo img {
	display: block;
}

#top .tagline {
	position: absolute;
	right: 2%;
	bottom: 30px;
	font-family: 'Courgette', cursive;
	font-size: 25px;
	color: var(--brown-light);
}

#top .social {
	position: absolute;
	top: 20px;
	right: 2%;
	display: flex;
	gap: 10px;
}

#top .social a {
	display: block;
	transition: opacity 0.2s;
}

#top .social a:hover {
	opacity: 0.7;
}

/* Hero slider */
#hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: url('../images/home-header-background.jpg') center / cover no-repeat;
}

.slider {
	max-width: 1500px;
	margin: 0 auto;
	overflow: hidden;
}

.slider-track {
	display: flex;
	list-style: none;
	transition: transform 1s cubic-bezier(1, 0, 0, 1);
}

.slide {
	position: relative;
	flex: 0 0 100%;
}

.slide > img {
	display: block;
	width: 100%;
}

.slide-desc {
	position: absolute;
	bottom: 10%;
	left: 50%;
	margin-left: -500px;
	padding: 20px 40px;
	background: rgba(0, 0, 0, 0.5);
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 18px;
	color: var(--gold);
	text-transform: uppercase;
}

.slide-title {
	margin-bottom: 5px;
	font-family: 'Courgette', cursive;
	font-size: 30px;
	font-weight: 400;
	font-style: italic;
	line-height: 30px;
	text-transform: none;
}

.slide-text a {
	font-size: 14px;
	font-weight: 400;
	color: #ffffff;
}

.slide-text a:hover {
	color: var(--gold);
}

/* Mobile hero replacement */
#header-image {
	display: none;
	width: 100%;
	height: 100px;
	background: url('../images/header-mobile.jpg') center right / cover no-repeat;
}

/* Intro + video */
#content {
	padding: 50px 0;
	background-color: var(--beige);
	font-size: 18px;
	line-height: 24px;
	color: var(--brown);
	text-align: center;
}

#content .inner {
	max-width: 780px;
}

.intro-title {
	padding-bottom: 30px;
	font-family: 'Questrial', sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 34px;
	color: var(--gold);
	text-align: left;
}

.video-link {
	display: inline-block;
	margin-bottom: 40px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.video-link:hover {
	transform: scale(1.02);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.video-link img {
	display: block;
}

#content p {
	text-align: left;
}

/* Brands */
#brands {
	padding: 20px 0 80px;
	background-color: var(--beige);
	text-align: center;
}

#brands .inner {
	padding-top: 50px;
	border-top: 4px double var(--gold);
	max-width: 900px;
}

#brands h2,
#jobs h2 {
	font-family: 'Courgette', cursive;
	font-weight: 400;
	color: var(--brown);
}

#brands h2 {
	padding-bottom: 30px;
	font-size: 36px;
	line-height: 40px;
}

#brands ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px 50px;
	list-style: none;
}

#brands li a {
	display: block;
	transition: transform 0.2s;
}

#brands li a:hover {
	transform: scale(1.06);
}

#brands li img {
	display: block;
	width: 150px;
}

/* Job opportunities */
#jobs {
	padding: 50px 0 60px;
	background-color: var(--yellow);
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	line-height: 22px;
	color: var(--dark);
	text-align: center;
}

#jobs .inner {
	max-width: 520px;
}

#jobs h2 {
	padding: 120px 0 30px;
	background: url('../images/home-icon-job.png') top center / 102px 102px no-repeat;
	font-size: 45px;
	line-height: 50px;
	color: var(--dark);
}

.btn {
	display: inline-block;
	margin-top: 30px;
	padding: 8px 12px;
	border: 2px solid var(--dark);
	font-family: 'Cabin', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--dark);
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus-visible {
	background-color: var(--dark);
	color: var(--yellow);
}

/* Footer */
#footer {
	padding: 40px 0 30px;
	background-color: var(--black);
	font-family: 'Cabin', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 26px;
	color: #ffffff;
	text-align: center;
}

#footer strong {
	text-transform: uppercase;
}

#footer a {
	color: var(--gold);
}

#footer .copyright {
	margin-top: 15px;
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1040px) {
	.slide-desc {
		left: 0;
		margin-left: 0;
	}

	#top .logo {
		bottom: 45px;
	}

	#top .tagline {
		bottom: 15px;
	}
}

@media (max-width: 800px) {
	#top .logo img {
		width: 260px;
	}

	#top .logo .logo-bmc {
		width: 95px;
	}

	.intro-title {
		font-size: 26px;
		line-height: 30px;
	}

	#brands ul {
		display: grid;
		grid-template-columns: repeat(2, auto);
		justify-items: center;
	}
}

@media (max-width: 680px) {
	#top .logo .logo-bmc {
		display: none;
	}
}

@media (max-width: 600px) {
	#top {
		position: relative;
		height: auto;
		padding: 10px 0;
	}

	#top .inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 16px;
	}

	#top .logo,
	#top .social {
		position: static;
	}

	#top .logo img {
		width: 200px;
	}

	#top .tagline,
	#hero {
		display: none;
	}

	#header-image {
		display: block;
	}

	#content .inner,
	#brands .inner,
	#jobs .inner,
	#footer .inner {
		padding: 0 16px;
	}

	#brands .inner {
		padding-top: 40px;
	}

	.intro-title,
	#content p {
		text-align: center;
	}

	.intro-title {
		font-size: 22px;
		line-height: 26px;
		padding-bottom: 20px;
	}

	#brands ul {
		gap: 24px 30px;
	}

	#brands li img {
		width: 120px;
	}

	#jobs h2 {
		font-size: 36px;
		line-height: 40px;
	}
}

@media (max-width: 400px) {
	#top .logo img {
		width: 160px;
	}
}

@media (max-width: 380px) {
	#top .social {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.slider-track,
	.video-link,
	#brands li a {
		transition: none;
	}
}
