/**
 * Foodphenic Hero Slider - Full-Width Responsive Frontend CSS
 */

.fp-hero-slider-wrapper {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
	background: #19120D;
}

.fp-slider-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	user-select: none;
	touch-action: pan-y;
}

/* Viewport Visibility Control */
.fp-slider-desktop {
	display: block;
	height: var(--fp-desk-h, 520px);
}

.fp-slider-mobile {
	display: none;
	height: var(--fp-mob-h, 480px);
}

@media (max-width: 768px) {
	.fp-slider-desktop {
		display: none !important;
	}
	.fp-slider-mobile {
		display: block !important;
	}
}

/* Slider Track & Slides */
.fp-slider-track {
	display: flex;
	height: 100%;
	width: 100%;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform;
}

.fp-slide-item {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.fp-slide-link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	text-decoration: none;
	color: inherit;
}

.fp-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fp-slide-item.is-active .fp-slide-image {
	transform: scale(1.025);
}

/* Optional Overlay Content */
.fp-slide-overlay-content {
	position: absolute;
	bottom: 12%;
	left: 8%;
	max-width: 580px;
	z-index: 5;
	color: #FFFFFF;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.fp-slide-badge {
	display: inline-block;
	background: rgba(214, 140, 69, 0.9);
	color: #FFFDF8;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(4px);
}

.fp-slide-heading {
	font-family: 'Outfit', 'Playfair Display', -apple-system, sans-serif;
	font-size: clamp(24px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	color: #FFF9F0;
	margin: 0 0 14px;
}

.fp-slide-cta-btn {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #E5B85C 0%, #D68C45 100%);
	color: #1A120B !important;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: all 0.25s ease;
	pointer-events: auto;
}

.fp-slide-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(229, 184, 92, 0.5);
}

/* Glassmorphic Arrows */
.fp-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(30, 20, 15, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(229, 184, 92, 0.45);
	color: #FFF8EE;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fp-nav-arrow:hover {
	background: rgba(214, 140, 69, 0.95);
	border-color: #E5B85C;
	color: #FFFFFF;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 8px 25px rgba(214, 140, 69, 0.6);
}

.fp-prev-arrow {
	left: 28px;
}

.fp-next-arrow {
	right: 28px;
}

@media (max-width: 768px) {
	.fp-nav-arrow {
		width: 38px;
		height: 38px;
	}
	.fp-prev-arrow {
		left: 12px;
	}
	.fp-next-arrow {
		right: 12px;
	}
	.fp-slide-overlay-content {
		bottom: 10%;
		left: 6%;
		right: 6%;
		max-width: 90%;
	}
}

/* Pagination Dots */
.fp-slider-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
	padding: 7px 16px;
	background: rgba(25, 17, 12, 0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 30px;
	border: 1px solid rgba(229, 184, 92, 0.3);
}

.fp-dot {
	width: 9px;
	height: 9px;
	border-radius: 5px;
	background: rgba(255, 248, 238, 0.45);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fp-dot:hover {
	background: rgba(229, 184, 92, 0.85);
}

.fp-dot.is-active {
	width: 30px;
	background: linear-gradient(90deg, #E5B85C, #D68C45);
	box-shadow: 0 0 10px rgba(229, 184, 92, 0.7);
}
