/* استایل‌های عمومی */
#About {
    font-family: 'Vazir', 'Tanha', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
}

/* استایل تب‌ها */
.nav-tabs {
    border-bottom: 3px solid #ffca2c;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
    padding: 10px 15px 0;
}

.nav-tabs .nav-item {
    margin-left: 10px;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #555;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link:hover {
    color: #ff6b00;
    background: rgba(255, 202, 44, 0.1);
    border-color: #ffca2c;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #ff6b00, #ffca2c);
    border-color: #ff6b00;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.nav-tabs .nav-link i {
    font-size: 1.3rem;
    margin-left: 8px;
}

/* محتوای تب‌ها */
.tab-content {
    background: #fff;
    border-radius: 0 0 15px 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.tab-pane {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل‌های تایپوگرافی */
h1 {
    color: #ff6b00;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b00, #ffca2c);
    border-radius: 2px;
}

h2.header1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin: 25px 0 15px;
    border-right: 5px solid #ffca2c;
    padding-right: 15px;
}

h3.header2 {
    color: #34495e;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 20px 0 12px;
    border-right: 4px solid #3498db;
    padding-right: 12px;
}

h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 18px 0 10px;
}

p {
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.9;
}

/* استایل کارت‌های گالری */
.section-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b00, #ffca2c);
}

.content-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.content-card img {
    transition: transform 0.3s ease;
}

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

.card-body {
    padding: 20px;
    background: #fff;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* استایل ویدیوها */
.video-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-card video {
    border-radius: 10px;
}

/* استایل برای حالت‌های خالی */
.text-muted {
    color: #95a5a6 !important;
}

.display-1 {
    font-size: 5rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .nav-tabs {
        padding: 5px 10px 0;
    }

    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .nav-tabs .nav-link i {
        font-size: 1.1rem;
        margin-left: 5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2.header1 {
        font-size: 1.6rem;
    }

    h3.header2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1rem;
    }

    .tab-content {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .col-xl-4, .col-lg-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .nav-tabs .nav-link i {
        font-size: 1rem;
        margin-left: 3px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2.header1 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .display-1 {
        font-size: 3rem;
    }
}

/* استایل‌های خاص برای محتوای درباره ما */
#blog p {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #ffca2c;
    margin: 15px 0;
}

#blog h3:not(.header2) {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 25px 0 15px;
}

#blog h2:last-child {
    background: linear-gradient(135deg, #ff6b00, #ffca2c);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.8rem;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* انیمیشن‌های اضافی */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* بهبود اسکرولbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b00, #ffca2c);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e55a00, #e5b82c);
}
