/* style.css — تم تیره حرفه‌ای با اسلایدشوی بزرگ‌تر */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap');

:root {
    --bg-body: #0f172a;
    --bg-container: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --accent: #60a5fa;
    --accent-hover: #93c5fd;
    --border-color: #334155;
    --card-bg: #1e293b;
    --footer-bg: linear-gradient(135deg, #1e3a8a, #1e40af);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.profile-section {
    text-align: center;
    padding: 20px 0;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid var(--accent);
}
.profile-img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.4);
}

h2 {
    color: var(--accent);
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.8rem;
}

h3 {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-style: normal;
}

p {
    text-align: justify;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
}

hr {
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}

.section-title {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: right;
    font-weight: 700;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background-color: #3b82f6;
}

ul {
    list-style-type: none;
    padding: 0;
}
li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}
li a {
    color: var(--accent);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.6);
    display: inline-block;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
li a:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--footer-bg);
    color: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
footer a {
    color: #e0f2fe;
    text-decoration: underline;
    font-weight: 500;
}
footer a:hover {
    color: #ffffff;
}

/* --- اسلایدشوی اخبار — نسخه بزرگ‌تر --- */
/*#newsCarousel {*/
/*    min-height: 360px;*/
/*    margin-top: 20px;*/
/*    position: relative;*/
/*}*/
/*#newsCarousel .carousel-inner {*/
/*    min-height: 360px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 0 15px;*/
/*}*/
/*.carousel-caption {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    background: linear-gradient(135deg, #1e3a8a, #1e40af);*/
/*    border-radius: 20px;*/
/*    padding: 32px;*/
/*    direction: rtl;*/
/*    text-align: right;*/
/*    width: 98%;*/
/*    max-width: 720px;*/
/*    color: white;*/
/*    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.5);*/
/*    backdrop-filter: blur(12px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.25);*/
/*    font-family: 'Vazirmatn', sans-serif;*/
/*}*/
/*.carousel-caption:hover {*/
/*    transform: translate(-50%, -50%) scale(1.02);*/
/*    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.65);*/
/*}*/
/*.carousel-caption h5 {*/
/*    font-weight: 700;*/
/*    margin-bottom: 16px;*/
/*    font-size: 1.45rem;*/
/*    line-height: 1.4;*/
/*    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);*/
/*}*/
/*.carousel-caption p {*/
/*    color: #e0f2fe;*/
/*    margin-bottom: 20px;*/
/*    font-size: 1.08rem;*/
/*    line-height: 1.7;*/
/*    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    display: -webkit-box;*/
    -webkit-line-clamp: 4; /* افزایش به 4 خط */
/*    -webkit-box-orient: vertical;*/
/*}*/
/*.btn-link-news {*/
/*    display: inline-block;*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    padding: 10px 24px;*/
/*    border-radius: 24px;*/
/*    font-size: 1.02rem;*/
/*    font-weight: 500;*/
/*    transition: all 0.3s ease;*/
/*    border: 1px solid rgba(255, 255, 255, 0.4);*/
/*}*/
/*.btn-link-news:hover {*/
/*    background: rgba(255, 255, 255, 0.35);*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);*/
/*}*/

/* دکمه‌های کنترل اسلایدشو */
/*.carousel-control-prev-icon,*/
/*.carousel-control-next-icon {*/
/*    width: 28px;*/
/*    height: 28px;*/
/*    filter: invert(1) brightness(1.2);*/
/*}*/

/* دکمه‌های شبکه‌های اجتماعی */
/*.btn-outline-primary,*/
/*.btn-outline-light {*/
/*    color: var(--accent);*/
/*    border-color: var(--accent);*/
/*    background: transparent;*/
/*}*/
/*.btn-outline-primary:hover,*/
/*.btn-outline-light:hover {*/
/*    background-color: var(--accent);*/
/*    color: #0f172a;*/
/*    border-color: var(--accent);*/
/*}*/

/* ریسپانسیو */
/*@media (max-width: 768px) {*/
/*    .container {*/
/*        margin: 15px;*/
/*        padding: 20px;*/
/*    }*/
/*    h2 {*/
/*        font-size: 1.6rem;*/
/*    }*/
/*    #newsCarousel,*/
/*    #newsCarousel .carousel-inner {*/
/*        min-height: 300px;*/
/*    }*/
/*    .carousel-caption {*/
/*        padding: 22px;*/
/*        width: 96%;*/
/*        max-width: none;*/
/*    }*/
/*    .carousel-caption h5 {*/
/*        font-size: 1.25rem;*/
/*    }*/
/*    .carousel-caption p {*/
/*        font-size: 1rem;*/
/*        -webkit-line-clamp: 3;*/
/*    }*/
/*}*/

/* استایل لینک در اسلایدر اخبار */
/*.news-slide-link {*/
  color: inherit; /* رنگ متن را از والد خود به ارث می‌برد */
  text-decoration: none; /* حذف خط زیر لینک */
  display: block; /* باعث می‌شود تمام فضای والد خود را اشغال کند */
  padding: 20px; /* ایجاد کمی فاصله داخلی */
  transition: transform 0.2s ease-in-out; /* انیمیشن نرم هنگام هاور */
/*}*/

/* افکت ساده هنگام رفتن ماوس روی خبر */
/*.news-slide-link:hover {*/
  transform: scale(1.03); /* کمی بزرگنمایی برای نشان دادن تعامل */
/*}*/

/* برای اطمینان از اینکه متن داخل لینک هم وسط‌چین است */
/*.news-slide-link .news-content {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

