@font-face {
    font-family: 'FarKetab';
    src: url('Far_Ketab.ttf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'FarKetab', Tahoma, Arial, sans-serif;
}

body {
    background-image: url('123.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    min-height: 100vh;
    /* پدینگ اضافه شد تا محتوا به لبه‌های بالا و پایین نچسبد */
    padding: 30px 0; 
}

.container {
    width: 90%;
    max-width: 1000px;
    /* این دستور محتوا را در وسط قرار می‌دهد و مشکل اسکرول را حل می‌کند */
    margin: auto; 
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 30px;
}

.links-container {
    width: 100%;
    max-width: 350px;
}

.links-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.links-container li {
    margin-bottom: 20px;
    width: 100%;
}

.link-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 28px;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* پالت رنگی دکمه‌ها */
.link-1 { background-color: #ABBEA2; }
.link-2 { background-color: #9CB4BE; }
.link-3 { background-color: #D8B39F; }
.link-4 { background-color: #E4BF9B; }

.link-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- بخش اطلاعات --- */
.info-section {
    flex: 1.5;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: right;
}

.info-section h2, .info-section h3 {
    color: #D8B39F;
    margin-top: 0;
    text-align: center;
}

.info-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 22px;
}

/* استایل باکس خبر خوب */
.good-news-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: right;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.good-news-box h3 {
    font-size: 30px;
}

.good-news-box p {
    font-size: 22px;
}

.inline-link {
    color: #9CB4BE;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #9CB4BE;
    transition: 0.3s;
}

.inline-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* بخش شعب */
.branches {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.branch {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.branch p {
    font-size: 16px;
}

.map-link {
    color: #ABBEA2;
    text-decoration: underline;
    font-size: 15px;
    display: block;
    margin-bottom: 10px;
}

.tel-link {
    color: #9CB4BE;
    text-decoration: none;
    font-weight: bold;
    direction: ltr;
    display: inline-block;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
        padding: 0;
    }
    .branches {
        flex-direction: column;
    }
    .info-section, .good-news-box {
        text-align: right;
    }
}
