
 /* Custom animation for marquee */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.hero {
  overflow: hidden;
  padding-top: 1rem;
  width: 100%;
  background-image: url("../img/bg-hero.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: top right, center;
  background-size: cover;
 
}

@media (min-width: 1024px) { /* Assuming lg: is equivalent to 1024px */
    .hero {
        padding-bottom: 16rem;
		background-size: cover;
	}
	.cta {
		background-image:url("../img/bg-pb.jpg");
	}
}
@media (max-width:1024px) {
	.hero {
		background-image:url('../img/bg-hero.jpg');
	}
}
.menu.uk-active {
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	background: white;
}
@media(min-width:768px) {
	.logo {
		opacity:0;
	}
}
.hero-title {
	text-shadow:1px 1px 0.5px #c1272d;
}
.gold-outline {
	text-shadow:1px 1px 0.5px #CC9901;
}

/* Modal styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(0px);
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
	background-color: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
}

.modal-content {
	transform: scale(0.7);
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	max-width: 90vw;
	margin: 20px;
}

.modal-overlay.active .modal-content {
	transform: scale(1.5);
	opacity: 1;
}

.modal-overlay.closing {
	opacity: 0;
	background-color: rgba(0, 0, 0, 0);
	backdrop-filter: blur(0px);
}

.modal-overlay.closing .modal-content {
	transform: scale(0.7);
	opacity: 0;
}

body.modal-open {
	overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 640px) {
	.modal-overlay.active .modal-content {
		transform: scale(1.2);
	}
}
/* Testimonials */
 .testimonial-container {
	overflow: hidden;
	display: grid;
	grid-template-rows: repeat(3, 1fr);
	gap: 20px;
	align-items: center;
}

.testimonial-row {
	display: flex;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.testimonial-row-content {
	display: flex;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	width: max-content;
}
@media(max-width:600px) {
	.testimonial-row-content {
		display:block;
	}
	.testimonial-container {
		display: block;
	}
	/* Segunda fila */
	.testimonial-row:nth-child(2) .testimonial-row-content {
		display:none;
	}

	/* Tercera fila */
	.testimonial-row:nth-child(3) .testimonial-row-content {
		display:none;
	}
}
.testimonial-group {
	display: flex;
	flex-shrink: 0;
}

.testimonial-item {
	flex: 0 0 auto;
	min-width: 300px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@keyframes scrollLeft {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-50%)); }
}

@keyframes scrollRight {
	from { transform: translateX(calc(-50%)); }
	to { transform: translateX(0); }
}

.testimonial-row-content {
	will-change: transform;
	backface-visibility: hidden;
}

.testimonial-row:hover .testimonial-row-content {
	animation-play-state: paused;
}
@media(min-width:600px) {
	/* Primera fila */
	.testimonial-row:nth-child(1) .testimonial-row-content {
		animation: scrollLeft 120s linear infinite;
	}

	/* Segunda fila */
	.testimonial-row:nth-child(2) .testimonial-row-content {
		animation: scrollRight 105s linear infinite;
	}

	/* Tercera fila */
	.testimonial-row:nth-child(3) .testimonial-row-content {
		animation: scrollLeft 135s linear infinite;
	}
}

.testimonial-item {
	flex: 0 0 auto;
	min-width: 300px;
}

@keyframes scrollLeft {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-50%));
	}
}

@keyframes scrollRight {
	from {
		transform: translateX(calc(-50%));
	}
	to {
		transform: translateX(0);
	}
}

.testimonial-row-content {
	will-change: transform;
	backface-visibility: hidden;
}

.testimonial-row:hover .testimonial-row-content {
	animation-play-state: paused;
}