.timeline-block {
position: relative;
margin: 1rem auto;
max-width: var(--wp--style--global--content-size);
} .timeline-layout {
display: flex;
gap: 3rem;
padding: 2rem;
align-items: center; min-height: calc(85vh - 140px);
justify-content: center;
max-width: 100%; box-sizing: border-box; } .timeline-left-column,
.timeline-right-column {
height: 100%; box-sizing: border-box; }
.timeline-left-column {
width: 40%;
position: relative;
height: 100%; }
.timeline-steps {
position: relative; display: flex;
flex-direction: column;
justify-content: space-around;
height: 100%;
}
.timeline-line {
position: absolute;
left: 15px;
top: 0;
bottom: 0;
width: 2px;
background-color: #cccccc;
border-radius: 1px;
z-index: -1;
}
.timeline-line-progress {
width: 100%;
height: 0%;
background: linear-gradient(180deg, #eb841f 0%, #f8a27e 100%);
border-radius: 1px;
transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-step {
padding: 0.5rem 0; opacity: 0.3;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative;
display: flex;
align-items: center;
gap: 1rem;
transform: translateY(0);
} .timeline-step.active,
.timeline-step.passed {
opacity: 1 !important; }
.timeline-step:hover {
transform: translateX(5px);
}
.timeline-step:focus {
outline: none;
}
.timeline-step.active {
opacity: 1;
transform: translateY(0);
}
.timeline-step.active:hover {
transform: translateX(0);
} .timeline-step.passed:hover {
transform: translateX(3px);
}
.timeline-step.passed .timeline-bullet {
background-color: #eb841f;
box-shadow: 0 0 0 4px rgba(235, 132, 31, 0.1);
}
.timeline-step.passed .timeline-title {
color: #232323;
}
.timeline-bullet {
width: 30px;
height: 30px;
border-radius: 50%;
background-color: rgba(235, 132, 31, 0.2);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.4s ease;
flex-shrink: 0;
z-index: 2;
position: relative;
}
.timeline-step:hover .timeline-bullet {
transform: scale(1.05);
}
.timeline-step.active .timeline-bullet {
background-color: #eb841f;
box-shadow: 0 0 0 8px rgba(235, 132, 31, 0.2);
transform: scale(1.1);
}
.timeline-step.passed .timeline-bullet {
background-color: #eb841f;
}
.timeline-bullet-inner {
width: 24px;
height: 24px;
border-radius: 50%;
background-color: #eb841f;
background-image: url(//alkhaliji.dev.letb-synergie.com/wp-content/themes/alkhaliji-france/assets/images/UI/icone_pulse.svg);
background-size: cover;
background-position: center;
transition: all 0.3s ease;
}
.timeline-step.active .timeline-bullet-inner {
transform: scale(1.2);
}
.timeline-step-content {
flex: 1;
}
.timeline-title {
font-size: 1.25rem;
font-weight: 600;
color: #232323;
transition: all 0.3s ease;
margin: 0 0 0.5rem 0;
cursor: inherit;
}
.timeline-description {
font-size: 0.95rem;
font-weight: 400;
color: #919191;
line-height: 1.5;
margin: 0;
transition: all 0.3s ease;
cursor: inherit;
}
.timeline-step.active .timeline-title {
transform: translateX(8px);
font-weight: 700;
}
.timeline-step.active .timeline-description {
transform: translateX(8px);
}
.timeline-right-column {
width: 60%;
height: 100%; }
.timeline-image-container {
width: 100%;
height: 100%;
position: relative;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
background: #f5f5f5;
}
.timeline-main-image {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition: opacity 0.4s ease;
}
.timeline-placeholder {
width: 100%;
aspect-ratio: 4 / 3;
display: flex;
align-items: center;
justify-content: center;
background: #f0f0f0;
color: #666;
font-size: 1rem;
}
.progress-indicator {
position: absolute;
bottom: 1rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.5rem;
z-index: 10;
}
.progress-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transition: all 0.3s ease;
}
.progress-dot.active {
background: white;
width: 24px;
border-radius: 4px;
}
@media (max-width: 1024px) and (min-width: 769px) { .timeline-layout {
min-height: calc(80vh - 120px);
gap: 2rem;
padding: 1.5rem;
}
.timeline-left-column {
width: 45%;
}
.timeline-right-column {
width: 55%;
}
.timeline-step {
padding: 0.75rem 0;
}
.timeline-title {
font-size: 1.15rem;
}
.timeline-description {
font-size: 0.9rem;
}
}
@media (max-width: 768px) {
.timeline-layout {
flex-direction: column;
padding: 1rem; min-height: auto;
gap: 1.5rem;
align-items: stretch;
}
.timeline-left-column,
.timeline-right-column {
width: 100%;
height: auto; }
.timeline-left-column {
order: 2; }
.timeline-right-column {
order: 1; }
.timeline-steps {
height: auto; min-height: auto;
gap: 1rem; }
.timeline-image-container {
height: auto;
min-height: 300px; aspect-ratio: 16 / 9; }
.timeline-main-image {
height: 100%;
width: 100%;
object-fit: cover;
}
.timeline-step {
padding: 0.75rem 0;
margin: 0 -0.5rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.timeline-title {
font-size: 1.1rem;
}
.timeline-description {
font-size: 0.9rem;
}
.timeline-step.active .timeline-title {
transform: translateX(5px);
}
.timeline-step.active .timeline-description {
transform: translateX(5px);
}
} @media (max-width: 480px) {
.timeline-layout {
gap: 1rem;
padding: 0.75rem;
}
.timeline-image-container {
min-height: 250px;
}
.timeline-step {
padding: 0.5rem 0;
}
.timeline-title {
font-size: 1rem;
}
.timeline-description {
font-size: 0.85rem;
}
}