/*
 * Theme Name:   Hello Elementor Child
 * Theme URI:    https://aivoonline.com
 * Description:  Child theme for Hello Elementor — Aivo | Digital Solutions in Patna
 * Author:       Aivo
 * Template:     hello-elementor
 * Version:      1.1.0
 * License:      GNU General Public License v2 or later
 * Text Domain:  hello-elementor-child
 */

/* ── Brand Tokens ─────────────────────────────────────────────────────────── */
:root {
	--aivo-gold:       #F5A623;
	--aivo-gold-dark:  #D4891A;
	--aivo-navy:       #1A1F3C;
	--aivo-white:      #FFFFFF;
	--aivo-light-bg:   #F8F9FA;
	--aivo-text:       #333333;
	--aivo-muted:      #666666;
	--aivo-radius:     8px;
	--aivo-shadow:     0 4px 24px rgba(0,0,0,0.08);
	--aivo-shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: 'Inter', sans-serif;
	color: var(--aivo-text);
	margin: 0;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: 'Poppins', sans-serif;
}

/* ── HEADER ───────────────────────────────────────────────────────────────── */

/* Spacer so page content isn't hidden under the sticky bar */
.aivo-header-spacer {
	height: 72px;
}

.aivo-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	height: 72px;
	display: flex;
	align-items: center;
}

.aivo-header-inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* ── Logo ── */
.aivo-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	flex-shrink: 0;
}

.aivo-logo-icon {
	display: block;
	flex-shrink: 0;
}

.aivo-logo-text {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #1A1F3C;
	letter-spacing: -0.5px;
	line-height: 1;
}

/* ── Nav list ── */
.aivo-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.aivo-nav-item a {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: #333333;
	text-decoration: none;
	padding: 8px 14px;
	display: block;
	border-radius: 6px;
	transition: color 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.aivo-nav-item a:hover,
.aivo-nav-active a {
	color: #F5A623 !important;
	background: rgba(245, 166, 35, 0.08);
}

/* CTA button */
.aivo-nav-cta a {
	background-color: #F5A623 !important;
	color: #1A1F3C !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	padding: 10px 22px !important;
	margin-left: 8px;
	transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.aivo-nav-cta a:hover {
	background-color: #D4891A !important;
	color: #1A1F3C !important;
	transform: translateY(-1px);
}

/* ── Hamburger (hidden on desktop) ── */
.aivo-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	flex-shrink: 0;
}

.aivo-hamburger-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #1A1F3C;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animated X state */
.aivo-hamburger-open .aivo-hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.aivo-hamburger-open .aivo-hamburger-bar:nth-child(2) {
	opacity: 0;
}
.aivo-hamburger-open .aivo-hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile ── */
@media (max-width: 768px) {
	.aivo-header-spacer { height: 64px; }
	.aivo-header        { height: 64px; }
	.aivo-header-inner  { padding: 0 20px; }

	.aivo-hamburger { display: flex; }

	.aivo-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #ffffff;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
		padding: 12px 0 20px;
		border-top: 1px solid rgba(0, 0, 0, 0.06);
	}

	.aivo-nav.aivo-nav-open { display: block; }

	.aivo-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.aivo-nav-item a {
		padding: 13px 24px;
		border-radius: 0;
		font-size: 16px;
	}

	.aivo-nav-cta {
		margin: 12px 24px 0;
	}

	.aivo-nav-cta a {
		display: block;
		text-align: center;
		padding: 12px 22px !important;
		margin-left: 0 !important;
		border-radius: 8px !important;
	}
}

/* ── ELEMENTOR SECTIONS ───────────────────────────────────────────────────── */
.elementor-section-wrap {
	max-width: 100%;
}

/* ── AIVO GOLD BUTTON ─────────────────────────────────────────────────────── */
.elementor-button.aivo-btn-gold,
.aivo-btn-gold {
	background-color: #F5A623 !important;
	color: #1A1F3C !important;
	border-color: #F5A623 !important;
	border-radius: 8px !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 700 !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.elementor-button.aivo-btn-gold:hover,
.aivo-btn-gold:hover {
	background-color: #D4891A !important;
	border-color: #D4891A !important;
	transform: translateY(-2px);
}

/* ── PRICING CARDS ────────────────────────────────────────────────────────── */
.aivo-pricing-popular {
	transform: scale(1.03);
	z-index: 2;
	position: relative;
}

.aivo-badge {
	display: inline-block;
	background: #F5A623;
	color: #1A1F3C;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 16px;
	border-radius: 20px;
	margin-bottom: 12px;
}

/* ── PORTFOLIO CARDS ──────────────────────────────────────────────────────── */
.aivo-portfolio-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
	border-radius: 12px;
}
.aivo-portfolio-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--aivo-shadow-lg) !important;
}

/* Portfolio image overlay label */
.aivo-portfolio-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(26,31,60,0.92) 0%, rgba(26,31,60,0) 100%);
	padding: 32px 16px 16px;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
#site-footer,
.site-footer {
	background-color: #1A1F3C !important;
	color: rgba(255,255,255,0.7) !important;
	padding: 0 !important;
}

.site-footer .site-info,
#colophon .site-info {
	display: none; /* hide default WP footer text — we build our own in Elementor */
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.elementor-column { width: 100% !important; }
}
