/* Hero Banner Slider */
.hero-slider {
	position: relative;
	width: 100%;
	height: 420px;
	overflow: hidden;
	background-color: var(--primary-dark);
	border-bottom: 1px solid var(--border-color);
}
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
}
.slide.active {
	opacity: 1;
}
.slide-overlay {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(15, 23, 42, 0.5);
}
.slide-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #ffffff;
	max-width: 800px;
	padding: 0 40px;
}
.slide-content h1 {
	font-size: 2.4rem;
	margin-bottom: 15px;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.slide-content p {
	font-size: 1.1rem;
	margin-bottom: 25px;
	color: #cbd5e1;
}
.btn-slider {
	background-color: var(--accent);
	color: white;
	padding: 10px 24px;
	border-radius: 30px;
	font-weight: bold;
	display: inline-block;
	transition: background 0.2s;
}
.btn-slider:hover { background-color: #1d4ed8; }

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.3);
	color: white;
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.7); color: #000; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}
.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background 0.2s;
}
.dot.active { background: #ffffff; width: 30px; border-radius: 6px; }

/* Main Container */
.container {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
	flex: 1;
	width: 100%;
}

/* Tentang RAY3D Section */
.about-section {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 40px;
	margin-bottom: 50px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.about-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 35px auto;
}
.section-tag {
	color: var(--accent);
	font-weight: bold;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
	display: block;
}
.section-title {
	font-size: 1.8rem;
	color: var(--text-main);
	font-weight: bold;
}
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 25px;
}
.feature-card {
	background: var(--bg-color);
	border-radius: 8px;
	padding: 25px;
	text-align: center;
	border: 1px solid var(--border-color);
	transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon {
	font-size: 2.2rem;
	color: var(--accent);
	margin-bottom: 15px;
}
.feature-card h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: var(--text-main);
}
.feature-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Gallery Section with Carousel / Slider */
.gallery-section {
	margin-bottom: 50px;
}
.gallery-header {
	text-align: center;
	margin-bottom: 30px;
}
.gallery-carousel-wrapper {
	position: relative;
	overflow: hidden;
	padding: 10px 0;
}
.gallery-track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s ease-in-out;
	will-change: transform;
}
.gallery-item {
	min-width: 280px;
	flex: 0 0 calc(25% - 15px);
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.03);
	cursor: pointer;
	transition: transform 0.2s;
}
.gallery-item:hover {
	transform: translateY(-4px);
}
.gallery-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: #cbd5e1;
}
.gallery-caption {
	padding: 12px;
	font-size: 0.85rem;
	font-weight: bold;
	color: var(--text-main);
	text-align: center;
}
.gallery-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #ffffff;
	color: var(--text-main);
	border: 1px solid var(--border-color);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}
.gallery-nav-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.gallery-prev { left: -10px; }
.gallery-next { right: -10px; }

/* Lightbox Modal */
.lightbox-overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 2000;
	padding: 20px;
}
.lightbox-content {
	position: relative;
	max-width: 900px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.lightbox-content img {
	max-width: 100%;
	max-height: 75vh;
	border-radius: 8px;
	object-fit: contain;
	box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.lightbox-caption {
	color: #ffffff;
	margin-top: 15px;
	font-size: 1rem;
	text-align: center;
	font-weight: bold;
}
.lightbox-close {
	position: absolute;
	top: -40px; right: 0;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 1.8rem;
	cursor: pointer;
}

/* Testimoni Section */
.testimonials-section {
	margin-bottom: 50px;
}
.testimonials-header {
	text-align: center;
	margin-bottom: 30px;
}
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.testimonial-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.02);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.testimonial-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.marketplace-badge {
	font-size: 0.75rem;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: bold;
	color: #fff;
}
.badge-shopee-tag { background-color: var(--shopee); }
.badge-tokopedia-tag { background-color: var(--tokopedia); }
.badge-tiktok-tag { background-color: var(--tiktok); }

.stars { color: #f59e0b; font-size: 0.9rem; }
.testimonial-body {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 15px;
	font-style: italic;
}
.testimonial-user {
	font-size: 0.85rem;
	font-weight: bold;
	color: var(--text-main);
	border-top: 1px solid var(--border-color);
	padding-top: 10px;
}

/* Recommended Item / Catalog Section */
.catalog-section {
	margin-bottom: 50px;
}
.catalog-header {
	text-align: center;
	margin-bottom: 25px;
}
#global-loading {
	text-align: center;
	padding: 50px;
	font-size: 1.1rem;
	color: var(--text-muted);
}
.app-content {
	display: none;
}
.filter-full-bar {
	margin-bottom: 25px;
	width: 100%;
}
.select2-container { width: 100% !important; }
.select2-search--dropdown { display: none !important; }
.select2-selection--multiple {
	border: 1px solid var(--border-color) !important;
	border-radius: 6px !important;
	min-height: 45px !important;
	padding: 6px !important;
}
