/*
	Ash Effects
	version 1.0
	Develope and gathered by Mahmood Sabzehi
*/

/* 
	Image Effects
*/

/* Image hover scale */
.img-scale-08, 
.img-scale-12 {
	transition: all 1s;
}
.img-scale-08:hover {
	transform: scale(0.8);
}
.img-scale-12:hover {
	transform: scale(1.2);
}

.cnt-img-scale-08,
.cnt-img-scale-12 {
	overflow: hidden;
}
.cnt-img-scale-08,
.cnt-img-scale-12 img {
	transition: all 1s;
}
.cnt-img-scale-08:hover img {
	transform: scale(0.8);
}
.cnt-img-scale-12:hover img {
	transform: scale(1.2);
}

/* Image Hover Shine */
.cnt-img-hover-shine {
	position: relative;
    display: block;
    margin: auto;
    text-align: center;
    overflow: hidden
}
.cnt-img-hover-shine:before {
	position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}
.cnt-img-hover-shine:hover:before {
	-webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}




/* 
	Content Effects
*/

/* Background Hover */
.hover-cover-container {
	position: relative;
}
.hover-cover-container:hover .bg-hover-cover::before {
	opacity: 0.6;
}
.hover-cover-container .bg-hover-cover::before {
	content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-position: 0 0;
    opacity: 0;
    transition: 0.6s;
    -webkit-animation: service_bg 140s linear infinite;
    animation: service_bg 140s linear infinite;
    -webkit-mask-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1));
}

/* Pulse Effect */
.pulse {
	-webkit-animation: pulse 3s infinite;
	animation: pulse 3s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(.5);
		outline-offset: 0;
		outline: 2px solid var(--thm-color-special-1);
	}
	70% {
		transform: scale(.75);
		outline-offset: min(6px, 1vw);
		outline: 2px solid var(--thm-color-special-2);
	}
	
	100% {
		transform: scale(.5);
		outline-offset: 0;
		outline: 2px solid var(--thm-color-special-1);
	}	
}

/* Hover Shadow */
.ash-hover-shadow {
    transition: box-shadow 0.3s ease;
}

.ash-hover-shadow:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



/* 
	Menu Effects
*/
/* Bellow line */
.ash-menu-subline .nav-link::before {
    position: absolute;
    content: '';
    bottom: -1px;
    right: 100%;
    width: 10px;
    height: 3px;
    background: var(--thm-color-special-1);
    opacity: 0;
    transition: all .2s ease, right 0s ease .2s;
}
.ash-menu-subline:hover .nav-link::before {
    right: 0;
    opacity: 1;
    width: 100%;
    transition: right .2s ease, width .2s ease .2s;
}

/* submenu */
.ash-menu-slide-right .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-100px,0,0);
}
.ash-menu-slide-right:hover .dropdown-menu {
    display: block;
    margin-top: 1px; 
    border-bottom: 2px solid var(--thm-color-special-1);
    opacity: 1;
    visibility: visible;
    transform: translate3d(0,0,0);
    transition-delay: .2s;
    transition-duration: .3s;
}








