/* Index page specific styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	height: 100vh;
	/* Fallback for older browsers */
	height: 100dvh;
	/* Dynamic viewport height - excludes UI bars */
	overflow: hidden;
	/* Fix for iOS Safari address bar issue */
	-webkit-fill-available: height;
}

.split-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	/* Fallback for older browsers */
	height: 100dvh;
	/* Dynamic viewport height - excludes UI bars */
	min-height: -webkit-fill-available;
	/* Additional iOS Safari fix */
}

/* Additional mobile Safari fixes */
@supports (-webkit-touch-callout: none) {
	body {
		height: -webkit-fill-available;
	}

	.split-container {
		height: -webkit-fill-available;
	}
}

.half {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.half:hover {
	flex: 1.1;
}

.top-half {
	background: linear-gradient(to bottom, #1a1a1a 0%, #2d2d2d 100%);
	color: white;
}

.bottom-half {
	background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
	color: #1a1a1a;
}

.logo {
	max-width: 250px;
	margin: 20px;
	margin-bottom: 20px;
}

.half:hover .logo {
	transform: scale(1.05);
}

.text {
	font-size: 1.0rem;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: lowercase;
	transition: all 0.3s ease;
}
.text.white {
	color: white;
}

.half:hover .text {
	font-weight: 400;
	letter-spacing: 3px;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.3s ease;
}

.half:hover .overlay {
	background: rgba(0, 0, 0, 0.05);
}

.top-half:hover .overlay {
	background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
	.logo {
		width: 220px;
	}

	.text {
		font-size: 1.0rem;
		letter-spacing: 1px;
	}

	.half:hover .text {
		letter-spacing: 2px;
	}
}

@media (max-width: 480px) {
	.logo {
		width: 180px;
	}

	.text {
		font-size: 1.0rem;
	}
}