﻿
/* Estilos base del carrusel */
.carrusel-container {
	position: relative;
	max-width: 1200px;
	margin: 2rem auto;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel-inner {
	display: flex;
	transition: transform 0.5s ease;
}

/* Ejemplo de estilo para cada item del carrusel */
.carousel-item {
	flex: 0 0 100%;
	max-width: 100%;
}


.carrusel-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carrusel-slide {
	min-width: 100%;
	height: 500px;
	position: relative;
}

.carrusel-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
}

/* Controles de navegación */
.carrusel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.9);
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

	.carrusel-control:hover {
		background: white;
		transform: translateY(-50%) scale(1.1);
	}

	.carrusel-control.prev {
		left: 20px;
	}

	.carrusel-control.next {
		right: 20px;
	}

/* Indicadores */
.carrusel-indicadores {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
}

.indicador {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: all 0.3s;
}

	.indicador.activo {
		background: white;
		transform: scale(1.3);
	}

/* Efectos personalizados */
.carrusel-slide::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, rgba(0,0,0,0.4), transparent);
	pointer-events: none;
}

/* Efectos de transición */

/* Efecto fade */
.carrusel-slide {
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}

	.carrusel-slide.activo {
		opacity: 1;
	}

/* Efecto zoom */
.carrusel-track {
	perspective: 1000px;
}

.carrusel-slide {
	transform: scale(0.8) rotateY(20deg);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

	.carrusel-slide.activo {
		transform: scale(1) rotateY(0);
		z-index: 1;
	}
