/**
Theme Name: Stagakis
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: stagakis
Template: astra
*/



/***
* class: .sticky-header
*/
header.sticky-header {
	--header-height: 100px;
	--shrink-header-to: 0.6;

	--transition-timing: .45s cubic-bezier(.4, 0, .2, 1); /* values: .1s to 0.5s (or more), replace "cubic-bezier(.4, 0, .2, 1)" with "ease" if you need a simpler transition */
	
	background-color: rgba(255, 255, 255, 0.2)

	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
}

/***
* Sticky header activated
*/
header.sticky-header.elementor-sticky--effects {
	height: calc( var(--header-height) * var(--shrink-header-to) );;
	background-color: rgba(19, 34, 58, 1);
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	/* backdrop-filter: saturate(180%) blur(20px); */
}
header.sticky-header > .elementor-container {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}

header.sticky-header.elementor-sticky--effects .elementor-nav-menu--stretch {
	background-color: rgba(19, 34, 58, 1);
}

header.sticky-header.elementor-sticky--effects nav.elementor-nav-menu--main > ul > li > a.menu-link {
	color: #ffffff !important;
}

header.sticky-header.elementor-sticky--effects .elementor-element-bf81fd6 .elementor-button {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  border-width: 1px 1px 1px 1px !important;
}

/* Optional: normal state (non-sticky) */
header.sticky-header .elementor-element-bf81fd6 .elementor-button {
  background-color: #13223a;   /* your original dark color */
  color: #ffffff;
  border-color: #13223a;
  transition: all 0.3s ease-in-out;
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
	header.sticky-header {
		--header-height: 100px;
	}
}



/***
* class: .logo
*/
header.sticky-header .logo img,
header.sticky-header .logo.elementor-widget-theme-site-logo img {
	--logo-height: 120px; /* This should be the original logo height _before_ being shrunk */
	--logo-shrink-to: 0.50; /* Shrinks logo to 80%, values: 0.10 to 1.00, where 1.00, as in 100%, won't shrink the logo */
	height: var(--logo-height);
	transition: height var(--transition-timing)
}
header.sticky-header.elementor-sticky--effects .logo img,
header.sticky-header.elementor-sticky--effects .logo.elementor-widget-theme-site-logo img {
	height: calc(var(--logo-height) * var(--logo-shrink-to));
}
