/* تنظیمات پایه و فونت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* هدر سایت */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* اندازه بزرگ‌تر و مناسب برای لوگو */
.site-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.logo-wrapper h1 {
    font-size: 1.25rem;
    color: #111827;
}

.logo-wrapper p {
    font-size: 0.8rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #eab308;
}

/* دکمه واتساپ در هدر */
.whatsapp-nav-btn {
    background-color: #25d366;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.whatsapp-nav-btn:hover {
    background-color: #20ba5a;
}

/* بخش بنر اصلی (Hero) */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero-section h2 span {
    color: #eab308;
}

.hero-section p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 25px;
}

/* دکمه اصلی بنر */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eab308;
    color: #111827;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ca8a04;
}

/* بخش محصولات و تجهیزات */
.products-section {
    padding: 50px 0;
}

.products-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: #111827;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
}

/* تنظیم اندازه عکس‌ها به صورت contain */
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 15px 15px 8px;
    color: #1f2937;
}

.product-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 15px 20px;
}

/* فوتر سایت */
.site-footer {
    background-color: #1f2937;
    color: #9ca3af;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    margin-top: 40px;
}