/*
Theme Name: Hello Elementor Child
Theme URI:
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Ahura Technosoft LLP
Author URI: https://github.com/Drenhat
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/


@import url("../hello-elementor-child/style.css");



/*Customise Css*/
/* Header Css */
.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul li a {
    padding: 0 !important;
	display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}

.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul {
    gap: 40px !important;
		align-items: center;
}

.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul li:last-child {
    display: flex !important;
    background: var(--e-global-color-primary);
    padding: 8px 20px;
	transition : 0.3s all;
}

.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul li:last-child > a {
	color: var(--e-global-color-accent) !important;
	line-height: 45px !important;
	margin-top: 1px;
}

.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul li:last-child:hover{
	background: var(--e-global-color-primary);
	transition : 0.4s all;
}

.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul li:last-child:hover > a{
	color: var(--e-global-color-accent);
}

/* 1. Base Setup for the Underline (Keep relative positioning global or exclude if preferred) */
#menu-main-menu .ekit-menu-nav-link {
    position: relative;
    text-decoration: none !important;
}

/* 2. Create the Underline - ONLY for items that are NOT the last child */
#menu-main-menu > li:not(:last-child) .ekit-menu-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px; 
    width: 0%; 
    height: 3px; 
    background-image: url('https://ahura.xyz/epichef/wp-content/uploads/2025/12/underline-2.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: width 0.3s ease-in-out;
}

/* 3. Hover State - EXCLUDING the last child */
#menu-main-menu > li:not(:last-child) .ekit-menu-nav-link:hover::after {
    width: 100%;
    background-image: url('https://ahura.xyz/epichef/wp-content/uploads/2025/12/underline-2.png');
}

a.section-credit img {
    width: 13px;
}

a.section-credit {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
}




/*  Media screen  */
@media screen and (max-width: 1024px) {
    .ekit-wid-con:not(.ekit_menu_responsive_mobile) .elementskit-navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 0 20px !important;
    }
	.elementor-11 .elementor-element.elementor-element-0ebf6b9 .elementskit-menu-hamburger {
        padding: 0 !important;
        width: 40px !important;
        border-radius: 0px;
        border-width: 1px 1px 1px 1px;
        height: 40px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 1px !important;
    }
	.main-header-wrapper .elementor-widget-container nav .elementskit-navbar-nav-default ul{
		gap:30px !important;
	}
	a.section-credit img {
    width: 12px;
	}

	a.section-credit {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
	}
}



/*Home pgae */
/* 1. Container Settings (Marquee Wrapper) */
.epichef-cat-marquee {
    width: 100%;
    padding: 30px 40px;
    overflow: hidden; /* Hides the scrolling part */
    white-space: nowrap; /* Forces single line */
    font-family: 'Bayon';
}

/* The moving track */
.epichef-cat-track {
    display: flex;
    width: fit-content;
    gap: 30px; /* Space between the two big groups */
    animation: marqueeScroll 25s linear infinite; /* Adjust speed here (25s) 
}

/* Pause on hover so user can click */
.epichef-cat-track:hover {
    animation-play-state: paused;
}

/* The Group Wrapper (Original & Duplicate) */
.epichef-marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Animation Keyframes */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. The Items */
.epichef-cat-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* The Bowtie Icon */
.epichef-cat-icon {
    width: 18px; 
    height: auto;
    opacity: 0.8;
}

/* 3. The Text Link */
.epichef-cat-link {
    text-decoration: none;
    position: relative;
    z-index: 5;
}

.epichef-cat-link .text {
    font-size: 30px;
    font-weight: 400 !important;
    color: #333;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

/* 4. The "Underline" Animation */
.epichef-cat-link .text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 8px;
    background-image: url('https://ahura.xyz/epichef/wp-content/uploads/2025/12/underline.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: width 0.4s ease-in-out;
}

/* 5. The "Floating Product Image" */
.epichef-hover-img {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%) scale(0);
    width: 50px; /* Your fixed width */
    height: auto;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.epichef-hover-img img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

/* --- HOVER STATES --- */

.epichef-cat-link:hover .text::after {
    width: 100%;
}

.epichef-cat-link:hover .text {
    color: #D8232A;
}

/* Your Fixed Hover State */
.epichef-cat-link:hover .epichef-hover-img {
    transform: translate(-50%, 50%) scale(1);
    z-index: 1;
    opacity: 1;
}

/* Add this to your existing .epichef-cat-link style */
.epichef-cat-link {
/* 1. Prevent Text Selection */
-webkit-user-select: none; /* Safari/Chrome */
-moz-user-select: none;    /* Firefox */
-ms-user-select: none;     /* IE/Edge */
user-select: none;         /* Standard */

/* 2. Remove the Blue/Grey Tap Background on Mobile */
-webkit-tap-highlight-color: transparent; 
}

/* 3. The Text Link */
.epichef-cat-link {
text-decoration: none;
position: relative;
z-index: 5;

/* --- NEW LINES TO ADD --- */
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}



/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .epichef-cat-track {
        animation-duration: 15s; /* Faster on mobile */
    }
    .epichef-cat-link .text {
        font-size: 16px;
    }
    .epichef-hover-img {
        width: 30px; 
    }
    .epichef-cat-marquee{
        padding: 20px 50px;
    }
    .epichef-marquee-content{
        gap: 15px;
    }
     .epichef-cat-icon {
        width: 12px; 
        height: auto;
        opacity: 0.8;
    }
}


/* --- Hamburger Menu Css --- */