/* معرفی وزن‌های مختلف فونت یکان بخ */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('./fonts/YekanBakh-Regular.woff2') format('woff2'),
         url('./fonts/YekanBakh-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('./fonts/YekanBakh-Bold.woff2') format('woff2'),
         url('./fonts/YekanBakh-Bold.woff') format('woff');
    font-weight: bold; /* برای دکمه‌ها */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('./fonts/YekanBakh-Black.woff2') format('woff2'),
         url('./fonts/YekanBakh-Black.woff') format('woff');
    font-weight: 800; /* برای تیتر اصلی و لوگو */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan Bakh';
    src: url('./fonts/YekanBakh-Light.woff2') format('woff2'),
         url('./fonts/YekanBakh-Light.woff') format('woff');
    font-weight: 100; 
    font-style: normal;
    font-display: swap;
}

/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* اعمال فونت یکان بخ روی تمامی المان‌ها */
    font-family: 'Yekan Bakh', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* پس‌زمینه سایت */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
/* کانتینر اصلی محتوا */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    justify-content: center;
}

/* استایل منوی بالا (Navbar) */
.navbar {
    background-color: #000000;
    border-radius: 50px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.logo {
    color: #00FFA3;
    font-weight: 800;
    font-size: 1.5rem;
}

.divider {
    color: #555;
    margin: 0 0.5rem;
}

.slogan {
    color: #ddd;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00FFA3;
}

/* استایل دکمه‌ها */
a {
    text-decoration: none;
}

.btn {
    border: none;
    outline: none;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: #00FFA3;
    color: #000;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
    text-decoration: none;
}

/* ساختار دو کارته بدنه */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* استایل مشترک کارت‌ها */
.card {
    background-color: #050505;
    border-radius: 35px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* کارت متن راست */
.content-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 2.5rem;
}

.title .text-green {
    font-weight: 100;
    font-size: 4rem;
    color: #00FFA3;
}

/* باکس فیدبک */
.feedback-box {
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.02);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

textarea {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    min-height: 80px;
    line-height: 1.6;
}

textarea::placeholder {
    color: #666;
}

.submit-wrapper {
    display: flex;
    justify-content: flex-end; /* قرار دادن دکمه در سمت چپ */
}

/* کارت عکس چپ */
.image-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

/* ریسپانسیو برای موبایل */
@media (max-width: 900px) {

    .hero-section {
        width:100%;
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .card{
        width:100%;
        padding:1.5rem;
    }
    .navbar {
        width:100%;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
    }

    .title {
        width:100%;
        font-size: 2.2rem;
    }
    .title .text-green {
        width:100%;
        font-weight: 100;
        font-size: 3rem;
        color: #00FFA3;
    }
}