/* ============================================================
   Luxury Single Ashaar Page Styles
   Apple-like minimal editorial UI, glassmorphism, 
   smooth animations, restricted 600px width.
   ============================================================ */

.naat-luxury-ashaar-page [dir="rtl"],
.naat-luxury-ashaar-page .font-urdu,
.naat-lux-urdu,
.naat-lux-accordion-content,
.naat-lux-related-ur {
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
}

.naat-luxury-ashaar-page {
	width: 100%;
	background: #fbfbfb; /* Very light Islamic white */
	position: relative;
	padding-bottom: 6rem;
}

/* Background Subtle Pattern */
.naat-luxury-ashaar-page::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; height: 60vh;
	background: radial-gradient(circle at 50% 0, rgba(16,185,129,0.04) 0%, rgba(251,251,251,0) 70%);
	pointer-events: none;
	z-index: 0;
}

.naat-lux-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	position: relative;
	z-index: 1;
}

/* ---------- Breadcrumb ---------- */
.naat-lux-crumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--naat-font-ui, "Plus Jakarta Sans", sans-serif);
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 2rem;
	animation: naatLuxFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.naat-lux-crumb a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.naat-lux-crumb a:hover { color: #047857; }
.naat-lux-crumb i { font-size: 10px; opacity: 0.5; }
.naat-lux-crumb span { color: #475569; }

/* ---------- Hero Card ---------- */
.naat-lux-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 24px;
	padding: 3rem 2rem;
	box-shadow: 
		0 20px 40px -20px rgba(16, 185, 129, 0.08),
		0 4px 12px rgba(0, 0, 0, 0.02);
	text-align: center;
	position: relative;
	overflow: hidden;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.naat-lux-card:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 30px 60px -20px rgba(16, 185, 129, 0.12),
		0 8px 24px rgba(0, 0, 0, 0.04);
}

.naat-lux-urdu {
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
	font-size: clamp(28px, 6vw, 42px);
	line-height: 2.2;
	color: #0f2a22;
	letter-spacing: 0;
	margin-bottom: 1.5rem;
}
.naat-lux-urdu p { margin: 0; }

.naat-lux-divider {
	height: 1px;
	width: 80%;
	margin: 0 auto 1.5rem;
	background: linear-gradient(90deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.4) 50%, rgba(212,175,55,0) 100%);
}

.naat-lux-roman {
	font-family: var(--naat-font-ui, "Plus Jakarta Sans", sans-serif);
	font-size: 15px;
	line-height: 1.7;
	color: #64748b;
	margin-bottom: 1.5rem;
}
.naat-lux-roman p { margin: 0; }

.naat-lux-en {
	font-family: var(--naat-font-ui, "Plus Jakarta Sans", sans-serif);
	font-size: 13px;
	line-height: 1.6;
	color: #94a3b8;
	font-style: italic;
	margin-top: 1.5rem;
}

/* ---------- Metadata Strip ---------- */
.naat-lux-meta-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 2rem;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.naat-lux-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e2e8f0;
	font-family: var(--naat-font-ui, "Plus Jakarta Sans", sans-serif);
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.02);
	transition: all 0.2s ease;
}
.naat-lux-meta-pill i { color: #10b981; }
a.naat-lux-meta-pill:hover {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #047857;
	transform: translateY(-1px);
}

/* ---------- Action Buttons ---------- */
.naat-lux-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 2rem;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.naat-lux-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 999px;
	border: none;
	background: #fff;
	color: #334155;
	font-family: var(--naat-font-ui, "Plus Jakarta Sans", sans-serif);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
	transition: all 0.2s ease;
}
.naat-lux-btn i { font-size: 15px; }
.naat-lux-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.naat-lux-btn.primary {
	background: #10b981;
	color: #fff;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.naat-lux-btn.primary:hover { background: #059669; box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3); }

.naat-lux-btn-outline {
	background: transparent;
	border: 1px solid #cbd5e1;
	box-shadow: none;
}
.naat-lux-btn-outline:hover { background: #f8fafc; border-color: #94a3b8; }

/* Separator for actions */
.naat-lux-actions-divider { width: 100%; height: 10px; }

/* ---------- Accordions (Sharh/Tazmeen) ---------- */
.naat-lux-details-section {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 16px;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.naat-lux-accordion {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
	transition: all 0.3s ease;
}
.naat-lux-accordion:hover {
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
	border-color: #a7f3d0;
}
.naat-lux-accordion summary {
	padding: 18px 24px;
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
	font-size: 20px;
	color: #0f2a22;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	user-select: none;
	background: #ecfdf5; /* Soft green header */
	border-bottom: 1px solid transparent;
}
.naat-lux-accordion summary::-webkit-details-marker { display: none; }
.naat-lux-accordion summary::before {
	content: "\F282"; /* bi-chevron-down */
	font-family: "bootstrap-icons";
	font-size: 14px;
	margin-right: auto; /* Push it to the left side since it's RTL */
	color: #047857;
	transition: transform 0.3s ease;
}
.naat-lux-accordion[open] summary::before { transform: rotate(180deg); }
.naat-lux-accordion[open] summary { border-bottom-color: #a7f3d0; }
.naat-lux-accordion-content {
	padding: 24px;
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
	font-size: 18px;
	line-height: 2.2;
	color: #334155;
	background: #fff;
	animation: naatLuxFadeIn 0.4s ease;
}

/* ---------- Related Ashaar ---------- */
.naat-lux-related-section {
	margin-top: 4rem;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.naat-lux-related-title {
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
	font-size: 28px;
	color: #0f2a22;
	text-align: center;
	margin-bottom: 1.5rem;
}
.naat-lux-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.naat-lux-related-card {
	background: #fff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	padding: 20px;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.naat-lux-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(16, 185, 129, 0.08);
	border-color: #a7f3d0;
}
.naat-lux-related-ur {
	font-family: 'NaatFont', "Noto Nastaliq Urdu", serif !important;
	font-size: 18px;
	line-height: 2;
	color: #0f2a22;
	margin-bottom: 12px;
}
.naat-lux-related-meta {
	font-family: var(--naat-font-ui, sans-serif);
	font-size: 11px;
	color: #94a3b8;
}

/* Mobile Scroll for Related */
@media (max-width: 640px) {
	.naat-lux-related-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 10px;
		-webkit-overflow-scrolling: touch;
	}
	.naat-lux-related-grid::-webkit-scrollbar { display: none; }
	.naat-lux-related-card {
		flex: 0 0 85%;
		scroll-snap-align: center;
	}
}

/* ---------- Bottom Navigation ---------- */
.naat-lux-nav {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 12px;
	margin-top: 4rem;
	animation: naatLuxFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.naat-lux-nav-item {
	flex: 1;
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
	transition: all 0.2s ease;
}
.naat-lux-nav-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.05); transform: translateY(-2px); }
.naat-lux-nav-item.prev { align-items: flex-start; text-align: left; }
.naat-lux-nav-item.next { align-items: flex-end; text-align: right; }
.naat-lux-nav-item.random { align-items: center; text-align: center; background: #10b981; color: #fff; }
.naat-lux-nav-item.random:hover { background: #059669; }

.naat-lux-nav-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 4px; }
.naat-lux-nav-item.random .naat-lux-nav-label { color: rgba(255,255,255,0.8); }
.naat-lux-nav-title { font-family: var(--naat-font-urdu, "NaatFont"), "Noto Nastaliq Urdu", serif; font-size: 16px; color: #0f2a22; }
.naat-lux-nav-item.random .naat-lux-nav-title { color: #fff; font-family: var(--naat-font-ui, sans-serif); font-size: 14px; font-weight: 600; }

/* ---------- Floating Action Button ---------- */
.naat-lux-fab {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #10b981;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
	cursor: pointer;
	z-index: 50;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border: none;
}
.naat-lux-fab:hover { transform: scale(1.1) rotate(15deg); background: #059669; }

/* ---------- Animations ---------- */
@keyframes naatLuxFadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes naatLuxFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 600px) {
	.naat-lux-container { padding: 1.5rem 1rem; }
	.naat-lux-card { padding: 2rem 1.5rem; border-radius: 20px; }
	.naat-lux-actions { gap: 8px; }
	.naat-lux-btn { font-size: 12px; padding: 8px 14px; }
	.naat-lux-nav { flex-direction: column; }
	.naat-lux-fab { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 20px; }
}
