
/* محتوای فرضی بالا */
.dummy-content {
    flex: 1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 248, 240, 0.5);
    backdrop-filter: blur(2px);
}
.dummy-content h2 {
    font-size: 2rem;
    color: #3a2c29;
    font-weight: 500;
}
.dummy-content p {
    color: #6b4e3e;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* ========== بخش چهارخونه (همیشه ۴ تایی کنار هم، مگر خیلی باریک) ========== */
.features-section {
    background-color: #ffffffdd;
    backdrop-filter: blur(4px);
    margin: 1rem 1.5rem 2rem 1.5rem;
    border-radius: 3rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 1.5rem;
}
.section-title2 {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: #2c1e1a;
    margin-bottom: 2.2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c7a27b, #8b5a2b);
    margin: 0.7rem auto 0;
    border-radius: 4px;
}
/* کلید اصلی: grid همیشه ۴ ستون با عرض برابر */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* ۴ ستون مساوی در هر شرایطی */
    gap: 1.8rem;
    max-width: 1300px;
    margin: 0 auto;
}
/* فقط در صفحه‌نمایش‌های خیلی باریک (مثل گوشی‌های بسیار کوچک) برای خوانایی بهتر، تبدیل به دو ردیف */
@media (max-width: 650px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* تبدیل به دو ستون برای جلوگیری از ازدحام متن */
        gap: 1.2rem;
    }
}
/* در موبایل‌های خیلی ریز اگر خواستید یک ستون شود (اختیاری) اما فعلاً ۲ ستون می‌ماند. 
   برای حفظ ۴ تایی تا انتها می‌توانید کل @media بالا را حذف کنید، ولی متن در ۴۰۰px خیلی تنگ می‌شود */
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* در موبایل خیلی کوچک یک ستون حرفه‌ای‌تر است */
        max-width: 360px;
        margin: 0 auto;
    }
}
.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 1.6rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(199, 162, 123, 0.2);
}
.feature-card:hover {
    transform: translateY(-6px);
    background: white;
    border-color: #dbbd9b;
    box-shadow: 0 20px 30px -12px rgba(91, 55, 33, 0.15);
}
.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, #f2e2d0, #faeedf);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}
.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.8rem 0 0.5rem;
    color: #3e2a23;
}
.feature-card p {
    font-size: 0.9rem;
    color: #6b5a50;
    line-height: 1.5;
    padding: 0 0.5rem;
}
/* ========== فوتر شیک ========== */
footer {
    background: #1f1815;
    color: #e7dfd9;
    border-top-left-radius: 2.5rem;
    border-top-right-radius: 2.5rem;
    padding: 3rem 2rem 1.8rem;
    margin-top: 0.5rem;
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.05);
}
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    color: #efd9cb;
}
.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 45px;
    height: 2px;
    background: #b87c4f;
    border-radius: 2px;
}
.footer-col p, .footer-col ul {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #cfc1b8;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 0.6rem;
    transition: transform 0.2s;
    cursor: default;
}
.footer-col ul li:hover {
    transform: translateX(-5px);
    color: #f7dbbc;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2f2520;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    color: #ecd9cd;
    transition: all 0.2s;
}
.social-links a:hover {
    background: #b87c4f;
    color: #1f1815;
    transform: translateY(-3px);
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(216, 185, 155, 0.2);
    font-size: 0.8rem;
    color: #aa988b;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.footer-bottom a {
    color: #e0be9f;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: #ffddb0;
    text-decoration: underline;
}
/* ریسپانسیو فوتر */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    .footer-col h4:after {
        right: 50%;
        transform: translateX(50%);
    }
    .contact-item {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}
@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}
/* تنظیمات برای حفظ کیفیت در اندازه‌های بینابین */
@media (min-width: 651px) and (max-width: 900px) {
    .features-grid {
        gap: 1rem;
    }
    .feature-card h3 {
        font-size: 1.2rem;
    }
    .feature-card p {
        font-size: 0.8rem;
    }
}
/* باکس اینماد */
.enamad-box {
    margin-top: 14px;
    display: flex;
    align-items: center;
}

/* خود تصویر اینماد */
.enamad-img {
    width: 90px;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* افکت هاور */
.enamad-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* حالت موبایل */
@media (max-width: 768px) {
    .enamad-img {
        width: 75px;
    }
}