/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #111315;
    color: #ffffff;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    direction: rtl;
}

/* ================= HEADER (هماهنگ با کل سایت) ================= */
header {
    width: 100%;
    min-height: 80px;
    background: #0c0f11;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #4d3b1c;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo span {
    color: #e4a52b;
    font-size: 22px;
    font-weight: 800;
}

.logo small {
    color: #aaa;
    font-size: 11px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    transition: .3s;
}

nav a:hover, nav a.active {
    color: #e4a52b;
}

.contact-btn {
    text-decoration: none;
    color: #111;
    background: #e4a52b;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}

/* ================= ABOUT ================= */
.about {
    max-width: 1200px;
    margin: auto;
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(.7);
    transition: .5s;
}

.about-image:hover img {
    transform: scale(1.04);
}

.title-small {
    color: #e4a52b;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-small::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #e4a52b;
}

.about-text h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.about-text h2 {
    color: #e4a52b;
    font-size: 20px;
    margin-bottom: 20px;
}

.about-text p {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
}

/* ================= FEATURES ================= */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5% 50px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.feature-card {
    background: #181a1c;
    border: 1px solid #303030;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    transition: .3s;
}

.feature-card:hover {
    border-color: #e4a52b;
    transform: translateY(-5px);
}

.icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: #e4a52b;
}

.feature-card h3 {
    color: #e4a52b;
    font-size: 14px;
    margin-bottom: 8px;
}

.feature-card p {
    color: #bbb;
    font-size: 12px;
    line-height: 1.6;
}

/* ================= RESPONSIVE (مخصوص موبایل) ================= */

/* تبلت */
@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(3, 1fr); }
}

/* موبایل */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    nav { gap: 15px; }

    .about {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .about-image img { height: 280px; }
    
    .about-text h1 { font-size: 30px; }

    .features { grid-template-columns: repeat(2, 1fr); }
}

/* گوشی‌های کوچک */
@media (max-width: 480px) {
    .features { grid-template-columns: 1fr; }
    nav a { font-size: 12px; }
    .contact-btn { padding: 8px 15px; }
}