/* AAFE Header & Footer Builder - Frontend CSS */

/* Reset for HF wrappers */
.aafe-hf-wrap {
	width: 100%;
	position: relative;
	z-index: 1000;
}

.aafe-hf-wrap * {
	box-sizing: border-box;
}

/* Sticky Header */
.aafe-hf-header.aafe-hf-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.aafe-hf-header.aafe-hf-sticky.aafe-hf-sticky--scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Body offset when sticky header is active */
body.aafe-has-sticky-header {
	padding-top: var(--aafe-header-height, 80px);
}

/* Transparent Header (on top of hero sections) */
.aafe-hf-header.aafe-hf-transparent {
	background: transparent !important;
}

.aafe-hf-header.aafe-hf-transparent.aafe-hf-sticky--scrolled {
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Footer */
.aafe-hf-footer {
	width: 100%;
}
