/*
Theme Name: NETBADLO Theme
Theme URI: https://netbadlo.ma
Author: NETBADLO
Description: القالب الأساسي لمنصة NETBADLO — عربي بالكامل، اتجاه من اليمين لليسار (RTL)، متجاوب مع الهاتف. هذا القالب مسؤول فقط عن العرض البصري، ولا يحتوي على أي منطق تجاري (يستهلك بيانات إضافات NETBADLO لاحقاً).
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: netbadlo-theme
*/

:root {
	--netbadlo-primary: #0f8a5f;
	--netbadlo-primary-dark: #0b6b49;
	--netbadlo-text: #1c1c1c;
	--netbadlo-muted: #6b7280;
	--netbadlo-bg: #f7f8f7;
	--netbadlo-border: #e5e7eb;
	--netbadlo-radius: 14px;
	--netbadlo-font: 'Tajawal', 'Cairo', Tahoma, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--netbadlo-font);
	background: var(--netbadlo-bg);
	color: var(--netbadlo-text);
	direction: rtl;
	text-align: right;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.netbadlo-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ===== Header ===== */
.netbadlo-header {
	background: #fff;
	border-bottom: 1px solid var(--netbadlo-border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.netbadlo-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	gap: 16px;
	flex-wrap: wrap;
}

.netbadlo-logo {
	font-size: 22px;
	font-weight: 800;
	color: var(--netbadlo-primary);
}

.netbadlo-nav {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.netbadlo-nav a {
	font-weight: 600;
	color: var(--netbadlo-text);
}

.netbadlo-header__actions {
	display: flex;
	gap: 10px;
}

.netbadlo-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	border: 2px solid transparent;
	cursor: pointer;
}

.netbadlo-btn--primary {
	background: var(--netbadlo-primary);
	color: #fff;
}

.netbadlo-btn--primary:hover {
	background: var(--netbadlo-primary-dark);
}

.netbadlo-btn--outline {
	background: #fff;
	border-color: var(--netbadlo-border);
	color: var(--netbadlo-text);
}

/* ===== Hero ===== */
.netbadlo-hero {
	background: linear-gradient(135deg, #eafaf2, #f7f8f7);
	border-radius: var(--netbadlo-radius);
	margin: 24px auto;
	padding: 60px 30px;
	text-align: center;
}

.netbadlo-hero h1 {
	font-size: 34px;
	margin: 0 0 12px;
}

.netbadlo-hero p {
	color: var(--netbadlo-muted);
	font-size: 17px;
	max-width: 560px;
	margin: 0 auto 24px;
}

/* ===== Cards / Listings grid (placeholder for later phases) ===== */
.netbadlo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	margin: 30px 0;
}

.netbadlo-card {
	background: #fff;
	border: 1px solid var(--netbadlo-border);
	border-radius: var(--netbadlo-radius);
	overflow: hidden;
}

.netbadlo-card__body {
	padding: 14px;
}

.netbadlo-card__title {
	font-weight: 700;
	margin: 0 0 6px;
}

.netbadlo-card__meta {
	color: var(--netbadlo-muted);
	font-size: 13px;
}

/* ===== Footer ===== */
.netbadlo-footer {
	background: #0e2a22;
	color: #d6efe3;
	margin-top: 50px;
	padding: 30px 20px;
	text-align: center;
	font-size: 14px;
}

.netbadlo-footer a {
	color: #fff;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
	.netbadlo-header__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.netbadlo-nav {
		order: 3;
		justify-content: center;
	}
	.netbadlo-hero h1 {
		font-size: 26px;
	}
}
