/**
 * Milfa Travel — Contact Us banner, matching contact.png
 * ---------------------------------------------------------------
 * Scope: front-end, page ID 2914 (Contact Us) ONLY.
 * Enqueued by milfa_contact_hero_styles() in functions.php.
 *
 * Overlays #milfa-contact-hero (from contact.php) on top of the
 * theme's shared #page_caption banner. The shared header template
 * is NOT modified — everything here is page-scoped.
 *
 * The page's `page_menu_transparent` meta is 0 so the header renders
 * as a solid white bar with the colour logo and the hero band sits
 * below it, exactly as in contact.png.
 */

/* ---------------------------------------------------------------
   1. Hero band — sizing + a light, left-only dark scrim so the
   copy is readable while the storefront stays bright.
   --------------------------------------------------------------- */
body.page-id-2914 #page_caption.hasbg {
	height: 655px !important;
	background-color: #05070d;
	background-position: 50% 40%;
	background-size: cover;
	background-repeat: no-repeat;
}

body.page-id-2914 .parallax-block {
	background-color: #05070d;
}
body.page-id-2914 .parallax-block .parallax-image {
	object-fit: cover;
}

/* content section must clear the hero */
body.page-id-2914 #page_content_wrapper.hasbg {
	margin-top: 655px !important;
}

/* left-to-right scrim: dark at the edge, fully clear by ~46% */
body.page-id-2914 #page_caption .parallax_overlay_header,
body.page-id-2914 #page_caption.hasbg .parallax_overlay_header {
	background-color: transparent;
	background-image: linear-gradient(
		90deg,
		rgba(4, 8, 16, 0.88) 0%,
		rgba(4, 8, 16, 0.62) 12%,
		rgba(4, 8, 16, 0.30) 26%,
		rgba(4, 8, 16, 0.10) 38%,
		rgba(4, 8, 16, 0.00) 48%
	);
	z-index: 2;
}

/* the reference banner has no page title / breadcrumbs */
body.page-id-2914 #page_caption .page_title_wrapper {
	display: none !important;
}

/* ---------------------------------------------------------------
   2. Overlay container
   --------------------------------------------------------------- */
#milfa-contact-hero {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 655px;
	z-index: 5;
	pointer-events: none;        /* keep the menu behind clickable */
	font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
	overflow: visible;
}
#milfa-contact-hero a {
	pointer-events: auto;
}

#milfa-contact-hero .milfa-contact-hero-inner {
	position: relative;
	z-index: 4;                 /* sit above the decorative ribbon */
	max-width: none;
	margin: 0;
	padding: 224px 40px 0 clamp(24px, 6%, 132px);
	box-sizing: border-box;
}

/* ---------------------------------------------------------------
   3. Location block
   --------------------------------------------------------------- */
#milfa-contact-hero .milfa-contact-location {
	max-width: 660px;
	color: #ffffff;
	pointer-events: auto;
}

#milfa-contact-hero .milfa-contact-eyebrow {
	margin: 0 0 6px !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	font-style: italic;
	font-weight: 500;
	color: #f0f2f6 !important;
}
#milfa-contact-hero .milfa-contact-eyebrow .fa {
	color: #e2372b;
	font-size: 18px;
	margin-right: 5px;
}

#milfa-contact-hero .milfa-contact-title {
	margin: 0 !important;
	color: #ffffff !important;
	/* the site's Raleway webfont is blocked (http on https), so the
	   theme's headings fall back to serif — match that here */
	font-family: 'Raleway', Georgia, 'Times New Roman', serif;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

#milfa-contact-hero .milfa-contact-address {
	margin: 10px 0 0 !important;
	font-size: 21px !important;
	line-height: 1.25 !important;
	font-weight: 400;
	color: #eef1f6 !important;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

#milfa-contact-hero .milfa-contact-divider {
	display: block;
	width: 66px;
	height: 3px;
	margin: 18px 0 24px;
	background: #e2372b;
	border-radius: 2px;
}

/* ---- contact items ---- */
#milfa-contact-hero .milfa-contact-items {
	display: flex;
	flex-wrap: nowrap;
	gap: 26px 48px;
}
#milfa-contact-hero .milfa-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
#milfa-contact-hero .milfa-contact-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e2372b;
	color: #ffffff;
	font-size: 20px;
	box-shadow: 0 8px 22px -8px rgba(226, 55, 43, 0.75);
}
#milfa-contact-hero .milfa-contact-item-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
#milfa-contact-hero .milfa-contact-item-text strong {
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
}
#milfa-contact-hero .milfa-contact-item-text a {
	font-size: 21px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	margin: 2px 0 3px;
	white-space: nowrap;
}
#milfa-contact-hero .milfa-contact-item-text a:hover {
	color: #ffd7d3;
}
#milfa-contact-hero .milfa-contact-item-text small {
	font-size: 13px;
	color: #c7cdd8;
}

/* ---------------------------------------------------------------
   4. Decorative red ribbon + dashed flight path + plane
   (a floating tapered ribbon in the lower-middle, per contact.png)
   --------------------------------------------------------------- */
#milfa-contact-hero .milfa-contact-wave {
	position: absolute;
	left: 0;
	bottom: 58px;
	width: 600px;
	max-width: 42%;
	height: 118px;
	z-index: 2;
}
#milfa-contact-hero .milfa-contact-wave-fill {
	fill: #e2372b;
}
#milfa-contact-hero .milfa-contact-wave-dash {
	stroke: rgba(255, 255, 255, 0.92);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 2 13;
}
#milfa-contact-hero .milfa-contact-plane {
	position: absolute;
	left: 31%;
	bottom: 132px;
	color: #ffffff;
	font-size: 36px;
	transform: rotate(12deg);
	z-index: 7;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------------------------------------
   5. Phone mockup (bottom-right, overlapping into the content)
   --------------------------------------------------------------- */
#milfa-contact-hero .milfa-contact-phone-mockup {
	position: absolute;
	right: 78px;
	bottom: -20px;
	width: 152px;
	padding: 11px 9px 13px;
	background: #10131a;
	border-radius: 26px;
	box-shadow: 0 28px 64px -16px rgba(0, 0, 0, 0.55);
	transform: rotate(-8deg);
	z-index: 6;
}
#milfa-contact-hero .milfa-contact-phone-notch {
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 6px;
	border-radius: 4px;
	background: #2a2f3a;
}
#milfa-contact-hero .milfa-contact-phone-screen {
	margin-top: 14px;
	padding: 16px 11px 15px;
	background: #ffffff;
	border-radius: 16px;
	text-align: center;
}
#milfa-contact-hero .milfa-contact-phone-logo {
	font-size: 16px;
	font-weight: 800;
	color: #e2372b;
	line-height: 1;
}
#milfa-contact-hero .milfa-contact-phone-logo span {
	color: #1f4b8e;
}
#milfa-contact-hero .milfa-contact-phone-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 11px;
	font-size: 12.5px;
	font-weight: 700;
	color: #333333;
}
#milfa-contact-hero .milfa-contact-phone-line .fa {
	color: #e2372b;
	font-size: 12.5px;
}
#milfa-contact-hero .milfa-contact-phone-wa .fa {
	color: #25d366;
}
#milfa-contact-hero .milfa-contact-phone-btn {
	display: block;
	margin: 13px auto 0;
	padding: 7px 12px;
	background: #e2372b;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	border-radius: 6px;
}

/* ---------------------------------------------------------------
   6. Responsive
   --------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
	body.page-id-2914 #page_caption.hasbg {
		height: 620px !important;
	}
	body.page-id-2914 #page_content_wrapper.hasbg {
		margin-top: 620px !important;
	}
	#milfa-contact-hero {
		height: 620px;
	}
	#milfa-contact-hero .milfa-contact-hero-inner {
		padding: 208px 32px 0 clamp(20px, 5%, 90px);
	}
	#milfa-contact-hero .milfa-contact-title {
		font-size: 34px;
	}
	#milfa-contact-hero .milfa-contact-address {
		font-size: 18px !important;
	}
	body.page-id-2914 #page_caption .parallax_overlay_header {
		background-image: linear-gradient(
			90deg,
			rgba(4, 8, 16, 0.90) 0%,
			rgba(4, 8, 16, 0.60) 20%,
			rgba(4, 8, 16, 0.24) 40%,
			rgba(4, 8, 16, 0.00) 58%
		);
	}
	#milfa-contact-hero .milfa-contact-wave {
		max-width: 62%;
		bottom: 84px;
	}
	#milfa-contact-hero .milfa-contact-plane {
		left: 40%;
		bottom: 170px;
		font-size: 30px;
	}
	#milfa-contact-hero .milfa-contact-phone-mockup {
		right: 32px;
		width: 138px;
		transform: rotate(-8deg) scale(0.94);
	}
}

@media only screen and (max-width: 767px) {
	body.page-id-2914 #page_caption.hasbg {
		height: 640px !important;
	}
	body.page-id-2914 #page_content_wrapper.hasbg {
		margin-top: 640px !important;
	}
	#milfa-contact-hero {
		height: 640px;
	}
	body.page-id-2914 #page_caption .parallax_overlay_header {
		background-image: linear-gradient(
			180deg,
			rgba(4, 8, 16, 0.78) 0%,
			rgba(4, 8, 16, 0.55) 45%,
			rgba(4, 8, 16, 0.70) 100%
		);
	}
	#milfa-contact-hero .milfa-contact-hero-inner {
		padding: 176px 22px 0;
	}
	#milfa-contact-hero .milfa-contact-location {
		max-width: 100%;
	}
	#milfa-contact-hero .milfa-contact-title {
		font-size: 28px;
	}
	#milfa-contact-hero .milfa-contact-address {
		font-size: 16px !important;
	}
	#milfa-contact-hero .milfa-contact-items {
		gap: 20px 30px;
	}
	#milfa-contact-hero .milfa-contact-item-text a {
		font-size: 20px;
	}
	#milfa-contact-hero .milfa-contact-wave {
		width: 100%;
		max-width: 100%;
		height: 130px;
		bottom: 70px;
	}
	#milfa-contact-hero .milfa-contact-plane {
		left: 58%;
		bottom: 150px;
		font-size: 26px;
	}
	#milfa-contact-hero .milfa-contact-phone-mockup {
		right: 16px;
		bottom: -40px;
		width: 116px;
		border-radius: 20px;
		transform: rotate(-8deg) scale(0.9);
	}
	#milfa-contact-hero .milfa-contact-phone-screen {
		padding: 13px 8px 11px;
	}
	#milfa-contact-hero .milfa-contact-phone-logo {
		font-size: 13px;
	}
	#milfa-contact-hero .milfa-contact-phone-line {
		font-size: 10.5px;
	}
}

@media only screen and (max-width: 460px) {
	#milfa-contact-hero .milfa-contact-phone-mockup {
		display: none;      /* avoid crowding the contact info on tiny screens */
	}
	#milfa-contact-hero .milfa-contact-items {
		flex-direction: column;
		gap: 18px;
	}
}
