/* ==================== */
/* SERVICE DETAIL PAGE  */
/* ==================== */

/* Hero Section */
.service-hero {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	margin-top: var(--header-height);
	overflow: hidden;
}

.service-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(27, 27, 27, 0.7) 50%, rgba(0, 0, 0, 0.85) 100%);
	z-index: 1;
}

.service-hero .container {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 4rem 1.5rem;
}

.service-content {
	background-color: var(--color-white);
}

/* Breadcrumb */
.breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

.breadcrumb a {
	color: var(--color-text-muted);
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: var(--color-primary);
}

.breadcrumb span {
	color: var(--color-text-muted);
}

.breadcrumb span:last-child {
	color: var(--color-primary);
	font-weight: 600;
}

/* Hero Title */
.service-hero-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 900;
	color: var(--color-primary);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;

	/* Apply texture effect */
	background-image: url("../Images/orange-grunge-texture.png");
	background-size: cover;
	background-position: center;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
}

.service-hero-subtitle {
	font-size: 1.25rem;
	color: var(--color-text);
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Service Content Layout */
.service-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 3rem;
	align-items: start;
}

.service-main {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

/* ==================== */
/* ARTICLE STYLE LAYOUT */
/* ==================== */

/* Introduction Section with horizontal lines */
.article-introduction {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-bottom: 3rem;
	animation: fadeInUp 0.6s ease-out forwards;
}

.intro-line {
	flex: 1;
	height: 2px;
	background: linear-gradient(to right, transparent, var(--color-primary), transparent);
}

.intro-text {
	max-width: 800px;
	text-align: center;
}

.intro-text p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-dark);
	margin: 0;
	font-style: italic;
	font-weight: 500;
}

/* Article Sections */
.article-section {
	margin-bottom: 4rem;
	animation: fadeInUp 0.6s ease-out forwards;
	opacity: 0;
}

.article-section:nth-child(2) {
	animation-delay: 0.1s;
}

.article-section:nth-child(3) {
	animation-delay: 0.2s;
}

.article-section:nth-child(4) {
	animation-delay: 0.3s;
}

.article-section:nth-child(5) {
	animation-delay: 0.4s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Article Section Title */
.article-section-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	font-style: italic;
	color: var(--color-dark);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--color-primary);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.article-section-title .title-icon {
	font-size: 1.5rem;
	color: var(--color-primary);
}

/* Article Text */
.article-text {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-dark);
	margin-bottom: 2rem;
	text-align: justify;
}

.article-text p {
	margin-bottom: 1.25rem;
	color: var(--color-dark);
}

.article-text strong {
	color: var(--color-primary-2);
	font-weight: 600;
}

/* Article Image */
.article-image {
	width: 100%;
	margin-bottom: 2rem;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.article-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Two-column layout for text + image */
.article-content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	margin-bottom: 2rem;
}

.article-content-grid .article-text {
	margin-bottom: 0;
}

.article-content-grid .article-image {
	margin-bottom: 0;
}

/* Alternate layout - image first */
.article-section.image-first .article-content-grid {
	grid-template-columns: 1fr 1fr;
}

.article-section.image-first .article-image {
	order: 1;
}

.article-section.image-first .article-text {
	order: 2;
}

/* Full width image variant */
.article-section.full-width-image .article-image {
	max-height: 500px;
}

.article-section.full-width-image .article-image img {
	height: 500px;
	object-fit: cover;
}

/* Sidebar */
.service-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 2rem);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.sidebar-card {
	background: white;
	padding: 2rem;
	border-radius: 0.75rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	border: 1px solid #e5e7eb;
}

.sidebar-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 1rem;
}

.sidebar-card p {
	font-size: 0.95rem;
	color: #6b7280;
	margin-bottom: 1.5rem;
}

/* Contact Card */
.contact-card {
	background: linear-gradient(135deg, var(--color-primary) 0%, #ffc75f 100%);
	color: var(--color-dark);
	border: none;
}

.contact-card h3,
.contact-card p {
	color: var(--color-dark);
}

.contact-info {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: var(--color-dark);
}

.contact-item i {
	color: var(--color-dark);
}

/* Other Services List */
.other-services-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.other-services-list li {
	margin-bottom: 0.75rem;
}

.other-services-list a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem;
	color: var(--color-dark);
	font-weight: 500;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}

.other-services-list a:hover {
	background: #f9fafb;
	color: var(--color-primary);
	transform: translateX(5px);
}

.other-services-list a::before {
	content: "→";
	font-weight: 700;
	color: var(--color-primary);
}

/* Buttons */
.btn-block {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

/* ==================== */
/* RESPONSIVE - TABLET  */
/* ==================== */
@media (max-width: 992px) {
	.service-layout {
		grid-template-columns: 1fr;
	}

	.service-sidebar {
		position: static;
		grid-row: 2;
	}

	.service-hero {
		min-height: 400px;
	}

	.service-hero-title {
		font-size: clamp(2rem, 8vw, 3.5rem);
	}

	.article-content-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.article-section.image-first .article-image {
		order: 1;
	}

	.article-section.image-first .article-text {
		order: 2;
	}
}

/* ==================== */
/* RESPONSIVE - MOBILE  */
/* ==================== */
@media (max-width: 768px) {
	.service-hero {
		min-height: 350px;
		margin-top: 58px;
	}

	.service-hero .container {
		padding: 3rem 1.5rem;
	}

	.service-hero-title {
		font-size: clamp(1.75rem, 9vw, 2.5rem);
	}

	.service-hero-subtitle {
		font-size: 1rem;
	}

	.service-main {
		gap: 2.5rem;
	}

	.article-introduction {
		flex-direction: column;
		gap: 1.5rem;
	}

	.intro-line {
		width: 100%;
		height: 2px;
	}

	.intro-text p {
		font-size: 1.05rem;
	}

	.article-section {
		margin-bottom: 3rem;
	}

	.article-section-title {
		font-size: clamp(1.5rem, 5vw, 1.75rem);
	}

	.article-text {
		font-size: 1rem;
		text-align: left;
	}

	.article-content-grid {
		grid-template-columns: 1fr;
	}

	.article-section.full-width-image .article-image {
		max-height: 350px;
	}

	.article-section.full-width-image .article-image img {
		height: 350px;
	}
}

/* ==================== */
/* RESPONSIVE - SMALL MOBILE */
/* ==================== */
@media (max-width: 480px) {
	.service-hero {
		min-height: 300px;
	}

	.service-hero .container {
		padding: 2.5rem 1rem;
	}

	.breadcrumb {
		font-size: 0.8rem;
		gap: 0.35rem;
	}

	.sidebar-card {
		padding: 1.5rem;
	}

	.intro-text p {
		font-size: 1rem;
	}

	.article-text {
		font-size: 0.95rem;
	}

	.article-section.full-width-image .article-image {
		max-height: 280px;
	}

	.article-section.full-width-image .article-image img {
		height: 280px;
	}
}
/* ==================== */
/* MODERN SIDEBAR STYLE */
/* ==================== */

.service-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 2rem);
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* Base Card Style */
.sidebar-card {
	background: #ffffff;
	padding: 2.25rem;
	border-radius: 5px 70px 5px 5px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--color-dark);
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 0.75rem;
}

/* Petite ligne décorative sous le titre */
.sidebar-card h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--color-primary);
	border-radius: 2px;
}

/* Other Services List Customization */
.other-services-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.other-services-list li {
	margin-bottom: 0.5rem;
}

.other-services-list a {
	display: flex;
	align-items: center;
	justify-content: space-between; /* Pour pousser la flèche à droite */
	padding: 1rem 1.25rem;
	color: #4b5563;
	font-weight: 500;
	border-radius: 0.75rem;
	background: #f9fafb;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.other-services-list a::before {
	display: none; /* On enlève l'ancien contenu pour un look plus clean */
}

/* Ajout d'une flèche icône moderne à droite au survol */
.other-services-list a::after {
	content: "\f061"; /* FontAwesome arrow-right */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.8rem;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
}

.other-services-list a:hover {
	background: var(--color-dark);
	color: #ffffff;
	padding-left: 1.5rem;
}

.other-services-list a:hover::after {
	opacity: 1;
	transform: translateX(0);
}

/* ==================== */
/* MODERN CONTACT CARD  */
/* ==================== */

.contact-card {
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	color: #ffffff;
	border: none;
	overflow: hidden;
	position: relative;
}

/* Effet de brillance en arrière-plan */
.contact-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
	z-index: 0;
}

.contact-card * {
	position: relative;
	z-index: 1;
}

.contact-card h3 {
	color: #ffffff;
}

.contact-card p {
	color: #9ca3af;
	line-height: 1.6;
}

/* Bouton Contact Stylisé */
.contact-card .btn-primary {
	background: var(--color-primary);
	border: none;
	padding: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0.75rem;
	box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
	margin-top: 1rem;
}

.contact-card .btn-primary:hover {
	background: #ffffff;
	color: var(--color-primary);
	transform: scale(1.02);
}

/* Info de contact en bas */
.contact-info {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
	transition: color 0.3s ease;
}

.contact-item i {
	width: 35px;
	height: 35px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	font-size: 0.9rem;
}

.contact-item:hover {
	color: var(--color-primary);
}
/* ==================== */
/* FULL WIDTH SECTION STYLE  */
/* ==================== */

/* Section avec image pleine largeur */
.full-width-section {
	margin-bottom: 4rem;
	animation: fadeInUp 0.6s ease-out forwards;
}

.full-width-section .article-section-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	font-style: italic;
	color: var(--color-dark);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--color-primary);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.full-width-section .article-text {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-dark);
	margin-bottom: 2rem;
	text-align: justify;
}

.full-width-section .article-text p {
	margin-bottom: 1.25rem;
	color: var(--color-dark);
}

.full-width-section .article-text strong {
	color: var(--color-primary-2);
	font-weight: 600;
}

/* Image pleine largeur */
.full-width-section .article-image.full-width {
	width: 100%;
	margin-top: 2rem;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.full-width-section .article-image.full-width:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.full-width-section .article-image.full-width img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

/* ==================== */
/* RESPONSIVE - TABLET  */
/* ==================== */
@media (max-width: 992px) {
	.full-width-section .article-text {
		font-size: 1rem;
		text-align: left;
	}

	.full-width-section .article-image.full-width img {
		max-height: 400px;
	}
}

/* ==================== */
/* RESPONSIVE - MOBILE  */
/* ==================== */
@media (max-width: 768px) {
	.full-width-section {
		margin-bottom: 3rem;
	}

	.full-width-section .article-section-title {
		font-size: clamp(1.5rem, 5vw, 1.75rem);
	}

	.full-width-section .article-text {
		font-size: 1rem;
		text-align: left;
	}

	.full-width-section .article-image.full-width {
		margin-top: 1.5rem;
	}

	.full-width-section .article-image.full-width img {
		max-height: 300px;
	}
}

/* ==================== */
/* RESPONSIVE - SMALL MOBILE */
/* ==================== */
@media (max-width: 480px) {
	.full-width-section .article-text {
		font-size: 0.95rem;
	}

	.full-width-section .article-image.full-width img {
		max-height: 250px;
	}
}
