/* layout-hero.css
 * Structural Hero Layout Layer (Phase B)
 * Contains hero section spatial arrangement (containers, grids, flex, spacing)
 * Excludes colors, decorative backgrounds, gradients, shadows, animations
 * Source: AI-DEV/feedback/hero-form-styles-we-lost.txt (layout subset)
 */

/* ========= HERO LAYOUT STRUCTURAL RULES (EXTRACTED) ========= */
/* Source: hero-form-styles-we-lost.txt (layout-only subset) */

html, body { margin: 0 !important; padding: 0 !important; }

/* Hero section base layout */
.hero.section,
.hero.section { /* duplicate selectors consolidated */
	position: relative !important;
	height: calc(100vh - 76px) !important;
	overflow: hidden !important;
	max-height: calc(100vh - 76px) !important;
	box-sizing: border-box !important;
	margin: 0;
	padding: 0;
}

/* Hero background image structural placement */
.hero-bg {
	width: 100% !important;
	height: calc(100vh - 76px) !important;
	object-fit: cover !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	z-index: 1 !important;
}

/* Hero container flex layout */
.hero .container {
	position: relative !important;
	z-index: 2 !important;
	height: calc(100vh - 76px) !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	padding-top: 80px !important;
	box-sizing: border-box !important;
}

.hero .container .row:first-child { margin-top: -20px !important; flex-shrink: 0; }
.hero .row { margin-top: 2vh; flex-shrink: 0; }

/* Responsive text spacing adjustments (no aesthetic properties) */
@media (max-width: 991px) {
	.hero .row { margin-top: 5vh !important; margin-bottom: 2rem !important; }
}

/* Small screens font sizing adjustments kept to preserve layout flow (consider later aesthetic relocation) */
@media (max-width: 768px) {
	.hero-form-container { width: calc(100% - 20px) !important; max-width: none !important; }
}

@media (min-width: 769px) and (max-width: 991px) {
	.hero-form-container { max-width: 500px !important; }
}

/* End structural hero layout */
