/* ============================================
   استایل صفحات داخلی (درباره ما، تماس با ما، وبلاگ)
   ============================================ */

/* پس‌زمینه اصلی صفحات داخلی */
body.internal-page .page-section,
.page-section:not(.custom-hero) {
    background: linear-gradient(135deg, #0A2B3B 0%, #1a4a5f 50%, #0e3b2a 100%) !important;
    background-attachment: fixed !important;
    position: relative;
}

/* افکت شیشه‌ای نرم روی محتوا */
.page-section .container {
    background: rgb(24, 45, 97, 0.5) !important;
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(107, 219, 60, 0.2);
}

/* عنوان‌ها */
.page-section .section-heading {
    color: #6bdb3c !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-section .section-subheading {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ========== فرم تماس با ما ========== */
#contactForm .form-control {
    background: rgba(24, 45, 97, 0.85) !important;
    border: 1px solid rgba(107, 219, 60, 0.3);
    border-radius: 12px;
    color: white;
    padding: 0.75rem 1rem;
}

#contactForm .form-control:focus {
    border-color: #6bdb3c;
    box-shadow: 0 0 0 0.2rem rgba(107, 219, 60, 0.25);
    background: rgba(0, 0, 0, 0.8);
}

#contactForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contactForm .form-control.text-end {
    text-align: right;
}

/* دکمه ارسال */
.btn-primary {
    background-color: #6bdb3c !important;
    border-color: #6bdb3c !important;
    color: #000 !important;
    font-weight: bold;
    padding: 0.8rem 2rem !important;
    border-radius: 40px !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5bbd30 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 219, 60, 0.3);
}

/* ========== تایم‌لاین درباره ما ========== */
.timeline {
    background: transparent;
}

.timeline:before {
    background-color: rgba(107, 219, 60, 0.3);
}

.timeline > li .timeline-panel {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid rgba(107, 219, 60, 0.2);
}

.timeline .timeline-image {
    background-color: #6bdb3c;
    border-color: rgba(107, 219, 60, 0.5);
}

.timeline .timeline-image h4 {
    color: #000;
}

/* تایم‌لاین - روشن کردن متن‌ها */
.timeline .timeline-panel {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 1.2rem;
}

.timeline .timeline-panel h4,
.timeline .timeline-panel .h4 {
    color: #6bdb3c !important;
}

.timeline .timeline-panel p,
.timeline .timeline-body {
    color: rgba(255, 255, 255, 0.9) !important;
}

.timeline .timeline-panel .subheading {
    color: #ffd700 !important;
}

/* ========== کارت‌های تیم ========== */
/* ========== بخش تیم (درباره ما) ========== */

/* عنوان بخش */
.team-heading {
    color: #6bdb3c;
    text-align: center;
    margin-bottom: 2rem;
}

.team-subheading {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
}

/* کارت تیم */
.team-member {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 219, 60, 0.2);
}

.team-member:hover {
    transform: translateY(-8px);
    background: rgba(107, 219, 60, 0.15);
    border-color: rgba(107, 219, 60, 0.5);
}

/* تصاویر پروفایل */
.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6bdb3c;
    margin-bottom: 1rem;
}

/* نام */
.team-member h4 {
    color: #6bdb3c !important;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

/* موقعیت شغلی */
.team-member .position {
    color: #ffd700 !important;  /* طلایی خوانا */
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* بیوگرافی کوتاه */
.team-member .bio {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* آیکون‌های شبکه‌های اجتماعی */
.team-member .social-links {
    margin-top: 1rem;
}

.team-member .social-links a {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.team-member .social-links a:hover {
    color: #6bdb3c;
    transform: scale(1.1);
}

/* اگر کلاس خاصی دارد */
.polymeriq-description,
.founder-message {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border-right: 3px solid #6bdb3c;
}

/* یا اگر در <div> ساده است */
.container .lead,
.container p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ========== ریسپانسیو ========== */
@media (max-width: 768px) {
    .page-section .container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .timeline > li .timeline-panel {
        padding: 0.8rem;
    }
}

/* در internal.css */
#contact {
    background-image: url('../assets/img/portfolio/map-image.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    position: relative;
}

/* لایه رنگی روی تصویر برای هماهنگی */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 43, 59, 0.7) 0%, rgba(107, 219, 60, 0.2) 100%);
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   پس‌زمینه صفحات داخلی با تصویر سیاه‌وسفید
   ============================================ */

/* پس‌زمینه اصلی صفحات داخلی */
body.internal-page .page-section,
.page-section:not(.custom-hero) {
    background-image: url('../assets/img/background.png') !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-size: cover !important;
    position: relative;
}

/* لایه سیاه‌وسفید با تیرگی ملایم */
body.internal-page .page-section::before,
.page-section:not(.custom-hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: grayscale(100%) brightness(1.2);
    z-index: 0;
}

/* محتوا بالای لایه */
body.internal-page .page-section .container,
.page-section:not(.custom-hero) .container {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    padding: 2rem;
    
}