/* استایل‌های اختصاصی صفحه مربی */

/* بنر مربی */
/* اصلاحات فاصله در فایل bagheri.css */

/* بنر مربی - فاصله از نوبار */
.coach-hero-section {
    background:
        linear-gradient(135deg,
            rgba(4, 236, 255, 0.1) 0%,
            rgba(255, 28, 248, 0.1) 100%),
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
        url('../Images/ostad-bagheri-1.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh; /* افزایش ارتفاع */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* فاصله از نوبار */
}

/* حذف margin-top از body برای این صفحه */
body.page-coach {
    padding-top: 0 !important;
}

/* کاهش فاصله بین بنر و بخش درباره استاد */
.main-content {
    padding-top: 30px; /* کاهش فاصله */
}

/* افزایش فاصله برای عناوین */
.section-title {
    margin: 20px 0 30px !important; /* افزایش فاصله پایین */
}

/* کارت مربی - فاصله بیشتر از بنر */
.single-coach-card {
    margin: 20px 0 40px !important; /* فاصله بیشتر پایین */
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .coach-hero-section {
        height: 50vh; /* کاهش در موبایل */
        margin-top: 60px;
    }
    
    .coach-hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .coach-hero-content p {
        font-size: 1rem;
    }
    
    .main-content {
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .coach-hero-section {
        height: 45vh; /* کاهش بیشتر در موبایل کوچک */
        margin-top: 60px;
    }
    
    .coach-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .coach-hero-content p {
        font-size: 0.9rem;
    }
}

.coach-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--hover-gradient);
    opacity: 0.1;
    z-index: 1;
}

.coach-hero-content {
    position: relative;
    z-index: 2;
}

.coach-hero-content h1 {
    font-size: 2.5rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.coach-hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
}

/* کارت مربی */
.single-coach-card {
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.05) 0%,
        rgba(255, 28, 248, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(4, 236, 255, 0.3);
    transition: all 0.3s ease;
    margin: 30px 0;
    position: relative;
}

.single-coach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.single-coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.single-coach-card:hover::before {
    opacity: 0.05;
}

.coach-profile-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.1) 0%,
        rgba(255, 28, 248, 0.1) 100%);
    border-bottom: 1px solid rgba(4, 236, 255, 0.2);
    position: relative;
    z-index: 2;
}

.coach-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(4, 236, 255, 0.3);
    margin-left: 30px;
    flex-shrink: 0;
}

.coach-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-profile-info {
    flex: 1;
}

.coach-profile-info h3 {
    font-size: 2rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.coach-specialty {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 8px 20px;
    background: rgba(4, 236, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(4, 236, 255, 0.3);
}

.coach-details {
    position: relative;
    z-index: 2;
}

.coach-details h4 {
    font-size: 1.5rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(4, 236, 255, 0.2);
}

.coach-achievements {
    list-style: none;
    padding: 0;
}

.coach-achievements li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
    position: relative;
    padding-right: 30px;
}

.coach-achievements li:last-child {
    border-bottom: none;
}

.coach-achievements li i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* جدول هنرجویان */
.coach-student-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.02) 0%,
        rgba(255, 28, 248, 0.02) 100%);
    border: 1px solid rgba(4, 236, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.coach-student-table thead {
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.8) 0%,
        rgba(255, 28, 248, 0.6) 100%);
}

.coach-student-table thead th {
    color: white;
    padding: 20px 15px;
    font-weight: bold;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.coach-student-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(4, 236, 255, 0.1);
}

.coach-student-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.coach-student-table tbody tr:hover {
    background: rgba(4, 236, 255, 0.05);
    transform: translateX(5px);
}

.coach-student-table tbody td {
    padding: 20px 15px;
    text-align: center;
    vertical-align: middle;
    color: #e0e0e0;
    border: none;
}

.student-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(4, 236, 255, 0.3);
    padding: 3px;
    transition: all 0.3s ease;
}

.coach-student-table tbody tr:hover .student-img {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.student-name {
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
}

.student-experience {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* گالری */
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(4, 236, 255, 0.2);
    transition: all 0.3s ease;
    height: 250px;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.gallery-item:hover::before {
    opacity: 0.1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ویدیوها */
.video-card {
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.05) 0%,
        rgba(255, 28, 248, 0.05) 100%);
    border: 1px solid rgba(4, 236, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
    border-color: var(--accent-color);
}

.video-description {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-bottom: 1px solid rgba(4, 236, 255, 0.2);
}

.video-description h4 {
    font-size: 1.2rem;
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.video-description p {
    color: #ccc;
    margin-bottom: 0;
}

.video-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.h_iframe-aparat_embed_frame {
    position: relative;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    height: 0;
    overflow: hidden;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* کارت تماس */
.coach-contact-card {
    background: linear-gradient(135deg,
        rgba(4, 236, 255, 0.05) 0%,
        rgba(255, 28, 248, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(4, 236, 255, 0.3);
    margin: 40px 0;
}

.coach-contact-card h3 {
    background: var(--hover-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info p {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info i {
    width: 24px;
    text-align: center;
    color: var(--secondary-color);
}

/* رسپانسیو */
@media (max-width: 992px) {
    .coach-profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .coach-profile-img {
        margin-left: 0;
        margin-bottom: 20px;
        width: 120px;
        height: 120px;
    }
    
    .coach-hero-content h1 {
        font-size: 2rem;
    }
    
    .coach-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .coach-hero-section {
        height: 40vh;
    }
    
    .coach-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .coach-profile-info h3 {
        font-size: 1.5rem;
    }
    
    .coach-student-table thead th,
    .coach-student-table tbody td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .student-img {
        width: 60px;
        height: 60px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .coach-hero-section {
        height: 35vh;
    }
    
    .coach-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .coach-hero-content p {
        font-size: 1rem;
    }
    
    .coach-student-table {
        font-size: 0.85rem;
    }
    
    .student-img {
        width: 50px;
        height: 50px;
    }
    
    .gallery-item {
        height: 150px;
    }
}
/* سفید کردن آیکون دکمه تماس */
.coach-contact-card .cta-button i {
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: white !important;
}