/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* --- BRAND COLOR OVERRIDES (Removing the default Green/Teal) --- */
::selection {
	background: #d12e2e;
	color: #FFF;
	text-shadow: none;
}

::-moz-selection {
	background: #d12e2e;
	color: #FFF;
	text-shadow: none;
}

::-webkit-selection {
	background: #d12e2e;
	color: #FFF;
	text-shadow: none;
}

/* Default Link Color - Was Green, now Brand Red or Neutral */
a {
	color: #d12e2e;
}

a:hover {
	color: #333;
}

/* Theme Color Utility Overrides */
.color {
	color: #d12e2e !important;
}

.bg-color {
	background-color: #d12e2e !important;
}

.border-color {
	border-color: #d12e2e !important;
}

/* Heading Spans (e.g. "Services" in "Produits & Services") */
h1>span:not(.nocolor):not(.badge),
h2>span:not(.nocolor):not(.badge),
h3>span:not(.nocolor):not(.badge),
h4>span:not(.nocolor):not(.badge),
h5>span:not(.nocolor):not(.badge),
h6>span:not(.nocolor):not(.badge) {
	color: #d12e2e;
}

/* --- REVO SLIDER CUSTOM STYLES --- */
.revo-slider-emphasis-text {
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -1px;
	font-family: 'Poppins', sans-serif;
	padding: 15px 20px;
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}

.revo-slider-desc-text {
	font-size: 20px;
	font-family: 'Lato', sans-serif;
	width: 650px;
	text-align: center;
	line-height: 1.5;
}

.revo-slider-caps-text {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 3px;
	font-family: 'Poppins', sans-serif;
}

.tp-video-play-button {
	display: none !important;
}

.tp-caption {
	white-space: nowrap;
}

/* --- MENU & HEADER CUSTOM STYLES --- */

/* Enhanced Header Contact Info */
.header-extras li {
	position: relative;
	padding-left: 5px;
}

.header-extras li .he-text {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #333;
	letter-spacing: 0.5px;
}

.header-extras li .he-text span {
	display: block;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: #777;
	margin-top: 2px;
	font-size: 13px;
}

.header-extras li i {
	color: #d12e2e !important;
	/* Brand Color for icons */
	font-size: 24px;
	margin-right: 15px !important;
	transition: transform 0.3s ease;
}

.header-extras li:hover i {
	transform: scale(1.1);
}

/* Navigation Menu Improvements */
.menu-link {
	font-family: 'Poppins', sans-serif;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 25px 15px !important;
	color: #333;
	position: relative;
	transition: color 0.3s ease;
}

/* Hover Effect: Sliding Underline */
.menu-link::after {
	content: '';
	position: absolute;
	bottom: 20px;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #d12e2e;
	/* Brand Color */
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.menu-item:hover .menu-link::after,
.menu-item.current .menu-link::after {
	width: 80%;
}

.menu-item:hover .menu-link {
	color: #d12e2e;
}

/* Sticky Header Polish */
#header-wrap {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	/* Subtle shadow for depth */
	background-color: #fff;
}

/* --- Mobile Optimization --- */
@media (max-width: 991.98px) {

	/* Adjust Header Extras for Mobile */
	.header-extras {
		margin: 0 !important;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-bottom: 5px;
	}

	.header-extras li {
		margin-bottom: 5px;
		padding: 0;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: flex-start;
		width: 280px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.header-extras li i {
		margin-right: 15px !important;
		margin-bottom: 0;
		font-size: 20px;
		width: 25px;
		text-align: center;
		margin-top: 2px;
		flex-shrink: 0;
	}

	.header-extras li .he-text {
		text-align: left;
	}

	/* Responsive Logo Alignment */
	#logo {
		margin-right: 0 !important;
		margin-bottom: 10px;
		text-align: center;
	}

	#logo a.standard-logo {
		display: inline-block;
	}

	/* Navigation Menu Mobile Styles */
	.menu-link {
		padding: 10px 5px !important;
		border-bottom: 1px solid #f5f5f5;
		text-align: center;
		font-size: 13px !important;
	}

	/* Disable hover underline effect on mobile for cleaner look */
	.menu-link::after {
		display: none;
	}

	/* Active state background for mobile */
	.menu-item.current .menu-link {
		background-color: #f9f9f9;
		color: #d12e2e;
	}

	/* Better spacing for container */
	.header-row {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	/* Mobile specific tweaks for the new grid */
	.phone-grid {
		align-items: flex-start;
	}
}

/* --- New Phone Number UX Styling --- */
.phone-grid {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 2px;
}

.phone-link {
	display: flex;
	align-items: center;
	font-family: 'Poppins', sans-serif;
	font-size: 13px !important;
	color: #555;
	text-decoration: none !important;
	transition: all 0.2s ease;
	font-weight: 600;
}

.phone-link .p-label {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: #999;
	margin-right: 6px;
	font-size: 11px;
	text-transform: uppercase;
}

.phone-link:hover {
	color: #d12e2e;
	transform: translateX(3px);
}

.phone-link.primary-number {
	/* slightly larger or bolder if needed */
}
/* --- EQUIPEMENT PAGE CUSTOM STYLES --- */

body.page-equipement {
    background-color: #f9f9f9;
}

.grid-filter-wrap {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.grid-filter {
    display: inline-flex;
    background: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    list-style: none;
    margin: 0;
    align-items: center;
}

.grid-filter li {
    margin: 0 4px;
}

.grid-filter li a {
    display: block;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.grid-filter li a:hover {
    color: #333;
    background-color: #f7f7f7;
    transform: translateY(-1px);
}

.grid-filter li.activeFilter a {
    background-color: #d12e2e;
    color: #fff;
    box-shadow: 0 8px 15px rgba(209, 46, 46, 0.25);
    transform: translateY(-1px);
}

.portfolio-item .grid-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover .grid-inner {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.portfolio-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    height: 250px !important;
    object-fit: cover;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-desc {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.portfolio-desc h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.portfolio-desc h3:hover {
    color: #d12e2e;
}

.portfolio-desc span {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    display: block;
}

.overlay-trigger-icon {
    background-color: #fff !important;
    color: #d12e2e !important;
}

