/* RTL (Right-to-Left) Styles for Persian Language */

/* Basic RTL Layout */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Navigation RTL Adjustments */
.rtl nav {
    flex-direction: row-reverse;
}

.rtl .nav-links {
    flex-direction: row-reverse;
}

.rtl .burger {
    margin-left: 0;
    margin-right: auto;
}

/* Hero Section RTL Adjustments */
.rtl .hero-content {
    flex-direction: row-reverse;
}

.rtl .hero-text {
    text-align: right;
}

.rtl .hero-buttons {
    justify-content: flex-end;
}

/* About Section RTL Adjustments */
.rtl .about-text {
    text-align: right;
}

/* Projects Section RTL Adjustments */
.rtl .project-list {
    padding-left: 0;
    padding-right: 20px;
}

/* Skills Section RTL Adjustments */
.rtl .skill-card {
    text-align: right;
}

/* Content Section RTL Adjustments */
.rtl .platform-card {
    text-align: right;
}

/* Contact Section RTL Adjustments */
.rtl .contact-info {
    text-align: right;
}

.rtl .social-links {
    flex-direction: row-reverse;
}

/* Font Adjustments for Persian */
.rtl {
    font-family: 'Tahoma', 'Segoe UI', Geneva, Verdana, sans-serif;
}

/* Fix for icons in RTL mode */
.rtl .skill-card i,
.rtl .platform-card i {
    margin-right: 0;
    margin-left: 10px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .rtl .nav-links {
        right: auto;
        left: 0;
        align-items: flex-end;
    }
    
    .rtl .burger {
        margin-left: 0;
        margin-right: auto;
    }
}