﻿.video-container {
    max-width: 800px;
    margin: 20px auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.video-title {
    color: white;
    text-align: center;
    padding: 15px;
    margin: 0;
    background: rgba(0,0,0,0.8);
    font-size: 1.2rem;
}

.responsive-video {
    width: 100%;
    display: block;
}

/* تنظیمات برای دستگاه‌های مختلف */
@media (max-width: 768px) {
    /* برای تبلت */
    .video-container {
        max-width: 100%;
        padding-top: 75%; /* نسبت متفاوت برای موبایل */
    }
}

@media (max-width: 480px) {
    /* برای موبایل */
    .video-container {
        padding-top: 100%; /* مربع شکل برای موبایل */
    }
}


.centered-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.image-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-wrapper {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.responsive-image {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .image-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .image-wrapper {
        max-width: 95%;
        max-height: 60vh;
    }
}