/* Base Styles */
:root {
	--color-slate-900: #0f172a;
	--color-slate-500: #64748b;
	--color-slate-400: #94a3b8;
	--color-slate-200: #e2e8f0;
	--color-indigo-600: #4f46e5;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-accent: #872220;
	--color-accent-bg: rgba(135, 34, 32, 0.2);
	--text-color: rgba(16, 32, 65, 0.8);
}

/* * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background-color: var(--color-white);
	color: var(--color-slate-900);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}


header {
	margin-bottom: 2rem;
	text-align: center;
	z-index: 10;
}

h1 {
	font-size: 2.25rem;
	
	font-weight: 800;

	letter-spacing: -0.025em;

	color: var(--color-slate-900);
	margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
	h1 {
		font-size: 3rem;
		
	}
}

h1 span {
	color: var(--color-indigo-600);
}

header p {
	color: var(--color-slate-500);
	font-size: 1.125rem;

	max-width: 42rem;
	
	margin: 0 auto;
}

*/

.slider-section {
	width: 100%;
	/* max-width: 72rem; */

	height: 600px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 640px) {
	.slider-section {
		height: 700px;
	}
}



.slider-container {
	position: relative;
	width: 100%;
	max-width: 700px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1000px;
}

.slides-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}


.slide-card {
	position: absolute;
	height: 70%;
	border-radius: 1.5rem;
	/* rounded-3xl */
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	/* shadow-2xl */
	overflow: hidden;
	background-color: var(--color-black);
	border: 3px solid var(--color-black);
	transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
	/* Aspect ratio handled by height and content */
	aspect-ratio: 0.465;
	/*9 / 16 */
}

@media (min-width: 640px) {
	.slide-card {
		height: 85%;
	}
}

.slide-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: var(--color-black);
	pointer-events: none;
	/* draggable={false} */
}

/* Overlay Gradient */
.slide-overlay {
	position: absolute;
	inset: 0;
	transition: background-color 0.5s;
}

.slide-overlay.active {
	background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent, transparent);
	/* background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent, transparent); */
}

.slide-overlay.inactive {
	background-color: rgba(0, 0, 0, 0.15);
}

/* Text Content */
.slide-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	text-align: center;
	transition: all 0.5s;
}

@media (min-width: 640px) {
	.slide-content {
		padding: 2rem;
	}
}

.slide-content.active {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.2s;
}

.slide-content.inactive {
	opacity: 0;
	transform: translateY(1rem);
}

.slide-title {
	font-size: 1.25rem;
	/* sm:text-4xl */
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 0.75rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
	.slide-title {
		font-size: 1.125rem;
		/* lg:text-lg fallback */
	}
}

.slide-description {
	color: var(--text-color);
	/* var(--color-slate-200); */
	font-size: 0.875rem;
	/* text-sm */
	max-width: 20rem;
	/* max-w-xs */
	margin: 0 auto;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (min-width: 640px) {
	.slide-description {
		font-size: 1.125rem;
		/* sm:text-lg */
	}
}

/* Navigation Buttons */
.nav-button {
	position: absolute;
	z-index: 60;
	height: 60%;
	width: 27%;
	opacity: 0;
	/* width: 100%; */
	/* padding: 0.75rem; */
	/* border-radius: 9999px; */
	/* background-color: rgba(229, 231, 235, 0.8); */
	/* bg-gray-200/80 */
	/* color: var(--color-accent); */
	/* backdrop-filter: blur(12px); */
	/* border: 1px solid var(--color-accent); */
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	/* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); */
}

/* .nav-button:hover {
	background-color: rgb(229, 231, 235);
	
	transform: scale(1.1);
} 
*/

/* .nav-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px var(--color-accent);
} */

.nav-prev {
	left: 0;
}

.nav-next {
	right: 0;
}

@media (min-width: 640px) {
	.nav-button {
		/* padding: 1rem; */
		width: 30%;
		height: 70%;
	}

	.nav-prev {
		left: 0;
	}

	.nav-next {
		right: 0;
	}
}

.nav-icon {
	width: 1.5rem;
	height: 1.5rem;
	stroke-width: 1.5;
}

@media (min-width: 640px) {
	.nav-icon {
		width: 2rem;
		height: 2rem;
	}
}

/* Indicators */
.indicators {
	position: absolute;
	bottom: 1rem;
	z-index: 60;
	display: flex;
	gap: 0.75rem;
}

.indicator-dot {
	border-radius: 9999px;
	border: 1px solid var(--color-accent);
	transition: all 0.3s;
	cursor: pointer;
}

.indicator-dot.active {
	width: 2rem;
	height: 0.5rem;
	background-color: var(--color-accent);
}

.indicator-dot.inactive {
	width: 0.5rem;
	height: 0.5rem;
	background-color: transparent;
}

.indicator-dot.inactive:hover {
	background-color: var(--color-accent-bg);
}