/* --- إعدادات أساسية --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fafafa;
    color: #222;
    direction: rtl;
    text-align: right;
}

/* --- الهيدر وشريط التنقل --- */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1b4d3e; /* أخضر هادي ورايق */
    letter-spacing: 1px;
}

.logo span {
    color: #e67e22;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #1b4d3e;
}

/* --- واجهة الترحيب (Hero Section) --- */
.hero {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 38px;
    color: #1b4d3e;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.btn-main {
    background-color: #1b4d3e;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    background-color: #14382c;
}

/* --- قسم مميزات المتجر --- */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.feature-item {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* --- قسم المنتجات --- */
.products-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-img {
    height: 200px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-tags {
    font-size: 12px;
    color: #1b4d3e;
    margin-bottom: 12px;
    background: #e8f5e9;
    padding: 4px 8px;
    display: inline-block;
    border-radius: 4px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 15px;
}

.btn-cart {
    width: 100%;
    padding: 10px;
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cart:hover {
    background: #1b4d3e;
}