/* تنظیمات کلی صفحه */
body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    text-align: right;
}

.home-page {
    width: 100%;
}

/* بخش درباره ما */
.about-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    color: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image-wrapper {
    flex: 1;
    text-align: center;
    margin-bottom: 0;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
}

.about-text p {
    margin-bottom: 20px;
}

/* بخش پرامپت‌ها */
.prompts-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.prompts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2d3748;
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.prompt-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prompt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.prompt-card:hover .card-image {
    transform: scale(1.1);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    padding: 20px 20px 10px;
    min-height: 70px;
    line-height: 1.5;
}

.btn-buy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    margin: 0 20px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-buy i {
    font-size: 1.1rem;
}

/* بخش ارتباط با ما */
.contact-section {
    background: #2d3748;
    color: #fff;
    padding: 50px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #cbd5e0;
}

.contact-item span {
    color: #fff;
}

.contact-item i {
    font-size: 1.3rem;
    color: #667eea;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column-reverse;
        /* Image brings on top, or standard column (Text top). Let asks user preference or stick to standard. 
                                           User asked "Image Left, Text Right". In column, usually Image Top is nice.
                                           If I use column-reverse on [Text, Image], it becomes Image, Text. */
        gap: 30px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .prompts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .prompts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}