@import  url('https://v1.fontpi.ir/css/vazir');
body{ font-family: 'vazir', sans-serif !important;

}
:root{
    --primary: #e07a5f; /* تراکوتا (برگرفته از فضای گرم عکس) */
    --secondary: #81b29a; /* سبز زیتونی ملایم (مشابه لباس در عکس) */
    --bg: #fdf7f1; /* کرم استخوانی روشن */
    --text: #2e211d; /* قهوه‌ای خیلی تیره برای متن */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tahoma', sans-serif; /* در صورت داشتن فونت وزیر جایگزین شود */
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(253, 247, 241, 0.9);
    backdrop-filter: blur(10px);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 20px 100px;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.img-box:hover img {
    transform: scale(1.05);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #c8684f;
    transform: translateY(-3px);
}

/* Projects */
#projects {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.p-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.p-info {
    padding: 20px;
}

.p-info h3 {
    margin-bottom: 10px;
}

.p-info span {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: bold;
}

/* Contact Form */
.contact-box {
    background: var(--text);
    color: var(--white);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    margin-bottom: 100px;
}

#contact-form {
    display: grid;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto 0;
}

#contact-form input, #contact-form textarea {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 100px;
        text-align: center;
    }
    .hero-content h1 { font-size: 2rem; }
    .hero-btns { justify-content: center; }
    .nav-links { display: none; }
}