/*
Theme Name: Morgon Foods
Theme URI: https://morgonfoods.ae
Author: rsaxor
Author URI: https://github.com/rsaxor
Description: Morgon Foods corporate website
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: morgonfoods
*/

/* ADMIN BAR */
/* Desktop: Push the sticky menu down by the height of the admin bar */
body.admin-bar .site-navbar {
    top: 32px;
}

/* Tablets and Mobile: The admin bar expands to 46px on smaller viewports */
@media screen and (max-width: 782px) {
    body.admin-bar .site-navbar {
        top: 46px;
    }
}
/* ********************************************** */
:root {
	--bg-dark: #0c0c0c;
	--bg-light: #ffffff;
	--bg-gray: #f7f7f7;
	--text-dark: #121212;
	--text-muted: #666666;
	--text-light: #ffffff;
	--text-blue: #34474e;
	--text-salmon: #d9a57b;
	--text-sulfur: #f5efc3;
	--border-light: #e5e5e5;
	--border-dark: #2a2a2a;
	--bg-blue: #34474e;
	--bg-sulfur: #f5efc3;
	--bg-salmon: #d9a57b;
	--font-heading: 'Satoshi', sans-serif;
	--font-body: 'Inter', sans-serif;
}

body {
	font-family: var(--font-body);
	color: var(--text-dark);
	background-color: var(--bg-light);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
	font-family: var(--font-heading);
	letter-spacing: -0.02em;
	line-height: 1 !important;
}

h1 {
	font-weight: 900 !important;
}

h2,
h3,
h4,
h5,
h6 {
	font-weight: bold !important;
}

.bg-blue {
	background-color: var(--bg-blue) !important;
}

.navbar-brand img {
	width: 250px;
	height: auto;
	transition: filter 0.3s ease;
}

@media (max-width: 991.98px) {
	.site-navbar:not(.is-sticky) #mainNav.show {
		background-color: rgba(255, 255, 255, 0.3) !important;
		backdrop-filter: blur(5px);
		padding: 10px;
		border-radius: 20px;
	}
	.site-navbar:not(.is-sticky) .navbar-toggler-icon {
	}

}

@media (max-width: 575.98px) {
	.navbar-brand img {
		width: 185px;
	}
}

.navbar-nav {
	margin-right: 0;
	margin-left: auto;
}

/* Custom Buttons */
.btn-custom {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.85rem 1.85rem;
	border-radius: 1.5rem;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-transform: none;
	text-decoration: none;
}

.btn-solid-dark {
	background-color: var(--bg-sulfur);
	color: var(--text-blue);
	border: 1px solid var(--bg-blue);
}

.btn-solid-dark:hover {
	background-color: transparent;
	color: var(--text-blue);
}

.btn-solid-salmon {
	background-color: var(--bg-salmon);
	color: var(--text-blue);
	border: 1px solid var(--bg-blue);
}

.btn-solid-salmon:hover {
	background-color: transparent;
	color: var(--text-blue);
}

.btn-solid-sulfur {
	background-color: var(--bg-sulfur);
	color: var(--text-blue);
	border: 1px solid var(--bg-sulfur);
}

.btn-solid-sulfur:hover {
	background-color: transparent;
	color: var(--text-sulfur) !important;
}

.bg-blue .btn-solid-dark:hover {
	background-color: transparent;
	color: var(--text-sulfur) !important;
	border: 1px solid var(--bg-sulfur);
}

.bg-blue .btn-outline-dark-custom {
	color: var(--text-light);
}

.bg-blue .btn-outline-dark-custom:hover {
	border: 1px solid var(--border-light);
	color: var(--text-blue);
	background-color: var(--bg-light);
}

.btn-outline-dark-custom,
.btn-outline-salmon-custom {
	background-color: transparent;
	color: var(--text-blue);
	border: 1px solid var(--border-light);
}

.btn-outline-dark-custom:hover {
	border-color: var(--bg-blue);
	background-color: var(--bg-blue);
	color: var(--text-light);
}

.btn-outline-salmon-custom:hover {
	border-color: var(--bg-salmon);
	background-color: var(--bg-salmon);
	color: var(--text-light);
}

.btn-solid-white {
	background-color: var(--bg-light);
	color: var(--text-blue);
	border: 1px solid var(--bg-light);
}

.btn-solid-white:hover {
	background-color: transparent;
	color: var(--text-light);
}

.btn-outline-white {
	background-color: transparent;
	color: var(--text-light);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
	background-color: var(--bg-blue);
	color: var(--text-light);
	border-color: var(--bg-blue);
}

/* Decorative top line for headings */
.section-eyebrow-line {
	width: 42px;
	height: 2px;
	background-color: currentColor;
	display: block;
	margin-bottom: 1.25rem;
}

.section-eyebrow-line.centered {
	margin-left: auto;
	margin-right: auto;
}

/* Section Spacing */
.section-padding {
	padding: 6.5rem 0;
	position: relative;
}

@media (max-width: 767.98px) {
	.section-padding {
		padding: 4rem 0;
	}
}

/* Standard Image Wrapper */
.img-cover-wrap {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}

.img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 20px;
}
.img-cover.unrounded {
	border-radius: 0 !important;
}
.testimonial-card,
.showcase-card,
.blog-overlap-box,
.floating-promo-card,
.service-card {
	border-radius: 20px !important;
}

.showcase-card-img, .service-card-img, .blog-img-holder img {
	border-top-right-radius: 20px;
	border-top-left-radius: 20px;
}

/* ==========================================
	1. NAVBAR & DYNAMIC SCROLL STATES
	========================================== */
.site-navbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0.5rem 0;
	z-index: 999999;
	transition: background-color 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Applied via JS only AFTER scrolling past the entire #section-hero */
.site-navbar.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	animation: navSlideDown 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes navSlideDown {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

/* Update this rule to use .is-sticky instead of .scrolled */
.site-navbar.nav-transparent.is-sticky {
	background-color: rgba(52, 71, 78, 0.925) !important;
	backdrop-filter: blur(5px);
}


/* INITIAL STATE: .nav-transparent (Hero, Dark half of Split Section, & Blue Blog Section) */
.site-navbar.nav-transparent {
	background-color: transparent !important;
}

/* Subtle dark-blue backdrop when in initial-state below the Hero so white nav links stay legible over cards */
.site-navbar.nav-transparent.scrolled {
	background-color: rgba(52, 71, 78, 0.925) !important;
	backdrop-filter: blur(5px);
}

.site-navbar.nav-transparent .navbar-brand img {
	filter: brightness(0) invert(80%) sepia(70%) hue-rotate(15deg);
}

.site-navbar.nav-transparent .nav-link {
	color: var(--text-light) !important;
}

.site-navbar.nav-transparent .navbar-toggler {
	filter: invert(1);
}

/* BLUE STATE: .blue-state (On .bg-white-transition sections & top half of Split Section) */
.site-navbar.blue-state {
	background-color: rgba(255, 255, 255, 0.75) !important;
	backdrop-filter: blur(5px);
}

.site-navbar.blue-state .navbar-brand img {
	filter: none;
}

.site-navbar.blue-state .nav-link {
	color: var(--text-dark) !important;
}

.site-navbar.blue-state .btn-custom {
	background-color: var(--bg-blue);
	color: var(--text-light) !important;
	border-color: var(--bg-blue);
}

.site-navbar.blue-state .btn-custom:hover {
	background-color: transparent;
	color: var(--text-blue) !important;
	border-color: var(--bg-blue);
}

.nav-link {
	font-weight: 500;
	font-size: 0.92rem;
	padding: 0.5rem 1rem !important;
	transition: all 0.2s linear;
}

.nav-link:hover {
	transform: scale(1.05);
}

.text-blue {
	color: var(--text-blue) !important;
}

.text-sulfur {
	color: var(--text-sulfur) !important;
}

.text-salmon {
	color: var(--text-salmon) !important;
}

/* 2. Hero Section (Fixed margin-top instead of top: -72px so no gap appears below) */
.hero-section {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	color: var(--text-light);
	overflow: hidden;
	padding-top: 76px;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.65) 50%, rgba(12, 12, 12, 0.3) 100%);
	z-index: -1;
}

/* 3. Feature Split Section (Z-Pattern) */
.bg-dark-section {
	background-color: var(--bg-dark);
	color: var(--text-light);
}

.bg-blue-section {
	background-color: var(--bg-blue);
	color: var(--text-light);
}

.feature-img-box {
	height: 540px;
}

@media (max-width: 991.98px) {
	.feature-img-box {
		height: 380px;
	}
}

.text-link-cta {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--text-blue);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	/* border-left: 2px solid var(--text-blue); */
	/* padding-left: 0.85rem; */
	transition: gap 0.25s ease;
}

.text-link-cta:hover {
	gap: 1rem;
	color: var(--text-blue);
}

/* 4. Full-Bleed Horizontal Carousel (Interactive Slider) */
.showcase-slider-wrapper {
	position: relative;
}

.full-bleed-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	padding: 0.5rem 2.5rem 2rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	user-select: none;
	width: 100%;
	scroll-behavior: auto !important; /* Prevents conflict with GSAP & mouse drag */
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
}

.full-bleed-track.active-drag {
	cursor: grabbing;
}

.full-bleed-track::-webkit-scrollbar {
	display: none;
}

.showcase-card {
	flex: 0 0 320px;
	background: var(--bg-light);
	border: 1px solid var(--border-light);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

.showcase-card-img {
	height: 250px;
	width: 100%;
	object-fit: cover;
	pointer-events: none;
}

.showcase-card-body {
	padding: 1.5rem;
}

.showcase-nav-btn {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 5;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.showcase-nav-btn:hover,
.testimonial-arrow-left:hover,
.testimonial-arrow-right:hover {
	transform: translateY(-50%) scale(1.04);
}

.showcase-prev {
	left: 1.5rem;
}

.showcase-next {
	right: 1.5rem;
}

@media (max-width: 575.98px) {
	.showcase-prev {
		left: 0.5rem;
	}

	.showcase-next {
		right: 0.5rem;
	}
}

/* 5. Split Background Video Spotlight */
.split-section {
	background: linear-gradient(to bottom, var(--bg-gray) 0%, var(--bg-gray) 52%, var(--bg-blue) 52%, var(--bg-blue) 100%);
}

.video-frame-wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: 540px;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.play-btn-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--bg-light);
	color: var(--text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	border: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
	z-index: 2;
}

.play-btn-circle:hover {
	transform: translate(-50%, -50%) scale(1.08);
}

/* 6. Off-Canvas Category Slider */
.slider-Wrapper-relative {
	position: relative;
}

.service-track {
	display: flex;
	gap: 1.75rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 1rem;
}

.service-track::-webkit-scrollbar {
	display: none;
}

.service-card {
	flex: 0 0 340px;
	border: 1px solid var(--border-light);
	background: var(--bg-light);
}

@media (max-width: 575.98px) {
	.service-card {
		flex: 0 0 85%;
	}
}

.service-card-img {
	height: 240px;
	width: 100%;
	object-fit: cover;
}

.slider-nav-circ {
	width: 52px;
	height: 52px;
	background: var(--bg-sulfur);
	color: var(--text-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: opacity 0.2s, transform 0.2s;
	border: 1px solid var(--bg-blue);
	border-radius: 100%;
}

.slider-nav-circ.salmon {
	background: var(--bg-salmon);
	color: var(--text-light);
	border: 1px solid var(--bg-light);

}

.slider-nav-circ:hover {
	opacity: 0.85;
	transform: scale(1.04);
}

.floating-right-arrow {
	position: absolute;
	top: 120px;
	right: -15px;
	z-index: 5;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-left-arrow {
	position: absolute;
	top: 120px;
	left: -26px;
	z-index: 5;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
	.floating-left-arrow {
		left: 15px;
	}
}

/* 7. Full-Bleed Promo Banner with Floating Card */
.promo-banner-section {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.promo-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.floating-promo-card {
	background: color-mix(in srgb, var(--bg-light) 90%, transparent);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	/* background: var(--bg-light); */
	padding: 3.25rem;
	max-width: 490px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

@media (max-width: 575.98px) {
	.floating-promo-card {
		padding: 2rem 1.5rem;
	}
	#menu-tgp h4 { max-width: 325px !important; }
}

/* 8. Testimonials Carousel */
.testimonial-track-wrapper {
	position: relative;
}

.testimonial-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 0.5rem 0.25rem;
}

.testimonial-track::-webkit-scrollbar {
	display: none;
}

.testimonial-card {
	flex: 0 0 calc(33.333% - 1rem);
	min-width: 290px;
	border: 1px solid var(--border-light);
	padding: 2.25rem;
	background: var(--bg-light);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media (max-width: 991.98px) {
	.testimonial-card {
		flex: 0 0 calc(50% - 0.75rem);
	}
}

@media (max-width: 767.98px) {
	.testimonial-card {
		flex: 0 0 88%;
	}
}

.testimonial-avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-arrow-left,
.testimonial-arrow-right {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
}

.testimonial-arrow-left {
	left: -26px;
}

.testimonial-arrow-right {
	right: -26px;
}

@media (max-width: 991.98px) {
	.testimonial-arrow-left {
		left: 0;
	}

	.testimonial-arrow-right {
		right: 0;
	}
}

/* 9. Blog / Overlapping Cards Grid */
.blog-card-wrapper {
	position: relative;
	margin-bottom: 1rem;
}

.blog-img-holder {
	height: 330px;
	overflow: hidden;
}

.blog-img-holder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-card-wrapper:hover .blog-img-holder img {
	transform: scale(1.05);
}

.blog-overlap-box {
	background: var(--bg-light);
	color: var(--text-dark);
	width: 88%;
	margin-top: -75px;
	position: relative;
	z-index: 2;
	padding: 2rem;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
	.blog-overlap-box {
		width: 94%;
		padding: 1.5rem;
	}
}

/* 10. Asymmetric Social / Bento Grid */
.bento-col-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}

.social-img-wrap {
	overflow: hidden;
	position: relative;
	width: 100%;
	flex: 1;
	aspect-ratio: 1 / 1;
}

.social-grid-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.social-img-wrap:hover .social-grid-img {
	transform: scale(1.06);
}

/* 11. Footer */
.site-footer {
	position: relative;
	z-index: 1;
	background-color: var(--bg-light);
}

.footer-callout-box {
	background-color: var(--bg-sulfur);
	color: var(--text-blue);
	padding: 2.5rem;
	border-radius: 30px;
}

.footer-link {
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.92rem;
	display: inline-block;
	margin-bottom: 0.65rem;
	transition: color 0.2s;
}

.footer-link:hover {
	color: var(--text-sulfur);
}

.badge-mini {
	background: var(--bg-sulfur);
	color: var(--text-blue);
	font-size: 0.65rem;
	padding: 0.15rem 0.45rem;
	margin-left: 0.35rem;
	font-weight: 600;
	vertical-align: middle;
}

.foo-logo img {
	width: 100%;
	height: auto;
	max-width: 400px;
	margin: 0 auto;
}

#footer [class^="border-"] {
	border-color: rgba(255, 255, 255, 0.3) !important;
}
/* Pre-Footer CTA Section */	
.cta-pre-footer {
	background-color: var(--bg-light);
	color: var(--text-dark);
	border-top: 1px solid var(--border-light);
	position: relative;
	overflow: hidden;
}

.cta-pre-footer .section-eyebrow-line {
}

.cta-pre-footer-sub {
	color: var(--text-muted);
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;
}
#section-values {
	background-color: var(--bg-gray);
}
#section-showcase {
	overflow: hidden;
}
#section-showcase .logo img {
	width: 300px;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}
/* Social Icons */
.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: start;
    gap: 1rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--bg-sulfur);
    transform: translateY(-3px);
}
.privacy-policy h2 {
    font-size: 1.25rem !important;
	color: var(--bg-blue);
}

.privacy-policy p {
    font-size: 0.95rem !important;
    line-height: 1.2;
}
/* Only center with max-content on large screens where 4 cards fit */
@media (min-width: 1440px) {
	.full-bleed-track {
		width: max-content;
		max-width: 100%;
		margin-inline: auto;
	}
}

.showcase-card {
	flex: 0 0 320px;
	background: var(--bg-light);
	border: 1px solid var(--border-light);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (max-width: 575.98px) {
	.showcase-card {
		flex: 0 0 82vw;
	}
}