/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Header menu hover underline animation */
.elementor-nav-menu--main .elementor-item {
	position: relative !important;
	padding-bottom: 7px !important;
}

/* Remove any existing Elementor pointer effects */
.elementor-nav-menu--main .elementor-item::before {
	display: none !important;
}

/* Custom underline animation */
.elementor-nav-menu--main .elementor-item::after {
	content: '' !important;
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 0 !important;
	height: 1px !important;
	background-color: #F0D09F !important;
	transition: width 1s ease, background-color 1s ease !important;
	transform-origin: left !important;
	display: block !important;
	z-index: 9999 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Underline color when on dark sections */
.elementor-nav-menu--main .elementor-item.on-dark::after {
	background-color: #44280C !important;
}

/* Underline color when header is scrolled (inverted colors) */
.header.scrolled .elementor-nav-menu--main .elementor-item::after {
	background-color: #44280C !important;
}

.header.scrolled.on-dark .elementor-nav-menu--main .elementor-item::after {
	background-color: #F0D09F !important;
}

/* Hover effect - expand underline */
.elementor-nav-menu--main .elementor-item:hover::after,
.header.scrolled .elementor-nav-menu--main .elementor-item:hover::after,
.header.scrolled.on-dark .elementor-nav-menu--main .elementor-item:hover::after {
	width: 100% !important;
	visibility: visible !important;
	opacity: 1 !important;
}
