body {
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
}

/* هدر */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12); /* سایه زیر هدر */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-sizing: border-box;
}

.logo img {
    height: 40px;
    display: block;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}


/* تصویر اصلی */
.hero {
    position: relative;
    margin-top: 80px;
}



.hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}




/* گرید */
.grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* لبه‌ها چسبیده */
}

.grid-item:nth-child(odd) {
    padding-left: 00px;
    padding-right: 0px; /* فاصله از وسط */
}

.grid-item:nth-child(even) {
    padding-right: 0px;
    padding-left: 0px; /* فاصله از وسط */
}


.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-item img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.grid-item h3 {
    margin: 5px 0px 15px 10px; /* فقط فاصله داخلی متن */
    font-size: 16px;
    color: #333;
}


.grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-item p {
    margin: 6px 20px 0 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}


/* واکنش‌گرا */
@media (max-width: 768px) {
    .grid-section {
        grid-template-columns: 1fr;
        padding: 0; /* حذف فاصله از کناره‌ها */
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .grid-item img {
        width: 100vw;
    }
}

/*
@media (max-width: 768px) {
    .hero-text {
        bottom: 16px;
        right: 16px;
        
    }

    .hero-text h1 {
        font-size: 10px;
    }

    .hero-text p {
        font-size: 8px;
    }
}
*/


/*
.hero-text h1 {
    color: #ffffff;
    font-size: 30px;   /* دسکتاپ */
    font-weight: 800;


}

*/



/*
.hero-text p {
    color: #f0f0f0;
    font-size: 20px;   /* دسکتاپ */
    font-weight: 600;
}

*/


/*
.hero-text {
    position: absolute;
    bottom: 24px;
    right: 24px;
    max-width: 90%;
}
*/









.hero-text h1 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
}

.hero-text p {
    color: #f0f0f0;
    font-size: 20px;
    font-weight: 600;
}

.hero-text {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);

    position: absolute;
    bottom: 24px;
    right: 24px;
    max-width: 90%;
    color: #f0f0f0;
}

/* ⬇⬇⬇ مدیا کوئری حتماً آخر */
@media (max-width: 768px) {
    .hero-text {
        bottom: 10px;
        right: 16px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);

    }

    .hero-text h1 {
        font-size: 11px;
    }

    .hero-text p {
        font-size: 9px;
    }
}

