:root {
	--primary-dark: #1a1a1a;
	--primary-light: #f5f5f5;
	--accent-gold: #c5a059;
	--accent-green: #6b8e23;
	--text-color-light: #ffffff;
	--text-color-dark: #333333;
	--transition-speed: 450ms;
}

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

body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	overflow: hidden;
	height: 100vh;
	width: 100vw;
}

.container {
	position: relative;
	width: 100%;
	height: 100%;
	background: #333;
}

.split {
	position: absolute;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: width var(--transition-speed) ease-in-out;
}

.split.left {
	left: 0;
	background: url("../../assets/img/city-house.jpg") center center no-repeat;
	background-size: cover;
}

.split.left::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(20, 20, 20, 0.7);
	transition: background-color var(--transition-speed) ease-in-out;
}

.split.right {
	right: 0;
	background: url("../../assets/img/healthy-food.png") center center no-repeat;
	background-size: cover;
}

.split.right::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(46, 139, 87, 0.6);
	transition: background-color var(--transition-speed) ease-in-out;
}

.split.left:hover {
	width: 75%;
    z-index: 26;
}

.split.right:hover {
	width: 75%;
    z-index: 26;
}

.split.right:hover + .split.left {
	width: 25%;
}

.split.left:hover ~ .split.right {
	width: 25%;
}


.split.left:hover::before {
	background-color: rgba(20, 20, 20, 0.4);
}

.split.right:hover::before {
	background-color: rgba(46, 139, 87, 0.3);
}

.content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	white-space: nowrap;
	z-index: 10;
	transition: opacity 0.2s ease-in-out;
}

h1 {
	font-size: 2.5rem;
	color: var(--text-color-light);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
	font-size: 1.5rem;
	color: var(--text-color-light);
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
	display: inline-block;
	padding: 15px 40px;
	border: 3px solid var(--text-color-light);
	color: var(--text-color-light);
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: bold;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.split.left .btn:hover {
	background-color: var(--accent-gold);
	border-color: var(--accent-gold);
}

.split.right .btn:hover {
	background-color: var(--accent-green);
	border-color: var(--accent-green);
}

.logo-overlay {
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	padding: 10px 20px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-overlay img {
	height: 60px;
	display: block;
}

@media (max-width: 800px) {
	h1 {
		font-size: 2.5rem;
	}

	p {
		font-size: 1.1rem;
	}

	.btn {
		padding: 12px 25px;
		font-size: 1rem;
	}

	.split {
		width: 100%;
		height: 50%;
	}

	.split.left {
		top: 0;
	}

	.split.right {
		bottom: 0;
		top: 50%;
	}

	.split.left:hover {
		width: 100%;
		height: 75%;
		z-index: 20;
	}

	.split.right:hover {
		width: 100%;
		height: 75%;
		top: 25%;
		z-index: 20;
	}
	.split.left:hover,
	.split.right:hover {
		width: 100%;
		height: 100%;
		top: 0;
		z-index: 50;
		transition: all 0.5s ease;
	}
	.split.left,
	.split.right {
		width: 100% !important;
		height: 50% !important;
		transition: none !important;
	}

	.split.right {
		top: 50% !important;
	}

	.split.left:hover,
	.split.right:hover {
		z-index: auto;
	}
}
