/*
 Theme Name:     Maison Lourve Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       divi
 Version:        1.0.0
*/

@import url("../divi/style.css");
#main-header { box-shadow: none !important; }
.et_pb_section { padding-top: 0px !important; padding-bottom: 0px !important; }
h2 { font-size: 30px; font-weight: 700; text-transform: uppercase; }
.headercontainer { width: 100%; }
.headercontainerleft { width: 30%; float: left; }
.headercontainerright { width: 70%; float: left; }
.headercontainerrightfull { width: 100%; }
.topheadercontainer { float: right; background: linear-gradient(to right, white, #e8e8e8); padding: 15px 20px; }
.topheaderitems { float: left; }
.bottomheadercontainer { float: right; }
.bottomheadercontainer .menu-item > a { font-size: 18px !important; }
.topheaderitems .menu-item > a { text-transform: uppercase; letter-spacing: 0px !important; }
.topheaderitems .custom-menu { gap: 20px !important; }
.custom-menu-container { width: 100%; margin: 0 auto; }
.custom-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; gap: 40px; }
.custom-menu .menu-item { position: relative; }
.custom-menu .menu-item > a { text-decoration: none; color: #606060; font-size: 14px; font-weight: 300; position: relative; padding-bottom: 5px; letter-spacing: 2px; }
.custom-menu .menu-item > a::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background-color: #91b472; transition: all 0.3s ease; transform: translateX(-50%); }
.custom-menu .menu-item > a:hover::after { width: 100%; }
.custom-menu .submenu { list-style: none; margin: 0; padding: 0; position: absolute; top: 30px; left: 0; background-color: white; border: 1px solid #ddd; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; min-width: 200px; z-index: 1000; }
.custom-menu .menu-item:hover .submenu { opacity: 1; visibility: visible; }
.custom-menu .submenu .submenu-item { padding: 10px 15px; border-bottom: 1px solid #eee; }
.custom-menu .submenu .submenu-item:last-child { border-bottom: none; }
.custom-menu .submenu .submenu-item a { color: #333; text-decoration: none; display: block; transition: color 0.3s ease; }
.custom-menu .submenu .submenu-item a:hover { color: #91b472; }
.social-image-container { display: block; width: 36px; height: 36px; overflow: hidden; border-radius: 50%; transition: all 0.5s cubic-bezier(0.65,0.05,0.36,1); }
.social-image-container:hover .social-hover-image { transform: translateY(-8px); }
.language-item { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background-color: white; color: #767676; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.language-item.active { background-color: #767676; color: white; }
.language-item:hover { background-color: #767676; color: white; }
.showdesktop { display: block; }
.showmobile { display: none; }
.menu-icon { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 24px; cursor: pointer; }
.menu-icon span { width: 100%; height: 3px; background-color: #000; transition: all 0.3s ease; }
.mobile-menu-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background-color: #cadbba; transition: right 0.3s ease; z-index: 1000; display: flex; flex-direction: column; align-items: center; padding-top: 100px; overflow-y: scroll; }
.mobile-menu-overlay.open { right: 0; }
.close-btn { position: absolute; top: 75px; right: 20px; font-size: 30px; color: #000; cursor: pointer; }
.menu-content { width: 100%; height: calc(100% - 60px); overflow-y: auto; text-align: center; }
.menu-content ul { list-style: none; padding: 0; margin: 0; }
.menu-content ul li { margin: 15px 0; }
.menu-content ul li a { text-decoration: none; color: #000; font-size: 15px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.menu-content ul li.has-submenu .submenu-toggle { cursor: pointer; font-size: 12px; margin-left: 10px; transition: transform 0.3s ease; flex-shrink: 0; }
.menu-content ul li.has-submenu.open .submenu-toggle { transform: rotate(180deg); }
.menu-content ul li ul { display: none; padding-left: 20px; }
.menu-content ul li ul.open { display: block; }
.maisonlogo { max-height: 50px; }
/* ---------------- DESKTOP HEADER ---------------- */
.headermaison-top {
	display: grid;
	grid-template-columns: 350px 1fr 350px;
	align-items: center;
	width: 100%;
	padding: 1rem 2rem;
	/* border-bottom: 1px solid #ddd; */
	position: relative;
	z-index: 100;
}
.headermaison-top:before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #dadce0; }

/* Desktop Logo */
.headermaison-logo {
	width: 350px;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
	white-space: nowrap;
	display: block;
}

/* Mobile Menu Icon (Hidden Desktop) */
.headermaison-mobile-icon {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Desktop Center Nav */
.headermaison-center-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.headermaison-main-menu {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 2.5rem;
}

.headermaison-main-menu li {
	position: static;
	white-space: nowrap;
}

.headermaison-main-menu a {
	font-family: "Jost", sans-serif !important;
	font-variant: small-caps;
	font-weight: 500 !important;
	font-optical-sizing: auto ;
	text-decoration: none;
	color: #2E2A24;
	font-weight: 500;
	padding: 0.5rem 0;
	font-size: 1rem;
}

/* Desktop Right Profile */
.headermaison-profile {
	width: 350px;
	text-align: right;
	font-size: 1rem;
	white-space: nowrap;
}

/* Mobile Centered Logo (Hidden Desktop) */
.headermaison-mobile-logo {
	display: none;
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
}

/* ---------------- SUBMENU ---------------- */
.headermaison-submenu {
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	background: white;
	padding: 2rem;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.headermaison-submenu-columns {
	display: flex;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.headermaison-submenu-columns .headermaison-col {
	flex: 1;
}

.headermaison-submenu-columns h4 {
	margin-bottom: 1rem;
	font-family: "Jost", sans-serif !important;
	color: #2E2A24;
}

.headermaison-submenu-columns ul {
	list-style: none;
}

.headermaison-submenu-columns li {
	margin-bottom: 0.5rem;
}

.headermaison-submenu-columns a {
	color: #555;
	text-decoration: none;
}

.headermaison-main-menu li:hover .headermaison-submenu {
	display: block;
}
@media screen and (max-width: 980px) {
    .showdesktop { display: none; }
    .showmobile { display: block; }
	.headermaison-top {
		grid-template-columns: 100px 1fr 100px;
		padding: 1rem;
	}

	/* Hide Desktop Elements */
	.headermaison-logo,
	.headermaison-center-nav,
	.headermaison-main-menu {
		display: none !important;
	}

	/* Mobile Left: 100px, LEFT aligned */
	.headermaison-mobile-icon {
		display: block;
		width: 100px;
		text-align: left;
	}

	/* Mobile Center: DEAD CENTER, full width */
	.headermaison-mobile-logo {
		display: block;
		text-align: center;
		justify-self: center;
	}

	/* Mobile Right: 100px, RIGHT aligned (FIXED!) */
	.headermaison-profile {
		width: 100px;
		text-align: right;
		justify-self: end;
	}
    .headingicon { width: 25px; height: 25px; }
    .social-image-container { width: 25px; height: 25px; }
    .language-item { font-size: 12px; width: 25px; height: 25px; }
    .with-avatar .ab-item, #wp-admin-bar-wp-rocket .ab-item, .admin-bar-search .ab-item, #wp-admin-bar-top-secondary { display: none !important; }
    .mobilelogocenter { max-width: 150px; text-align: center; }
    .homepagefirstbanner { height: 350px; }
    .homepagebannerimage { min-height: 350px; padding-left: 0px; }
    .parallelogramcontent { max-width: 75%; }
    .parallelogramfloat { position: static; padding-left: 0px; }
    .parallelogramcontent { text-align: left; }
    .parallelogram { width: 100%; min-height: 100px; background-color: #cadbba; transform: none; display: block; align-items: center; justify-content: center; position: relative; }
    .parallelogramcontent { transform: none; max-width: 70%; margin: 0 auto; padding-top: 15px; padding-bottom: 15px; text-align: left; font-weight: 300; font-size: 18px; }
    .customparallelogram { position: relative; display: inline-block; padding: 20px; width: 100%; background-color: #cadbba; }
    .customparallelogram::before { content: ""; position: absolute; display: none; }
    .leftsidep { width: 100%; float: left; padding-left: 5%; padding-right: 5%; color: #666; text-align: right; font-weight: 300; padding-top: 15px; padding-bottom: 25px; font-size: 18px; }
    .rightsidep { width: 100%; float: left; padding-top: 25px; padding-left: 5%; padding-right: 5%; }
    .creditleft, .creditright { width: 100% !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }
    .latestnewsrightrightcontainer { width: 100%; }
    .latestnewsrightleftcontainer { width: 100%; }
    .service-image-container .overlay-text { font-size: 20px; }
    .spacepaddingbottom { padding-bottom: 35px !important; }
    .grid-container { grid-template-columns: repeat(1, 1fr); }
    .index-grid-container { grid-template-columns: repeat(1, 1fr); }
    .grid-item { grid-column: span 1; }
}