.catalogues-section {
	height: 100vh;

	display: flex;
	overflow: hidden;
}

.catalogue-section {
	flex: 1;
	position: relative;
	overflow: hidden;
	border: 5px solid black;
}

.catalogue-bg {
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
	overflow: hidden;
	flex: 1;
	height: 100%;

	transition: transform 0.3s ease-in-out;
}

.catalogue-bg:hover {
	transform: scale(1.1);
}

.link {
	position: relative;
	text-decoration: none; /* Remove default underline */
	color: white;
	cursor: pointer;
	text-wrap: nowrap;
}

.link::after {
	content: "";
	position: absolute;
	bottom: -2px; /* Adjust as needed to position the underline */
	left: 0;
	width: 0;
	height: 2px;
	opacity: 0;
	width: 100%;
	background-color: white;
	transition: opacity 0.3s ease-in-out; /* Transition for smooth width change */
}

.link:hover::after {
	opacity: 1; /* Expand the underline on hover */
}

.first-catalogue {
	background-image: url("../../assets/home-images/first-image-catalogue.jpg");
	background-position: center;
	border-left: 0;
}

.second-catalogue {
	background-image: url("../../assets/home-images/second-image-catalogue.jpg");
	border-right: 0;
	background-position: center;
}

.catalogue-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #0001014d;
	padding: 3rem 4rem;
	text-align: center;
	color: white;

	text-shadow: rgba(8, 2, 2, 0.6) 0px 0px 10px;
}

@media only screen and (max-width: 976px) {
	.catalogues-section {
		flex-direction: column;
	}

	.catalogue-text {
		min-width: 70%;
		padding: 2rem 3rem;
	}
}
