/* --- Reset & Base Styles --- */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
	height: 100%;
	background-color: #f4f7f6;
}

body {
	display: flex;
	flex-direction: column;
}

/* --- Header: Anchored full-width at the top --- */
header {
	padding: 20px 40px;
	background-color: #ce242a;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	width: 100%;
	z-index: 10;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	color: #2c3e50;
	text-transform: uppercase;
}

/* --- Fluid Container --- */
.container-fluid {
	display: flex;
	flex-direction: column; /* Mobile stack */
	flex: 1;
	width: 100%;
	padding: 0 0px; /* 5px mobile screen padding */
}

/* --- Banner: Mobile First Configurations (STAYS PERFECT) --- */
.banner-side {
	width: 100%;
	aspect-ratio: 1200 / 1000; /* Handles your 1200x1000 mobile asset */
	min-height: 300px;
	background-image: url(../images/galaxy-preorder-mobile.jpeg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* --- Form: Bottom Side on Mobile / Right Side on Desktop --- */
.form-side {
	flex: 1;
	background: #ffffff;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.form-container-box {
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
}

.form-side h2 {
	margin-bottom: 25px;
	color: #2c3e50;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-group input, .form-group select {
	width: 100%;
	padding: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}

button {
	width: 100%;
	padding: 14px;
	background-color: #093f64;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
}

.mend-txt {
	color: #f23 !important;
}

/* --- THE FIX: Desktop & Laptop Configuration (768px and up) --- */
@media (min-width: 768px) {
	.container-fluid {
		flex-direction: row; /* Side-by-side layout */
		padding: 0 20px;     /* 20px laptop screen padding */
		align-items: center; /* Centers both sides vertically if heights differ */
	}
	
	.banner-side {
		/* This locks the box directly into your 1000x600 exact dimensions ratio */
		width: 60%; 
		flex: none;
		aspect-ratio: 1000 / 600; 
		min-height: auto; 
		
		background-image: url(../images/galaxy-preorder-web.jpeg);
	}
	
	.form-side {
		width: 40%;
		flex: none;
		padding: 3%;
	}
}