/*
Theme Name: Panel Solar
Theme URI: https://example.com/panelsolar
Author: Panel Solar
Author URI: https://example.com
Description: WordPress theme converted from Fruitkha HTML template. Responsive Bootstrap 4 layout with hero, products, testimonials, and news sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: panelsolar
*/

/* Main styles are loaded from assets/css/main.css and responsive.css via functions.php */

/* ============================================
   HEADER / MENU – professional, lighter type
   ============================================ */
/* Sticky menu – lower height */
.sticky-wrapper.is-sticky .top-header-area {
	padding: 8px 0 !important;
}
.sticky-wrapper.is-sticky nav.main-menu ul li a {
	padding: 8px 15px !important;
}
.sticky-wrapper.is-sticky .site-logo img {
	max-height: 36px;
	width: auto;
}
.sticky-wrapper.is-sticky .menu-phone-btn {
	padding: 6px 12px !important;
	font-size: 0.9rem !important;
}
.sticky-wrapper.is-sticky .lang-switcher .lang-flag {
	height: 26px;
}
nav.main-menu ul li a {
	color: #fff;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-weight: 400 !important;
	font-size: 1.0625rem !important;
	letter-spacing: 0.02em !important;
	display: block;
	padding: 15px;
}
nav.main-menu ul ul.sub-menu li a {
	font-weight: 400 !important;
	font-size: 0.9375rem !important;
}
.top-header-area .header-icons a {
	font-weight: 400 !important;
}

/* Phone call-to-action button in menu */
.menu-phone-wrap {
	margin-left: 0.5rem;
	margin-right: 1.25rem;
}
.menu-phone-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	background: #11b963 !important;
	color: #fff !important;
	padding: 0.5rem 1rem !important;
	border-radius: 100px;
	font-weight: 500 !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(17, 185, 99, 0.35);
}
.menu-phone-btn:hover {
	background: #0d9660 !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(17, 185, 99, 0.45);
}
.menu-phone-btn i {
	font-size: 0.9em;
}

/* Align nav row and flags vertically with phone button */
.main-menu-wrap {
	align-items: center;
}
.main-menu-wrap nav.main-menu > ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}
.main-menu-wrap nav.main-menu > ul > li {
	display: inline-flex;
	align-items: center;
}
.main-menu-wrap .lang-switcher {
	align-self: center;
	display: flex;
	align-items: center;
}

/* ============================================
   HERO – modern 2024 design
   ============================================ */
/* Hero video background – responsive, resizes with screen */
.hero-area.hero-bg {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.hero-area .hero-video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}
.hero-area.hero-bg .container {
	position: relative;
	z-index: 1;
}
.hero-area .hero-flag {
	display: block;
	width: 48px;
	height: auto;
	margin: 0 auto 0.75rem;
}
.hero-area .hero-text-with-bg {
	background: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 3rem 3.5rem 3.25rem !important;
	border-radius: 24px !important;
	max-width: 640px !important;
	margin: 0 auto !important;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.04),
		0 2px 4px rgba(0, 0, 0, 0.04),
		0 12px 24px rgba(0, 0, 0, 0.06),
		0 32px 64px rgba(0, 0, 0, 0.08) !important;
	border: none !important;
	text-align: center !important;
}
.hero-badge {
	display: inline-block;
	font-family: 'Outfit', sans-serif !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	color: #11b963 !important;
	background: rgba(17, 185, 99, 0.12) !important;
	padding: 0.4rem 0.85rem !important;
	border-radius: 100px !important;
	margin-bottom: 1.25rem !important;
}
.hero-area .hero-text-with-bg .hero-headline,
.hero-area .hero-text h1.hero-headline {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: clamp(1.75rem, 4.5vw, 2.5rem) !important;
	font-weight: 600 !important;
	letter-spacing: -0.04em !important;
	line-height: 1.2 !important;
	margin-bottom: 0.85rem !important;
	color: #0f172a !important;
}
.hero-area .hero-text-with-bg .hero-description {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 1.0625rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em !important;
	line-height: 1.55 !important;
	color: #475569 !important;
	margin-bottom: 2rem !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Zip form – pill style, modern */
.hero-zip-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	max-width: 400px;
	margin: 0 auto 1rem;
}
.hero-zip-form input {
	flex: 1;
	min-width: 0;
	padding: 0.9rem 1.25rem;
	font-size: 1rem;
	font-weight: 400;
	font-family: 'Outfit', sans-serif;
	border: 2px solid #cbd5e1;
	background: #f8fafc;
	color: #0f172a;
	border-radius: 100px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-zip-form input::placeholder {
	color: #64748b;
}
.hero-zip-form input:focus {
	outline: none;
	border-color: #11b963;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(17, 185, 99, 0.2);
}
.hero-zip-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.9rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	font-family: 'Outfit', sans-serif;
	letter-spacing: -0.01em;
	border: none;
	background: #11b963;
	color: #fff;
	border-radius: 100px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(17, 185, 99, 0.35);
}
.hero-zip-btn:hover {
	background: #0d9660;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(17, 185, 99, 0.4);
	color: #fff;
}
.hero-zip-arrow {
	opacity: 0.9;
	transition: transform 0.2s ease;
}
.hero-zip-btn:hover .hero-zip-arrow {
	transform: translateX(2px);
}
.hero-trust {
	font-family: 'Outfit', sans-serif !important;
	font-size: 0.8125rem !important;
	font-weight: 400 !important;
	color: #94a3b8 !important;
	margin: 0 !important;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 768px) {
	.hero-area.hero-bg {
		min-height: 100vh;
		min-height: 100dvh; /* dynamic viewport for mobile browsers */
	}
	.hero-area .hero-video-bg {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
	.hero-area .hero-text-with-bg {
		padding: 2.25rem 1.5rem 2.5rem !important;
		border-radius: 20px !important;
	}
	.hero-area .hero-text-with-bg .hero-headline,
	.hero-area .hero-text h1.hero-headline {
		font-size: clamp(1.5rem, 6vw, 1.875rem) !important;
	}
	.hero-zip-form {
		flex-direction: column;
		max-width: 100%;
		gap: 0.5rem;
		margin-bottom: 1rem;
	}
	.hero-zip-form input,
	.hero-zip-btn {
		width: 100%;
		justify-content: center;
		padding: 0.95rem 1.25rem;
	}
	.lang-switcher {
		font-size: 13px;
		margin-right: 50px; /* clear mobile menu hamburger */
	}
}
