/*
Theme Name: AAB Theme
Theme URI: https://allaboutbusiness.gr/
Author: iordanispassas
Author URI: https://allaboutbusiness.gr/
Description: Custom Elementor theme for All About Business.
Version: 1.0.0
Text Domain: aab-theme
*/
:root {
	--aab-green-very-dark: #1E3B2E;
	--aab-green-accent: #27A876;
	--aab-text-dark: #1E1E1E;
	--aab-text-black: #000000;
	--aab-white: #FFFFFF;
	--aab-font-main: 'Geologica', sans-serif;
	--aab-gradient: linear-gradient(255.96deg, #234435 0%, #447F68 100%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

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

ul {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--aab-font-main);
	margin-top: 0;
}

p {
	line-height: 1.7;
	font-weight: 300;
}

/* Elementor Overrides */
.elementor-button {
	font-family: var(--aab-font-main) !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--aab-font-main);
}

.elementor-section.elementor-section-boxed>.elementor-container {
	max-width: 1224px;
	padding: 0;
}

/* ===================================
   HEADER
   =================================== */
.aab-header {
	position: sticky;
	top: 27px;
	left: 0;
	right: 0;
	z-index: 100;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0;
}

.aab-header-container {
	width: 1224px;
	height: 85px;
	margin: 0 auto;
	position: relative;
}

.aab-header-nav-container {
	position: absolute;
	width: 929px;
	height: 85px;
	left: 0;
	top: 0;
	background: rgba(41, 41, 41, 0.55);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	overflow: hidden;
}

.aab-header-logo-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.aab-logo-icon {
	width: 34px;
	height: 34px;
	background: linear-gradient(0deg, #1E3B2E -8.26%, #447F68 96.62%);
	border-radius: 50%;
}

.aab-logo-name {
	color: var(--aab-white);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.5px;
	text-decoration: none;
}

.aab-main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.aab-primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 25px;
}

.aab-primary-menu li a {
	color: var(--aab-header-menu-color, var(--aab-white));
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
	transition: color 0.3s;
}

.aab-primary-menu li a:hover {
	color: var(--aab-header-menu-hover, #E8E8E8);
}

/* Search (separate box) */
.aab-header-search-container {
	position: absolute;
	width: 85px;
	height: 85px;
	left: 949px;
	top: 0;
	background: rgba(41, 41, 41, 0.55);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s;
}

.aab-header-search-container:hover {
	background: rgba(68, 127, 104, 0.7);
}

.aab-header-search-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aab-header-search-form {
	display: none;
}

/* CTA (separate box) */
.aab-header-cta-container {
	position: absolute;
	width: 170px;
	height: 85px;
	left: 1054px;
	top: 0;
	background: var(--aab-gradient);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
}

.aab-header-cta-container:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(35, 68, 53, 0.3);
}

.aab-header-cta-btn {
	color: var(--aab-white);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	font-family: var(--aab-font-main);
}

/* ===================================
   HEADER – exact match from user source
   =================================== */
.aab-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 27px 20px 0;
}

.aab-nav-container {
	width: 100%;
	max-width: var(--aab-header-max-width, 100%);
	height: 85px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	z-index: 100;
}

/* Main glass pill – grows to fill space */
.aab-nav-menu {
	position: relative;
	flex-grow: 1;
	height: 85px;
	background: rgba(41, 41, 41, 0.55);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	/* needed for search slide animation */
	transition: background 0.3s;
}

/* When burger is open: expansion mode */
.aab-nav-menu.mobile-open {
	overflow: visible;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Inner row: logo + burger */
.aab-nav-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 85px;
	padding: 20px;
	box-sizing: border-box;
	flex-shrink: 0;
	position: relative;
	z-index: 1001;
	/* Stay on top of full-page dropdown */
}

.aab-nav-menu.mobile-open .aab-nav-top-row {
	background: rgba(30, 30, 30, 1);
	border-radius: 8px 8px 0 0;
}

/* Logo – always left-aligned */
.aab-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	z-index: 10;
	text-decoration: none;
	flex-shrink: 0;
	/* never compress */
}

.aab-logo-icon {
	width: var(--aab-logo-height, 34px);
	height: var(--aab-logo-height, 34px);
	background: linear-gradient(0deg, #1E3B2E -8.26%, #447F68 96.62%);
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}

.aab-logo-icon::after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid white;
	border-radius: 50%;
	top: 8px;
	left: 8px;
	box-sizing: border-box;
}

.aab-logo-text {
	color: var(--aab-white);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.5px;
	white-space: nowrap;
}

/* Uploaded logo image variant – respects the Customizer height */
.aab-logo-img {
	height: var(--aab-logo-height, 54px);
	max-height: var(--aab-logo-height, 54px);
	max-width: 200px;
	width: auto;
	display: block;
	object-fit: contain;
}

/* Nav links */
.aab-nav-links {
	display: flex;
	gap: 25px;
	min-width: 0; /* allow flex child to shrink below its content size */
	flex-shrink: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.aab-primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	/* --menu-scale is set by JS (aab-theme.js) when the menu would touch the logo.
	   scale 1 = full size (25px gap, 13px font). scale 0 = compact (6px gap, 10px font). */
	gap: calc(6px + 19px * var(--menu-scale, 1));
}

.aab-primary-menu li a {
	color: var(--aab-header-menu-color, var(--aab-white));
	text-decoration: none;
	font-size: calc(10px + 3px * var(--menu-scale, 1));
	font-weight: 400;
	transition: color 0.3s;
	white-space: nowrap;
}

.aab-primary-menu li a:hover {
	color: var(--aab-header-menu-hover, #E8E8E8);
}

/* Search area – starts right after the logo (never overlaps) */
.aab-search-area {
	position: absolute;
	left: var(--aab-search-left, 200px);
	right: 40px;
	height: 100%;
	display: flex;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transform: translateX(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.aab-search-area form {
	width: 100%;
}

.aab-search-area input[type="search"] {
	width: 100%;
	background: transparent;
	border: none;
	color: var(--aab-white);
	font-size: 15px;
	font-family: var(--aab-font-main);
	outline: none;
}

.aab-search-area input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

/* Active state: hide links, show search */
.aab-nav-menu.search-active .aab-nav-links,
.aab-nav-menu.search-active .aab-primary-menu {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
}

.aab-nav-menu.search-active .aab-search-area {
	opacity: 1;
	pointer-events: all;
	transform: translateX(0);
}

/* Search button – own pill */
.aab-nav-search {
	width: 85px;
	height: 85px;
	flex-shrink: 0;
	background: rgba(41, 41, 41, 0.55);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s;
}

.aab-nav-search:hover {
	background: rgba(68, 127, 104, 0.7);
}

/* Icon swap */
.aab-icon-search {
	display: block;
}

.aab-icon-close {
	display: none;
}

.aab-nav-search.active .aab-icon-search {
	display: none;
}

.aab-nav-search.active .aab-icon-close {
	display: block;
}

/* CTA button – own gradient pill, always white text */
.aab-nav-contact {
	width: 170px;
	height: 85px;
	flex-shrink: 0;
	background: var(--aab-gradient);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF !important;
	/* force white — gradient bg can inherit green */
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--aab-font-main);
	transition: transform 0.3s, box-shadow 0.3s;
}

.aab-nav-contact:hover {
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(35, 68, 53, 0.3);
}

/* Burger (hidden on desktop) */
.aab-burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
	z-index: 20;
}

.aab-burger-menu span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--aab-white);
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.aab-burger-menu.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.aab-burger-menu.active span:nth-child(2) {
	opacity: 0;
}

.aab-burger-menu.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===================================
   FOOTER
   =================================== */

/* ── Video background ────────────────────────────────── */
.aab-footer {
	position: relative;
	color: var(--aab-white);
	padding: 0;
	font-family: var(--aab-font-main);
	overflow: hidden;
	/* clip the video */
}

/* Video wrapper: covers the whole footer */
.aab-footer-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.aab-footer-video-bg video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* full-cover, centre-centre */
	object-position: center center;
}

/* Overlay: colour + opacity controllable via Customizer */
.aab-footer-video-overlay {
	position: absolute;
	inset: 0;
	background: var(--aab-footer-overlay, rgba(30, 30, 30, 0.75));
}

/* When no video: fallback semi-dark background */
.aab-footer:not(:has(.aab-footer-video-bg)) {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.73));
}

/* ── Layout ──────────────────────────────────────────── */
.aab-footer-container {
	max-width: 1366px;
	margin: 0 auto;
	padding: 50px 71px 40px;
	position: relative;
	z-index: 1;
	/* above video */
}

.aab-footer-blur {
	background: rgba(30, 30, 30, 0.25);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border-radius: 8px;
	padding: 40px;
}

/* 4-column footer grid */
.aab-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	align-items: start;
}

.aab-footer-grid--4col {
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

/* ── Titles (colour from Customizer) ─────────────────── */
/* High specificity + !important to beat .elementor-kit-5 h4 */
h4.footer-widget-title,
.footer-widget-title {
	color: var(--aab-footer-title-color, #27A876) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	margin-bottom: 10px;
	margin-top: 20px;
}

.footer-widget-title:first-child {
	margin-top: 0;
}

.footer-widget-title a,
h4.footer-widget-title a {
	color: var(--aab-footer-title-color, #27A876) !important;
	text-decoration: none;
}

.footer-widget-title a:hover,
h4.footer-widget-title a:hover {
	text-decoration: underline;
}

/* ── Menu links (colour from Customizer) ─────────────── */
.footer-navigation-menu {
	list-style: none;
	padding: 0;
	margin: 0 0 25px;
}

.footer-navigation-menu li {
	font-weight: 400;
	font-size: 13px;
	line-height: 22px;
	margin-bottom: 0;
	cursor: pointer;
}

.footer-navigation-menu li a,
.footer-navigation-menu a {
	color: var(--aab-footer-menu-color, #FFFFFF) !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
	line-height: 22px;
	transition: color 0.3s;
}
.footer-navigation-menu li.menu-item-type-post_type{
	margin-bottom: 10px;
}

.footer-navigation-menu li:hover a,
.footer-navigation-menu a:hover {
	color: var(--aab-footer-menu-hover, #27A876) !important;
}

/* ── Contact / social column – always pinned to the right ── */
.aab-footer-social-cta {
	margin-left: auto;
	text-align: left;
}

.aab-footer-contact p {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 22px;
	color: var(--aab-white) !important;
}
.aab-footer-contact a{
	text-decoration:none;
	color:#fff!important;
}
.aab-footer-social {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.social-link {
	color: var(--aab-white) !important;
	text-decoration: none;
	transition: opacity 0.3s;
	display: flex;
}

.social-link:hover {
	opacity: 0.7;
}

.social-link svg {
	width: 16px;
	height: 16px;
	fill: white;
}

.aab-footer-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--aab-gradient);
	color: #FFFFFF;
	text-decoration: none;
	padding: 10px 24px;
	height: 40px;
	border-radius: 8px;
	font-weight: 400;
	font-size: 12px;
	transition: transform 0.3s;
	margin-bottom: 25px;
}

.aab-footer-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
}

/* ── Footer logo (column 1) ────────────────────────────── */
.aab-footer-logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-bottom: 20px;
}

.aab-footer-logo-img {
	height: var(--aab-footer-logo-height, 40px);
	width: auto;
	object-fit: contain;
}

/* ── Footer post list separators ───────────────────────── */
.footer-post-list li {
	border-bottom: var(--aab-footer-sep-thickness, 1px) solid var(--aab-footer-sep-color, rgba(255,255,255,0.1));
	padding: var(--aab-footer-sep-padding, 8px) 0;
}

.footer-post-list li:last-child {
	border-bottom: none;
}

.aab-footer-empty {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
	font-weight: 300;
	margin: 0;
}

.aab-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
	font-size: 11px;
	opacity: 0.5;
	margin-top: 30px;
}

.aab-footer-sep {
	margin: 0 6px;
	opacity: 0.5;
}

.aab-footer-privacy-link {
	color: var(--aab-white) !important;
	text-decoration: none;
	transition: color 0.3s;
}

.aab-footer-privacy-link:hover {
	color: var(--aab-footer-menu-hover, #27A876) !important;
	text-decoration: underline;
}
.aab-certificate-card__title a,
.aab-certificate-card__desc a{
	color:#1E1E1E!important;
}
/* ===================================
   Responsive
   Exact breakpoints from user's source
   =================================== */

/* ≤ 1024px: footer single column on tablets */
@media (max-width: 1024px) {
	.aab-footer-grid--4col {
		grid-template-columns: 1fr;
	}

	.aab-footer-grid--4col .aab-footer-column,
	.aab-footer-grid--4col .aab-footer-social-cta {
		text-align: left;
		margin-left: 0;
	}
}

/* ≤ 1100px: hide search box */
@media (max-width: 1100px) {
	.aab-nav-search {
		display: none;
	}

	.aab-search-area {
		display: none;
	}
}

/* ≤ 950px: hide CTA */
@media (max-width: 950px) {
	.aab-nav-contact {
		display: none;
	}
}

/* ≤ 768px: hide nav links, show burger */
@media (max-width: 768px) {

	.aab-primary-menu,
	.aab-nav-links {
		display: none;
	}

	.aab-burger-menu {
		display: flex;
	}

	.aab-nav-top-row {
		padding:20px;
	}

	.aab-nav-container {
		gap: 0;
	}

	/* Mobile dropdown: Full viewport height overlay */
	.aab-mobile-dropdown {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
background: rgba(41, 41, 41, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
		padding: 110px 20px 40px;
		/* space for the fixed top header below */
		gap: 30px;
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		z-index: 1000;
		overflow-y: auto;
	}

	/* Keep header elements in the same spot when menu is open */
	/* We make the top row fixed so it stays over the dropdown */
	.aab-nav-menu.mobile-open .aab-nav-top-row {
		position: fixed;
		top: 27px;
		/* Match container's padding-top exactly */
		left: 20px;
		/* Match container's padding-left exactly */
		right: 20px;
		/* Match container's padding-right exactly */
		width: calc(100% - 40px);
		/* Fill the original container width */
		z-index: 1001;
		background: transparent;
	}

	/* Cloned menu list inside dropdown */
	.aab-mobile-menu-list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.aab-mobile-menu-list li a {
		color: #FFFFFF;
		text-decoration: none;
		font-size: 26px;
		font-weight: 400;
		font-family: var(--aab-font-main);
		width: 100%;
    	display: block;
	}

	/* Navigation pill behavior when open */
	.aab-nav-menu.mobile-open {
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border: none;
		padding: 0;
		overflow: visible;
	}

	/* CTA button at bottom of mobile dropdown */
	.aab-mobile-cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--aab-gradient);
		color: #FFFFFF !important;
		text-decoration: none;
		padding: 15px 24px;
		border-radius: 8px;
		font-weight: 700;
		font-size: 14px;
		font-family: var(--aab-font-main);
		width: 100%;
		box-sizing: border-box;
		margin-top: 200px;
	}
}

@media (max-width: 768px) {

	.container,
	.aab-container {
		padding: 0 20px;
	}

	.aab-footer-grid,
	.aab-footer-grid--4col {
		grid-template-columns: 1fr;
	}
}