/*
	assets/css/custom-slider.css
	Styles personnalisés simplifiés et premium pour le slider d'accueil (Strat'Team)
	Indentation : Tabulations obligatoires
*/

.clean-custom-slider {
	position: relative;
	width: 100%;
	height: 1000px;
	overflow: hidden;
	background-color: #ffffff;
}

.custom-slider-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../img/consultant2-slider-bg.png') no-repeat center bottom / contain;
	z-index: 1;
	opacity: 0;
	animation: customFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.custom-slider-container {
	position: relative;
	width: 100%;
	max-width: 1640px;
	height: 100%;
	margin: 0 auto;
	padding: 0 40px;
	z-index: 2;
}

.custom-slider-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	position: relative;
}

.custom-slider-text-wrap {
	width: 50%;
	max-width: 650px;
	padding-bottom: 100px;
}

.custom-slider-title-container {
	position: relative;
	margin-bottom: 40px;
}

.custom-title-text {
	position: relative;
	z-index: 3;
}

.custom-title-highlight {
	position: relative;
	display: inline-block;
	z-index: 2;
}

.custom-slider-circle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background-color: #e84f13;
	z-index: -1;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
	animation: customScaleIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.custom-slider-title {
	font-family: 'Poppins', sans-serif;
	font-size: 90px;
	font-weight: 600;
	color: #041f3f;
	line-height: 105px;
	margin: 0;
	position: relative;
	z-index: 2;
	opacity: 0;
	transform: translateY(30px);
	animation: customFadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.custom-slider-subtitle {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #e84f13;
	line-height: 30px;
	margin: 0;
	max-width: 525px;
	opacity: 0;
	transform: translateY(20px);
	animation: customFadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.custom-slider-image-wrap {
	width: 50%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.custom-slider-portrait {
	max-height: 980px;
	width: auto;
	object-fit: contain;
	display: block;
	z-index: 5;
	opacity: 0;
	transform: translateX(40px);
	animation: customFadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.custom-slider-linkedin {
	position: absolute;
	right: 40px;
	bottom: 80px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #041f3f;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	z-index: 10;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	transform: scale(0.5);
	animation: customScaleInNormal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

.custom-slider-linkedin i {
	font-size: 26px;
	line-height: 1;
}

.custom-slider-linkedin:hover {
	background-color: #e84f13;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(232, 79, 19, 0.4);
}

/* Animations CSS */
@keyframes customFadeIn {
	to {
		opacity: 1;
	}
}

@keyframes customScaleIn {
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes customScaleInNormal {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes customFadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes customFadeInRight {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Media Queries Responsive */
@media (max-width: 1440px) {
	.clean-custom-slider {
		height: 850px;
	}
	.custom-slider-container {
		max-width: 1200px;
	}
	.custom-slider-title {
		font-size: 70px;
		line-height: 85px;
	}
	.custom-slider-circle {
		width: 180px;
		height: 180px;
	}
	.custom-slider-portrait {
		max-height: 830px;
	}
}

@media (max-width: 1200px) {
	.clean-custom-slider {
		height: 750px;
	}
	.custom-slider-container {
		max-width: 960px;
	}
	.custom-slider-title {
		font-size: 56px;
		line-height: 68px;
	}
	.custom-slider-circle {
		width: 150px;
		height: 150px;
	}
	.custom-slider-portrait {
		max-height: 730px;
	}
	.custom-slider-subtitle {
		font-size: 18px;
		line-height: 26px;
	}
}

@media (max-width: 991px) {
	.clean-custom-slider {
		height: auto;
		min-height: 650px;
		padding-top: 100px;
	}
	.custom-slider-content {
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
	}
	.custom-slider-text-wrap {
		width: 100%;
		max-width: 700px;
		padding-bottom: 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.custom-slider-title {
		font-size: 48px;
		line-height: 58px;
	}
	.custom-slider-circle {
		width: 120px;
		height: 120px;
	}
	.custom-slider-subtitle {
		margin: 0 auto;
	}
	.custom-slider-image-wrap {
		width: 100%;
		height: 400px;
		justify-content: center;
	}
	.custom-slider-portrait {
		max-height: 400px;
	}
	.custom-slider-linkedin {
		right: auto;
		left: auto;
		bottom: 20px;
	}
}

@media (max-width: 576px) {
	.clean-custom-slider {
		padding-top: 90px;
	}
	.custom-slider-title {
		font-size: 36px;
		line-height: 44px;
	}
	.custom-slider-circle {
		width: 90px;
		height: 90px;
	}
	.custom-slider-subtitle {
		font-size: 16px;
		line-height: 24px;
	}
	.custom-slider-image-wrap {
		height: 320px;
	}
	.custom-slider-portrait {
		max-height: 320px;
	}
}
