/* استایل‌های سایدبار */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar .card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar .list-group-item {
    border: none;
    border-right: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar .list-group-item:hover {
    border-right-color: #007bff;
    background-color: #f8f9fa;
}

/* استایل‌های سکشن‌ها */
.page-section {
    margin-bottom: 2rem;
}

.section-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* استایل‌های گالری */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    transition: transform 0.3s;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* استایل‌های ویدیو */
.video-container {
    position: relative;
    margin: 15px 0;
}

.video-description {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 0 0 5px 5px;
}

/* انیمیشن‌ها */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate__fadeIn {
    animation-name: fadeIn;
}

/* طرح‌بندی‌های مختلف */
.two-column .content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.three-column .content-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.full-width .content-block {
    width: 100%;
    max-width: 100%;
}