/* Image Slider Section - Classic WoW Theme */

.image-slider-section {
	padding: 40px 0;
	margin-top: 40px;
	position: relative;
	overflow: hidden;
}

.image-slider-section .aw_container {
	position: relative;
}

.image-slider-container {
	position: relative;
	width: 100%;
	padding: 0px;
}

.image-slider-grid-wrapper {
	overflow: hidden;
	width: 100%;
}

/* Grid - 4 items visible at a time */
.image-slider-grid {
	display: flex;
	gap: 20px;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
	will-change: transform;
}

.image-slider-grid .slider-item {
	flex: 0 0 calc((100% - 60px) / 4);
	min-width: calc((100% - 60px) / 4);
}

/* Slider Item */
.slider-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid #2a2a2a;
	background: #1a1a1a;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.slider-item:hover {
	transform: translateY(-5px);
	border-color: #3a3a3a;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

/* Slider Image */
.slider-image {
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
}

.slider-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.2) 0%,
		rgba(0, 0, 0, 0.5) 50%,
		rgba(0, 0, 0, 0.8) 100%
	);
	z-index: 1;
}

/* Slider Overlay */
.slider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 168, 96, 0.2) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.slider-item:hover .slider-overlay {
	opacity: 1;
}

.slider-item:hover .slider-image {
	transform: scale(1.08);
	transition: transform 0.5s ease;
}

/* Slider Title */
.slider-title {
	padding: 14px 16px;
	background: #202020;
	border-top: 1px solid #2a2a2a;
	text-align: center;
	position: relative;
}

.slider-title span {
	font-size: 13px;
	font-weight: 600;
	color: #e5cc9f;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	transition: color 0.3s ease;
}

.slider-item:hover .slider-title span {
	color: #c9a860;
}

/* Navigation Arrows */
.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0.85);
	border: 2px solid #3a3a3a;
	border-radius: 4px;
	color: #c9a860;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.slider-nav:hover {
	background: rgba(201, 168, 96, 0.3);
	border-color: #c9a860;
	color: #e5cc9f;
	transform: translateY(-50%) scale(1.15);
	box-shadow: 0 6px 16px rgba(201, 168, 96, 0.4);
}

.slider-nav.prev-slide {
	left: 0;
}

.slider-nav.next-slide {
	right: 0;
}

.slider-nav i {
	font-size: 18px;
}

.slider-nav:active {
	transform: translateY(-50%) scale(0.95);
}

/* Hide navigation if not enough items */
.image-slider-grid:not(.has-overflow) ~ .slider-nav {
	display: none;
}

/* Responsive - 3 items on tablet */
@media (max-width: 1024px) {
	.image-slider-grid .slider-item {
		flex: 0 0 calc((100% - 32px) / 3);
		min-width: calc((100% - 32px) / 3);
	}

	.image-slider-grid {
		gap: 16px;
	}

	.slider-image {
		height: 160px;
	}

	.slider-title {
		padding: 12px 14px;
	}

	.slider-title span {
		font-size: 12px;
	}

	.image-slider-container {
		padding: 0 60px;
	}
}

/* Responsive - 2 items on small tablet */
@media (max-width: 768px) {
	.image-slider-section {
		padding: 30px 0;
		margin-top: 30px;
	}

	.image-slider-grid .slider-item {
		flex: 0 0 calc((100% - 14px) / 2);
		min-width: calc((100% - 14px) / 2);
	}

	.image-slider-grid {
		gap: 14px;
	}

	.slider-image {
		height: 140px;
	}

	.slider-title {
		padding: 10px 12px;
	}

	.slider-title span {
		font-size: 11px;
	}

	.slider-nav {
		width: 42px;
		height: 42px;
	}

	.slider-nav i {
		font-size: 14px;
	}

	.image-slider-container {
		padding: 0 55px;
	}
}

/* Responsive - 2 items on mobile */
@media (max-width: 480px) {
	.image-slider-section {
		padding: 25px 0;
		margin-top: 25px;
	}

	.image-slider-grid .slider-item {
		flex: 0 0 calc((100% - 12px) / 2);
		min-width: calc((100% - 12px) / 2);
	}

	.image-slider-grid {
		gap: 12px;
	}

	.slider-image {
		height: 120px;
	}

	.slider-title {
		padding: 8px 10px;
	}

	.slider-title span {
		font-size: 10px;
	}

	.slider-nav {
		width: 36px;
		height: 36px;
	}

	.slider-nav i {
		font-size: 12px;
	}

	.slider-nav.prev-slide {
		left: 0;
	}

	.slider-nav.next-slide {
		right: 0;
	}

	.image-slider-container {
		padding: 0 50px;
	}
}

/* Animation for items */
@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Focus styles for accessibility */
.slider-item:focus,
.slider-nav:focus {
	outline: 2px solid #c9a860;
	outline-offset: 2px;
}

/* Loading state */
.slider-image {
	background-color: #1a1a1a;
}

