/* 
 * Kloecup Button Grid Over Collage Styles
 * @package kloecup-tr
 */

.lkrea-tr-wrapper {
	position: relative;
	width: 100%;
	min-height: 400px;
	padding: 80px 20px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #232550; /* Fallback fc-dark-blue */
	border-radius: 20px;
}

/* Background Collage */
.lkrea-tr-collage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: flex;
}

.lkrea-tr-photo {
	flex: 1;
	height: 100%;
	border-right: 1px solid rgba(255,255,255,0.1);
	transition: all 0.5s ease;
	overflow: hidden;
}
.lkrea-tr-photo:last-child {
	border-right: none;
}

.lkrea-tr-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: grayscale(30%);
	transition: all 0.5s ease;
}

.lkrea-tr-photo:hover img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.lkrea-tr-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	/* Color controlled by Elementor */
}

/* Button Grid Container */
.lkrea-tr-container {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1100px;
}

.lkrea-tr-nodes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 25px;
	width: 100%;
}

/* Individual Botonera node */
.lkrea-tr-node {
	text-decoration: none;
	display: block;
}

.lkrea-tr-node-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: rgba(255, 255, 255, 0.1); /* Glassy button background */
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 20px 40px;
	border-radius: 40px; /* Big pill/card shape */
	border: 1px solid rgba(255, 255, 255, 0.3); 
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 8px 32px rgba(0,0,0,0.15); /* Floating shadow */
	position: relative;
	overflow: hidden;
	min-width: 250px;
}

/* Subtle glow effect on the card inside */
.lkrea-tr-node-content::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
	border-radius: 40px;
}

.lkrea-tr-node-text {
	position: relative;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.3s ease;
	z-index: 2;
}

/* Pseudo-arrow to indicate clickability */
.lkrea-tr-node-text::after {
	content: "→";
	font-size: 20px;
	line-height: 1;
	font-weight: 300;
	transform: translateY(-1px);
	transition: transform 0.3s ease;
}

.lkrea-tr-node-preview {
	position: relative;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	white-space: nowrap;
	z-index: 2;
}

/* Hover States */
.lkrea-tr-node:hover .lkrea-tr-node-content {
	background: #F96431; /* Orange solid background */
	border-color: #F96431;
	transform: translateY(-8px);
	box-shadow: 0 12px 35px rgba(249, 100, 49, 0.5);
}

.lkrea-tr-node:hover .lkrea-tr-node-text {
	color: #ffffff !important;
}

.lkrea-tr-node:hover .lkrea-tr-node-text::after {
	transform: translate(5px, -1px); /* Slight arrow nudge */
}

.lkrea-tr-node:hover .lkrea-tr-node-preview {
	color: rgba(255,255,255,0.9);
}

/* Responsiveness */
@media (max-width: 767px) {
	.lkrea-tr-wrapper {
		padding: 40px 20px;
	}
	.lkrea-tr-nodes {
		flex-direction: column;
		gap: 20px;
	}
	.lkrea-tr-node-content {
		width: 100%;
		min-width: unset;
		padding: 18px 30px;
	}
	.lkrea-tr-collage {
		flex-direction: column;
	}
	.lkrea-tr-photo {
		border-right: none;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
}
