/*
Theme Name: GoodPeople Clone
Theme URI: https://spartner.nl
Author: Clone-test-2
Author URI: https://spartner.nl
Description: Custom classic theme recreating the layout of demo4.hellogoodpeople.nl
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goodpeople-clone
*/

/* Import condensed heading font */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700;900&display=swap');

/* ============================================
   Base Styles
   ============================================ */

:root {
	--accent: #F47A1F;
	--color-orange: #F47A1F;
	--color-dark: #111;
	--color-text: #333;
	--color-white: #fff;
	--color-light-bg: #f8f8f8;
	--hero-bg: #161616;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--color-text);
	background-color: var(--color-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #161616;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent);
}

button {
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
	font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
}

/* ============================================
   Layout Containers
   ============================================ */

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 60px);
}

.half-wrapper {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--color-white);
	z-index: 1000;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
	padding: 20px 0;
}

.site-header .wrapper {
	padding-left: clamp(16px, 4vw, 56px);
	padding-right: clamp(16px, 4vw, 56px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-branding .custom-logo {
	max-height: 50px;
	width: auto;
}

.primary-navigation {
	display: none;
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 35px;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--color-dark);
	transition: color 0.3s ease;
}

.primary-navigation a:hover {
	color: var(--accent);
}

/* Header CTA button (if present in menu) */
.site-header .btn,
.primary-navigation .btn {
	background-color: var(--accent);
	color: var(--color-white);
	padding: 10px 20px;
	font-size: 13px;
}

.primary-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: var(--color-white);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	padding: 15px;
	min-width: 200px;
	display: none;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.primary-navigation li:hover .sub-menu {
	display: flex;
}

.button-menu {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 10px;
	z-index: 1001;
}

.button-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--color-dark);
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
	.primary-navigation {
		display: block;
	}
}

/* ============================================
   Fullscreen Menu
   ============================================ */

.menu-fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #161616;
	z-index: 999;
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 80px 20px 40px;
}

.menu-fullscreen.active {
	display: flex;
}

.menu-fullscreen nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.menu-fullscreen nav li {
	margin: 20px 0;
}

.menu-fullscreen nav a {
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.menu-fullscreen-footer {
	margin-top: auto;
	padding-top: 40px;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: center;
}

.menu-fullscreen-footer a {
	color: #fff;
	font-size: 14px;
	opacity: 0.8;
}

/* ============================================
   Main Content
   ============================================ */

.site-main {
	margin-top: 80px;
}

/* ============================================
   Home Intro Section (Hero Split Layout)
   ============================================ */

/* Force hero split layout (desktop) */
.home-intro {
	background: var(--hero-bg);
	display: flex;
	align-items: stretch;
	min-height: 620px;
	padding: 0;
	position: relative;
}

.home-intro .intro-content-wrapper {
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 72px);
	background-color: var(--hero-bg);
}

.home-intro .intro-image {
	flex: 1 1 50%;
	min-width: 0;
	display: block;
}

.home-intro .intro-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Mobile stacking */
@media (max-width: 900px) {
	.home-intro {
		flex-direction: column;
		min-height: auto;
	}

	.home-intro .intro-content-wrapper {
		flex-basis: auto;
		padding: 48px 20px;
	}

	.home-intro .intro-image {
		height: 320px;
	}
}

/* Hero typography + orange highlight */
.home-intro .intro-text h1 {
	margin: 0 0 22px;
	color: #fff;
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.92;
	font-size: clamp(56px, 6.5vw, 110px);
	text-transform: uppercase;
	font-family: 'Oswald', ui-sans-serif, system-ui, sans-serif;
}

.home-intro .intro-text .highlight {
	color: var(--accent);
}

.home-intro .intro-text p {
	color: rgba(255, 255, 255, .85);
	font-size: 18px;
	line-height: 1.6;
	max-width: 42ch;
	margin: 0 0 28px;
}

/* Buttons: hero = white button; other primary buttons = orange */
.btn {
	border-radius: 6px;
	padding: 14px 28px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	display: inline-block;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all 0.3s ease;
}

/* Hero button - orange to match primary buttons */
.home-intro .btn {
	background: var(--accent);
	color: #111;
}

.home-intro .btn:hover {
	filter: brightness(.95);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(244, 122, 31, 0.3);
}

/* Primary buttons - orange */
.search-form button,
.banner-cta .btn,
a.btn.btn-dark,
.btn.btn-dark {
	background: var(--accent);
	color: #111;
}

.search-form button:hover,
.banner-cta .btn:hover,
a.btn.btn-dark:hover,
.btn.btn-dark:hover {
	filter: brightness(.95);
}

/* Additional button variants */
.btn-white {
	background-color: var(--color-white);
	color: var(--color-dark);
}

.btn-white:hover {
	background-color: #f0f0f0;
	color: var(--color-dark);
}

.scroll-hint {
	text-align: center;
	margin-top: 60px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	opacity: 0.5;
}

/* ============================================
   Search Bar Section
   ============================================ */

.searchbar-section {
	background-color: var(--color-white);
	padding: 80px 0;
}

.searchbar-placeholder {
	background-color: var(--color-light-bg);
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.searchbar-placeholder h3 {
	margin: 0 0 25px;
	font-size: 28px;
	font-weight: 700;
}

.search-form {
	display: flex;
	gap: 15px;
	max-width: 700px;
	margin: 0 auto;
}

.search-form input {
	flex: 1;
	padding: 18px 20px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.search-form input:focus {
	outline: none;
	border-color: var(--accent);
}

.search-form button {
	padding: 18px 40px;
	background-color: var(--accent);
	color: var(--color-white);
	border-radius: 6px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.03em;
	transition: all 0.3s ease;
}

.search-form button:hover {
	background-color: #e66a0f;
}

/* ============================================
   Vacancy Categories Section
   ============================================ */

.vacancy-categories {
	padding: 90px 0;
	background-color: var(--color-white);
}

.section-title {
	text-align: center;
	font-size: 42px;
	margin: 0 0 60px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.5px;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 25px;
}

.category-card {
	background-color: var(--color-light-bg);
	padding: 45px 35px;
	text-align: center;
	border-radius: 8px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.category-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	border-color: var(--accent);
	background-color: var(--color-white);
}

.category-card h3 {
	font-size: 20px;
	margin: 0 0 10px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--color-dark);
}

.category-card p {
	font-size: 14px;
	opacity: 0.7;
	margin: 0;
}

/* ============================================
   Image + Text Block Section
   ============================================ */

.image-text-block {
	padding: 90px 0;
	background-color: var(--color-light-bg);
}

.image-text-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
}

@media (min-width: 768px) {
	.image-text-content {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.image-text-block.inverted .image-text-content {
		direction: rtl;
	}

	.image-text-block.inverted .image-text-content > * {
		direction: ltr;
	}
}

.image-text-content img {
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.image-text-content h2 {
	font-size: 42px;
	margin: 0 0 25px;
	font-weight: 800;
	color: var(--color-dark);
	line-height: 1.2;
}

.image-text-content p {
	font-size: 17px;
	line-height: 1.8;
	margin: 0 0 25px;
	opacity: 0.85;
}

/* ============================================
   Featured Vacancies Section
   ============================================ */

.featured-vacancies {
	padding: 90px 0;
	background-color: var(--color-white);
}

.vacancies-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 25px;
}

.vacancy-card {
	background-color: var(--color-white);
	padding: 35px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	transition: all 0.3s ease;
}

.vacancy-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	border-color: var(--accent);
}

.vacancy-meta {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #999;
	margin-bottom: 12px;
	font-weight: 600;
}

.vacancy-card h3 {
	font-size: 22px;
	margin: 0 0 15px;
	font-weight: 700;
	color: var(--color-dark);
}

.vacancy-card p {
	font-size: 15px;
	line-height: 1.7;
	opacity: 0.8;
	margin: 0 0 25px;
}

/* ============================================
   Banner CTA Section
   ============================================ */

.banner-cta {
	padding: 90px 0;
	background-color: var(--color-dark);
	color: var(--color-white);
}

.banner-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
}

@media (min-width: 768px) {
	.banner-content {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
}

.banner-text h2 {
	font-size: 48px;
	margin: 0 0 25px;
	font-weight: 800;
	line-height: 1.2;
}

.banner-text p {
	font-size: 18px;
	margin: 0 0 35px;
	opacity: 0.9;
	line-height: 1.7;
}

.banner-image img {
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Image Links Slider Section
   ============================================ */

.image-links-section {
	padding: 90px 0;
	background-color: var(--color-light-bg);
}

.image-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
}

.image-link-card {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4/3;
	background-color: #ddd;
	transition: transform 0.3s ease;
}

.image-link-card:hover {
	transform: translateY(-5px);
}

.image-link-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.image-link-card:hover img {
	transform: scale(1.08);
}

.image-link-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
	color: var(--color-white);
	padding: 30px 20px;
}

.image-link-overlay h3 {
	font-size: 20px;
	margin: 0;
	font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
	background-color: var(--color-dark);
	color: var(--color-white);
	padding: 70px 0 35px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 50px;
	margin-bottom: 50px;
}

.footer-section h3 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0 0 25px;
	font-weight: 700;
	color: var(--color-white);
}

.footer-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-section li {
	margin: 12px 0;
}

.footer-section a {
	color: var(--color-white);
	opacity: 0.7;
	font-size: 14px;
	transition: all 0.3s ease;
}

.footer-section a:hover {
	opacity: 1;
	color: var(--accent);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 35px;
	text-align: center;
	font-size: 13px;
	opacity: 0.6;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 1024px) {
	.intro-text h1 {
		font-size: 56px;
	}

	.image-text-content h2,
	.banner-text h2 {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.site-header {
		padding: 15px 0;
	}

	.site-main {
		margin-top: 70px;
	}

	.home-intro {
		min-height: auto;
	}

	.intro-text h1 {
		font-size: 36px;
	}

	.section-title {
		font-size: 32px;
		margin-bottom: 40px;
	}

	.banner-text h2,
	.image-text-content h2 {
		font-size: 28px;
	}

	.categories-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.vacancies-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wrapper,
	.half-wrapper {
		padding: 0 25px;
	}
}
