/*
Theme Name: Hello Elementor Child – FoCargo
Theme URI: https://elementor.com/hello-theme/
Description: Child theme of Hello Elementor for the FoCargo moving & logistics website. Includes the custom home page template, booking form (shortcode + bookings inbox), and global header/footer styling for Ultimate Addons for Elementor (UAE).
Author: Jeet
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
	--fc-primary: #FF4A22;
	--fc-primary-dark: #D83B17;
	--fc-bg-dark: #0A0D0F;
	--fc-surface-dark: #12171A;
	--fc-light: #F4F6F8;
	--fc-text: #0F172A;
	--fc-muted: #64748B;
	--fc-border: #E2E8F0;
	--fc-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--fc-header-h: 80px;
}

/* =========================================================
   2. GLOBAL
   ========================================================= */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Reusable button — also usable in Elementor (add class "fc-btn" to an HTML/Text widget link) */
body a.fc-btn,
body button.fc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--fc-primary);
	color: #fff;
	padding: 12px 26px;
	border: 0;
	border-radius: 40px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(255, 74, 34, 0.25);
	transition: transform 0.3s var(--fc-ease), background 0.3s ease, box-shadow 0.3s ease;
}
body a.fc-btn:hover,
body a.fc-btn:focus-visible,
body button.fc-btn:hover,
body button.fc-btn:focus-visible {
	background: var(--fc-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}
body a.fc-btn--lg, body button.fc-btn--lg { padding: 16px 36px; font-size: 16px; }
body a.fc-btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: none;
}
body a.fc-btn--ghost:hover, body a.fc-btn--ghost:focus-visible { background: rgba(255, 255, 255, 0.2); }
body button.fc-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* =========================================================
   3. HEADER  (built in UAE → paste snippets/header.html into an HTML widget)
   ========================================================= */
.fc-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 25px 6%;
	transition: padding 0.4s var(--fc-ease), background 0.4s ease;
}
body:not(.elementor-editor-active) .fc-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
body.admin-bar:not(.elementor-editor-active) .fc-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar:not(.elementor-editor-active) .fc-header { top: 46px; } }

.fc-header.is-scrolled,
body:not(.fc-front) .fc-header,
.elementor-editor-active .fc-header {
	padding: 15px 6%;
	background: rgba(10, 13, 15, 0.88);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-header .fc-logo,
.fc-footer .fc-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.5px;
}
.fc-header .fc-logo:hover, .fc-footer .fc-logo:hover { color: #fff; }
.fc-logo span { color: var(--fc-primary); }

.fc-header .fc-nav ul {
	display: flex;
	list-style: none;
	gap: 35px;
	margin: 0;
	padding: 0;
}
.fc-header .fc-nav a {
	position: relative;
	display: inline-block;
	padding-bottom: 4px;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: color 0.3s ease;
}
.fc-header .fc-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--fc-primary);
	transition: width 0.3s var(--fc-ease);
}
.fc-header .fc-nav a:hover { color: #fff; }
.fc-header .fc-nav a:hover::after { width: 100%; }

/* Mobile toggle (hidden on desktop) */
.fc-header .fc-menu-toggle,
.fc-header .fc-menu-toggle:hover,
.fc-header .fc-menu-toggle:focus {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.fc-header .fc-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.fc-header.menu-open .fc-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fc-header.menu-open .fc-menu-toggle span:nth-child(2) { opacity: 0; }
.fc-header.menu-open .fc-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
	.fc-header .fc-menu-toggle,
	.fc-header .fc-menu-toggle:hover,
	.fc-header .fc-menu-toggle:focus { display: flex; order: 3; }
	.fc-header .fc-header-cta { margin-left: auto; }
	.fc-header .fc-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		padding: 20px 6% 28px;
		background: rgba(10, 13, 15, 0.97);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
	.fc-header.menu-open .fc-nav { display: block; }
	.fc-header .fc-nav ul { flex-direction: column; gap: 18px; }
}
@media (max-width: 480px) {
	.fc-header .fc-header-cta { display: none; }
	.fc-header .fc-menu-toggle { margin-left: auto; }
}

/* Push inner-page content below the fixed header (home page is full-bleed) */
body:not(.fc-front):not(.elementor-editor-active) #content,
body:not(.fc-front):not(.elementor-editor-active) .site-main { padding-top: var(--fc-header-h); }

/* =========================================================
   4. FOOTER  (built in UAE → paste snippets/footer.html into an HTML widget)
   ========================================================= */
.fc-footer {
	background: var(--fc-bg-dark);
	color: #fff;
	padding: 60px 8% 40px;
}
.fc-footer-grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 60px;
	margin-bottom: 60px;
}
.fc-footer .fc-footer-about {
	max-width: 320px;
	margin: 20px 0 24px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}
.fc-footer .fc-footer-col h4 {
	margin: 0 0 25px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}
.fc-footer .fc-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fc-footer .fc-footer-col a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color 0.3s ease;
}
.fc-footer .fc-footer-col a:hover { color: var(--fc-primary); }
.fc-footer .fc-footer-col i { color: var(--fc-primary); margin-right: 8px; }
.fc-footer .fc-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.4);
	font-size: 14px;
}
.fc-footer .fc-footer-bottom p { margin: 0; }

@media (max-width: 992px) { .fc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fc-footer-grid { grid-template-columns: 1fr; gap: 40px; } }
