/*
Theme Name: Spartner Child
Template: twentytwentyfive
Description: Child theme for Spartner with custom header and hero
Version: 1.0.0
Author: Spartner
*/

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

.sp-header {
	background: #ffffff;
	width: 100%;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sp-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	height: 76px;
}

.sp-header__logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.sp-logo-mark {
	width: 44px;
	height: 44px;
	background: #000000;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
	transition: opacity 0.2s ease;
}

.sp-header__logo:hover .sp-logo-mark {
	opacity: 0.85;
}

.sp-header__nav {
	flex-grow: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 32px;
}

.sp-nav-menu {
	display: flex;
	align-items: center;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sp-nav-menu li {
	margin: 0;
}

.sp-nav-menu a {
	color: #111111;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	transition: color 0.2s ease;
}

.sp-nav-menu a:hover {
	color: #000000;
}

.sp-header__cta {
	background: #E57C2C;
	color: #ffffff;
	padding: 0 18px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	transition: all 0.2s ease;
	white-space: nowrap;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
}

.sp-header__cta:hover {
	background: #d86e22;
	color: #ffffff;
}

.sp-mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	color: #1a1a1a;
}

/* Mobile Menu */
@media (max-width: 768px) {
	.sp-header__inner {
		padding: 0 16px;
		height: 64px;
	}

	.sp-mobile-toggle {
		display: block;
		order: 3;
	}

	.sp-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		padding: 24px;
		z-index: 1000;
		flex-direction: column;
		align-items: stretch;
	}

	.sp-header__nav.active {
		display: flex;
	}

	.sp-nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.sp-nav-menu li {
		border-bottom: 1px solid #f0f0f0;
	}

	.sp-nav-menu a {
		display: block;
		padding: 16px 0;
	}

	.sp-header__cta {
		display: inline-block;
		margin-top: 16px;
		text-align: center;
	}
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.sp-hero {
	margin: 0;
	overflow: hidden;
	width: 100%;
}

.sp-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 560px;
	gap: 0;
}

.sp-hero__left {
	background: #111111;
	padding: 72px 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
}

.sp-hero__kicker {
	font-size: clamp(56px, 4.5vw, 78px);
	font-weight: 800;
	color: #E57C2C;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 0.95;
	text-transform: uppercase;
}

.sp-hero__title {
	font-size: clamp(76px, 5.5vw, 104px);
	font-weight: 900;
	line-height: 0.9;
	margin: 0;
	color: #ffffff;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.sp-hero__text {
	color: #EAEAEA;
	font-size: 17px;
	line-height: 1.58;
	margin: 0;
	max-width: 420px;
	margin-top: 10px;
}

.sp-hero__button {
	background: #ffffff;
	color: #000000;
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	transition: all 0.2s ease;
	margin-top: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	min-width: 180px;
}

.sp-hero__button:hover {
	background: #f5f5f5;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	color: #000000;
}

.sp-hero__right {
	background: #2a2a2a;
	overflow: hidden;
	position: relative;
}

.sp-hero__right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Mobile Hero */
@media (max-width: 968px) {
	.sp-hero-inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.sp-hero__left {
		padding: 48px 32px;
	}

	.sp-hero__kicker {
		font-size: 48px;
	}

	.sp-hero__title {
		font-size: 64px;
	}

	.sp-hero__right {
		min-height: 400px;
	}
}

@media (max-width: 568px) {
	.sp-hero__left {
		padding: 40px 24px;
	}

	.sp-hero__kicker {
		font-size: 36px;
	}

	.sp-hero__title {
		font-size: 48px;
	}

	.sp-hero__text {
		font-size: 15px;
	}

	.sp-hero__right {
		min-height: 300px;
	}
}

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

.sp-hero-search {
	background: #0b0b0b;
	margin: 0 auto 64px;
	max-width: 1160px;
	padding: 18px;
	border-radius: 12px;
	box-shadow: 0 16px 30px rgba(0,0,0,0.25);
	position: relative;
	z-index: 10;
	transform: translateY(-32px);
}

.sp-hero-search__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
	gap: 16px;
	align-items: stretch;
}

.sp-hero-search__field {
	padding: 0 22px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	background: #ffffff;
	color: #1a1a1a;
	transition: all 0.2s ease;
	height: 60px;
	font-family: inherit;
}

.sp-hero-search__field::placeholder {
	color: #888888;
}

.sp-hero-search__field:focus {
	outline: none;
	border-color: #E57C2C;
	box-shadow: 0 0 0 3px rgba(229, 124, 44, 0.15);
}

.sp-hero-search__field.select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
	padding-right: 50px;
}

.sp-hero-search__submit {
	background: #E57C2C;
	color: #ffffff;
	padding: 0 24px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	height: 60px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sp-hero-search__submit:hover {
	background: #d86e22;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 124, 44, 0.4);
}

/* Mobile Search Bar */
@media (max-width: 968px) {
	.sp-hero-search {
		margin: -24px 24px 40px;
		padding: 16px;
	}

	.sp-hero-search__inner {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.sp-hero-search__submit {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (max-width: 568px) {
	.sp-hero-search {
		margin: -24px 16px 32px;
		padding: 12px;
	}

	.sp-hero-search__inner {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.sp-hero-search__field {
		height: 54px;
		padding: 14px 16px;
	}

	.sp-hero-search__submit {
		height: 54px;
	}
}
