@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #0b0b0b;
    color: #f2f2f2;
    direction: rtl;
    transition: all .4s ease;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 20px 60px;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 22px;
    color: #d4af37;
    font-weight: 700;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: #aaa;
    transition: .3s;
}
.nav-links a:hover, .nav-links .active {
    color: #d4af37;
}
.lang-switch {
    cursor: pointer;
    color: #aaa;
    font-weight: bold;
    transition: .3s;
}
.lang-switch:hover span {
    color: #d4af37;
}

/* Profile Section */
.profile {
    display: flex;
    justify-content: space-between;
    padding: 60px 100px;
    flex-wrap: wrap;
}
.profile-left {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}
.photo-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #181818;
}
.profile-left h1 {
    color: #d4af37;
    font-size: 26px;
    margin-bottom: 5px;
}
.profile-left h2 {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}
.contact {
    list-style: none;
    text-align: left;
    font-size: 14px;
    color: #bbb;
}
.contact li {
    margin-bottom: 8px;
}
.contact a {
    color: #d4af37;
    text-decoration: none;
}

/* Right side */
.profile-right {
    flex: 3;
    min-width: 300px;
    background: #111;
    border-radius: 10px;
    padding: 30px 40px;
    border: 1px solid #222;
}
.profile-right h3 {
    color: #d4af37;
    margin: 25px 0 10px;
    font-size: 18px;
}
.profile-right p, .profile-right li {
    color: #ddd;
    line-height: 1.8;
    font-size: 15px;
}
.skills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.skills li {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    padding: 8px 0;
    transition: .3s;
}
.skills li:hover {
    background: #d4af37;
    color: #000;
    font-weight: 600;
}

.job {
    background: #181818;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-top: 15px;
}
.job h4 {
    color: #f2f2f2;
}
.job p {
    font-size: 14px;
    color: #bbb;
    margin-top: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    color: #777;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .profile {
        flex-direction: column;
        padding: 40px 30px;
    }
    .profile-right {
        margin-top: 30px;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
}
