﻿/*
 Theme Name: GeneratePress Child-original
 Author: Admin
 text-domain: generatepress-child
 Template: generatepress
 Version: 2.5.5
*/
/* = Theme customization starts below here = is Blocked
------------------------------------------------------- */


/* =======================================================================
   Custom CSS for Slider
   ======================================================================= */
#masthead{
	z-index:3;
	background-color:rgb(255 255 255 / 84%);
}
/*.mobile-menu{
	display:none;
}*/
#site-navigation {
	background-color:rgb(93 114 114 / 0%);
	z-index:3;
	color:#000;
}
.entry-title{
	display:none;
}
#modal-1{
	width:80%!important;
	height:1000px!important;
}
.wp-block-navigation__responsive-container-close {
	    margin-left: 35px!important;
	    margin-top: 27px!important;
}
.wp-block-navigation__responsive-container-close svg {
	    height:31px!important;
	width:31px!important;
}
.gb-container-362411cc nav {
    padding: 4px!important;
    border-radius: 5px!important;
}



/* === Slider Wrapper === */
.lacobel-hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    --slide-duration: 8000ms;
}
.lacobel-hero-slider .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.lacobel-hero-slider .hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.lacobel-hero-slider .hero-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 115%; 
    animation: kenburns var(--slide-duration, 8000ms) linear infinite alternate;
	animation-play-state: paused;  }
.lacobel-hero-slider .hero-slide.is-active .hero-inner {
    animation-play-state: running;
}
.lacobel-hero-slider .hero-card {
    position: absolute;
    left: 3rem;
    bottom: 3rem;
    z-index: 1;
    max-width: 420px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 2rem 2.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.5s;
}
.lacobel-hero-slider .hero-slide.is-active .hero-card {
    opacity: 1;
    transform: translateY(0);
}
@keyframes kenburns {
    0% {
        background-size: 115%;
    }
    100% {
        background-size: 135%;
    }
}
/*=======================================*/

.gp-material-card {
    position: relative;
    text-align: center;
}
.gp-material-top,
.gp-material-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}
.gp-material-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}
.gp-arrow-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -3px;
}

.gp-arrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #c4001d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #c4001d;
    background: #ffffff;
}

.gp-arrow-line {
    width: 3px;
    height: 136px;          /* طول خط – هرچقدر خواستی تغییر بده */
    background-color: #c4001d;
}
.gp-material-bottom {
    opacity: 0;
    transform: translateY(20px);
}
.gp-material-card:hover .gp-material-top {
    opacity: 0;
    transform: translateY(-20px);
}
.gp-material-card:hover .gp-material-bottom {
    opacity: 1;
    transform: translateY(0);
}

.gp-material-slider {
    position: relative;
    overflow: hidden;        
    padding: 20px 0 40px;   
}
.gp-material-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transform: translateX(0);
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.gp-material-card {
    flex: 0 0 auto;         
    min-width: 260px;       
}
.gp-material-rail {
    position: relative;
    height: 2px;
    background-color: #dddddd;
    margin-top: 24px;
}

.gp-material-handle {
    position: absolute;
    top: 50%;
    left: 0%;                       
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #c4001d;
    box-shadow: 0 6px 18px rgba(0,0,0,0.16);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gp-material-handle-icon {
    font-size: 22px;
    color: #ffffff;
    line-height: 1;
}

@media (max-width: 768px) {

    .lacobel-hero-slider .hero-inner {
        background-size: 150%;
        animation: none;
    }
    .lacobel-hero-slider .hero-slide.is-active .hero-inner {
        animation: kenburns-mobile var(--slide-duration, 8000ms) ease-in-out forwards;
    }
    @keyframes kenburns-mobile {
        0% {
            transform: translate3d(0, 0, 0) scale(1.02);
        }
        100% {
            transform: translate3d(-16px, -8px, 0) scale(1.08);
        }
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
}

.animate-slide-up.play {
    animation: slideUpFade 0.8s ease-out forwards;
}

@media (max-width: 768px) {

    .gp-material-slider {
        padding: 10px 0 28px;  
    }
    .gp-material-track {
        gap: 14px;             
    }
	.gp-arrow-block {
		margin-bottom:9px;
	}
    .gp-material-title {
        font-size: 21px;
    }
    .gp-arrow-icon {
        width: 35px;
        height: 35px;
        font-size: 22px;
        border-width:2px;
    }

    .gp-arrow-line {
        height: 110px;        
    }
    .gp-material-rail {
        margin-top: 140px!important;
		margin-bottom:50px !important;
		margin-left:15px!important;
		margin-right:15px;
    }
    .gp-material-handle {
        width: 53px;
        height: 53px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.18);
		left:2%
    }

    .gp-material-handle-icon {
        font-size: 18px;
    }
    .gp-material-top {
        gap: 8px;
    }
	.gp-material-bottom{
		display:none;
	}
	 .gp-material-card:hover .gp-material-top {
        opacity: 1;
    }

}
@media (max-width: 480px) {


    .gp-material-title {
        font-size: 17px;
    }

    .gp-arrow-line {
        height: 95px;
    }
}

.gp-material-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 120px;
}

.gp-material-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: #d0d0d0;
    cursor: pointer;
}

.gp-material-dot.is-active {
    width: 16px;
    border-radius: 999px;
    background: #c4001d;
}

.bg-hover{
	background-color:#fff!important;
	
}
.bg-hover .gb-icon{
	background-color:#454c87!important;
}

.bg-hover:hover{
	background-color:#454c87!important;
	
}
.bg-hover:hover{
	color:#fff!important;
}
@keyframes shake {
    0% { transform: translate(0, 0) rotate(0); }
    20% { transform: translate(-2px, 0) rotate(-3deg); }
    40% { transform: translate(2px, 0) rotate(3deg); }
    60% { transform: translate(-2px, 0) rotate(-3deg); }
    80% { transform: translate(2px, 0) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0); }
}
.bg-hoveri:hover {
    animation: shake 0.4s ease-in-out infinite;
}
.bg-hero {
    background-image:
		 linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.67)),
		url("https://www.lacobel.ir/wp-content/uploads/2025/11/Untitled-design-12.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	background-attachment: scroll;
    background-position: center center;
}
@media (max-width: 768px) {
	 .gp-material-rail {
        display: none;
    }
	.gp-material-dot:{
		display:none;}
	.lacobel-hero-slider .hero-card {
        position: absolute;
        top: auto !important;
        bottom: -2px;
        right: 45%;
        transform: translateX(-50%);
		left:0rem;
        max-width: calc(100% - 3rem);
        width: auto;
        margin: 0;
        padding: 1.2rem 1.4rem;
        text-align: center;
    }
    .bg-hero {
        background-size: cover;          
        background-position: center top; 
    }
	.gpp-img{
		height:250px!important;
		width:300px!important;

	}
	
}
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
}

.animate-slide-up.play {
    animation: slideUpFade 0.8s ease-out forwards;
}