/* =============================================
   Egitim Videolari - Page Specific Styles
   ============================================= */

/* Video Cards Wrapper */
.vf-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Video Cards Grid */
.vf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Video Card - Theme Compatible */
.vf-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--backgroundfff, #fff);
    border: 1px solid var(--paketlerborder, #e5e7eb);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.vf-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Video Thumbnail */
.vf-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vf-card:hover .vf-media {
    transform: scale(1.05);
}

/* Card Body - Theme Compatible */
.vf-body {
    padding: 20px;
    background: var(--paketlerbackground, #f8f9fa);
    border-top: 2px solid rgba(255, 78, 42, 0.3);
}

/* Card Title */
.vf-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color, #1f2937);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Card Text */
.vf-text {
    font-size: 14px;
    color: var(--listedivcolor, #6b7280);
    line-height: 1.6;
    margin: 0;
}

/* Koyu tema duzeltmesi */
[data-theme="dark"] .vf-card {
    background: #0b1a2e;
    border-color: #1f3047;
}

[data-theme="dark"] .vf-body {
    background: #0f243c;
}

[data-theme="dark"] .vf-title {
    color: #e2e8f0;
}

[data-theme="dark"] .vf-text {
    color: #a0b4c8;
}

/* Play Icon Overlay */
.vf-card::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,78,42,0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.vf-card::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateX(3px);
    width: 0;
    height: 0;
    border-left: 15px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 11;
}

.vf-card:hover::before,
.vf-card:hover::after {
    opacity: 1;
}

/* Page Title Style */
.paketlerdiv .imgdivtitlee h3 {
    color: var(--imgdivtitlee, #FF4E2A);
}

/* Sayfalama */
.vf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.vf-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,31,48,0.6);
    color: var(--text, #e2e8f0);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vf-pagination button:hover {
    background: rgba(255,78,42,0.2);
    border-color: rgba(255,78,42,0.4);
    color: #FF4E2A;
}

.vf-pagination button.active {
    background: linear-gradient(135deg, #FF4E2A, #ff6b47);
    color: #fff;
    border: none;
    font-weight: 600;
}

[data-theme="light"] .vf-pagination button {
    background: #f0f0f0;
    border-color: #ddd;
    color: #333;
}

[data-theme="light"] .vf-pagination button:hover {
    background: rgba(255,78,42,0.1);
    border-color: rgba(255,78,42,0.3);
    color: #FF4E2A;
}

[data-theme="light"] .vf-pagination button.active {
    background: linear-gradient(135deg, #FF4E2A, #ff6b47);
    color: #fff;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .vf-grid {
        grid-template-columns: 1fr;
    }

    .vf-wrap {
        padding: 20px 15px;
    }
}

@media (max-width: 1024px) {
    .vf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
