/* Public Stylesheet for Slider Custom Patches */

/* Import Jost Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Root variables for theme colors */
:root {
	--patch-gold: #C74B44;
	--patch-gold-hover: #a93d37;
	--patch-dark-bg: #1c1c1c;
	--patch-text-light: #ffffff;
	--patch-font: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Main Wrapper */
.patch-slider-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 20px 0;
	box-sizing: border-box;
}

/* Outer Navigation Buttons — clean, transparent, no box */
.patch-outer-nav-btn {
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	color: #C74B44 !important;
	width: 44px !important;
	height: 44px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	transition: color 0.25s ease, transform 0.2s ease;
	z-index: 10;
	flex-shrink: 0;
	padding: 0 !important;
	margin: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}

.patch-outer-nav-btn:hover {
	color: #a93d37 !important;
	transform: scale(1.15) !important;
}

.patch-outer-nav-btn:active {
	transform: scale(0.9) !important;
}

.patch-outer-nav-btn:focus {
	outline: none !important;
	box-shadow: none !important;
}

.patch-outer-nav-btn svg {
	width: 28px;
	height: 28px;
	display: block;
}

/* Viewport & Container */
.patch-slider-viewport {
	flex-grow: 1;
	overflow: hidden;
	position: relative;
	border-radius: 40px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.4);
	margin: 0 10px;
}

.patch-slider-container {
	position: relative;
	width: 100%;
	min-height: 450px;
	display: grid;
	grid-template-columns: 100%;
	background-color: var(--patch-dark-bg);
}

/* Individual Slide */
.patch-slide {
	grid-area: 1 / 1 / 2 / 2;
	width: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease-in-out;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* Premium dark textured fallback background */
	background-color: var(--patch-dark-bg);
	background-image: radial-gradient(circle at 30% 30%, #2c2c2c 0%, #141414 100%);
	padding: 50px 70px;
	box-sizing: border-box;
	z-index: 1;
}

.patch-slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
	position: relative; /* Height container */
}

/* Slide Inner Layout */
.patch-slide-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	width: 100%;
	height: 100%;
}

/* ==========================================
   LEFT COLUMN: Nested Inner Image Slider
   ========================================== */
.patch-slide-left {
	flex: 0 0 45%;
	display: flex;
	justify-content: center;
	align-items: center;
	user-select: none;
}

.patch-inner-slider-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	width: 100%;
}

/* Main Circular Image Viewport */
.patch-inner-main-window {
	position: relative;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
	background: rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.patch-inner-images-viewport {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
}

.patch-inner-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.4s ease, transform 0.4s ease;
	z-index: 1;
}

.patch-inner-image.active {
	opacity: 1;
	transform: scale(1);
	position: relative;
	z-index: 2;
}

/* Inner Gold Circular Arrows — properly positioned outside the circle edge */
.patch-inner-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px !important;
	height: 38px;
	border-radius: 50% !important;
	background-color: var(--patch-gold) !important;
	border: 2.5px solid #ffffff;
	color: #ffffff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.35) !important;
	z-index: 10;
	transition: background-color 0.2s ease, transform 0.2s ease !important;
	padding: 0 9px !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.patch-inner-nav-btn:hover {
	background-color: var(--patch-gold-hover) !important;
	transform: translateY(-50%) scale(1.1);
	border-color: var(--patch-gold) !important;
}

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

.patch-inner-nav-btn:focus {
	outline: none;
}

.inner-prev-btn {
	left: -19px;
}

.inner-next-btn {
	right: -19px;
}

.patch-inner-nav-btn svg {
	display: block;
}

/* Bottom Thumbnails Container */
.patch-inner-thumbnails-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 25px;
	width: 100%;
	flex-wrap: wrap;
}

.patch-thumbnail-item {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	overflow: hidden;
	border: 2.5px solid transparent;
	cursor: pointer;
	transition: all 0.25s ease;
	opacity: 0.5;
	box-sizing: border-box;
	background: #ffffff;
}

.patch-thumbnail-item:hover {
	opacity: 0.85;
}

.patch-thumbnail-item.active {
	opacity: 1;
	border-color: var(--patch-gold);
	transform: scale(1.15);
	box-shadow: 0 4px 10px rgba(235, 177, 29, 0.4);
}

.patch-thumbnail-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Placeholder for slide with no images */
.patch-no-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.4);
	border: 2px dashed rgba(255,255,255,0.2);
	border-radius: 50%;
	font-size: 14px;
	font-family: var(--patch-font);
}

/* ==========================================
   RIGHT COLUMN: Text Content & Button
   ========================================== */
.patch-slide-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.patch-slide-title {
	font-family: var(--patch-font);
	font-size: 2.8rem;
	font-weight: 700;
	font-style: italic;
	color: var(--patch-gold);
	margin: 0 0 15px 0;
	line-height: 1.15;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.patch-slide-description,
.patch-slide-description p,
.patch-slide-description span,
.patch-slide-description a {
	font-family: var(--patch-font);
}

.patch-slide-description {
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 30px;
	font-weight: 400;
}

.patch-slide-description p {
	margin: 0 0 15px 0;
}

.patch-slide-description p:last-child {
	margin-bottom: 0;
}

/* Premium CTA Button */
.patch-slide-cta-btn {
	display: inline-block;
	font-family: var(--patch-font);
	background-color: var(--patch-gold);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 36px;
	border-radius: 30px;
	border: 1.5px solid #ffffff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.patch-slide-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(235, 177, 29, 0.4);
	background-color: var(--patch-gold-hover);
	color: #ffffff;
	text-decoration: none;
}

.patch-slide-cta-btn:active {
	transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================== */

/* Tablets */
@media screen and (max-width: 992px) {
	.patch-slider-wrapper {
		max-width: 100%;
		padding: 20px 10px;
	}

	.patch-slide-title {
		font-size: 2.3rem;
	}

	.patch-inner-main-window {
		width: 260px;
		height: 260px;
	}
}

/* Mobile */
@media screen and (max-width: 768px) {
	/* Wrapper becomes a simple vertical column, no side arrows */
	.patch-slider-wrapper {
		max-width: 100%;
		padding: 10px 4px;
	}

	/* Outer nav buttons — stay on left/right sides but inside the viewport */
	.patch-outer-nav-btn {
		position: static;
		width: 30px;
		height: 30px;
		flex-shrink: 0;
	}

	.patch-outer-nav-btn svg {
		width: 18px;
		height: 18px;
	}

	/* Viewport takes full width, no side margin needed */
	.patch-slider-viewport {
		border-radius: 22px;
		margin: 0;
		width: 100%;
		position: relative;
	}

	.patch-slide {
		padding: 30px 20px;
	}

	.patch-slide-inner {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.patch-slide-left {
		flex: none;
		width: 100%;
	}

	.patch-slide-right {
		width: 100%;
		align-items: center;
	}

	.patch-inner-main-window {
		width: 200px;
		height: 200px;
	}

	.patch-inner-nav-btn {
		width: 30px;
		height: 30px;
	}

	.inner-prev-btn {
		left: -15px;
	}

	.inner-next-btn {
		right: -15px;
	}

	.patch-inner-thumbnails-container {
		gap: 8px;
		margin-top: 15px;
	}

	.patch-thumbnail-item {
		width: 38px;
		height: 38px;
	}

	.patch-slide-title {
		font-size: 1.6rem;
		text-align: center;
		margin-bottom: 10px;
	}

	.patch-slide-description {
		font-size: 0.9rem;
		text-align: center;
		margin-bottom: 18px;
		line-height: 1.55;
	}

	.patch-slide-cta-btn {
		padding: 10px 30px;
		font-size: 0.88rem;
	}
}

/* Small Mobile (iPhone SE etc.) */
@media screen and (max-width: 480px) {
	.patch-slider-wrapper {
		padding: 8px 5px;
	}

	.patch-slider-viewport {
		border-radius: 18px;
	}

	.patch-slide {
		padding: 22px 14px;
	}

	.patch-slide-inner {
		gap: 16px;
	}

	.patch-inner-main-window {
		width: 170px;
		height: 170px;
	}

	.patch-inner-nav-btn {
		width: 26px;
		height: 26px;
	}

	.inner-prev-btn {
		left: -13px;
	}

	.inner-next-btn {
		right: -13px;
	}

	.patch-inner-nav-btn svg {
		width: 14px;
		height: 14px;
	}

	.patch-inner-thumbnails-container {
		gap: 6px;
		margin-top: 12px;
	}

	.patch-thumbnail-item {
		width: 32px;
		height: 32px;
	}

	.patch-slide-title {
		font-size: 1.35rem;
	}

	.patch-slide-description {
		font-size: 0.85rem;
		line-height: 1.5;
		margin-bottom: 14px;
	}

	.patch-slide-cta-btn {
		padding: 9px 24px;
		font-size: 0.82rem;
	}

	.patch-outer-nav-btn.prev-btn{
		width: 26px;
		height: 26px;
		padding:5px !important;
		margin-right:5px
	}
	.patch-outer-nav-btn.next-btn{
        padding:5px !important;
		margin-left:5px
    }
	.patch-outer-nav-btn svg {
		width: 16px;
		height: 16px;
	}
}
