/* التنسيقات العامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* الهيدر */
.navbar {
    background: #111827;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
}

.logo span {
    color: #fff;
    font-size: 16px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.navbar nav ul li a:hover, .navbar nav ul li a.active {
    color: #38bdf8;
}

.cta-btn-header {
    background: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

/* البانر الرئيسي */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.85)), center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn.primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn.whatsapp {
    background: #25d366;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

/* الخدمات */
.services-preview {
    padding: 60px 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #111827;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #38bdf8;
}

.card h3 {
    margin-bottom: 15px;
    color: #111827;
}

/* المتجر */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.shop-section {
    padding: 50px 0;
    text-align: center;
}

.badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    color: #16a34a;
    font-weight: bold;
    margin: 15px 0;
}

/* لوحة التحكم */
.admin-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
}

.admin-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group select {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: #e2e8f0;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #38bdf8;
    color: #0f172a;
}
.admin-list {
    width: 100%;
    max-width: 600px;
}

.admin-item {
    background: white;
    padding: 12px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-delete {
    background: #ef4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* زر الواتساب العائم */
.float-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
}

/* الفوتر */
footer {
    background: #111827;
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}