/* Kiegészítő CSS stílusok - hiányzó elemek és finomhangolások */

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl);
    color: var(--text-light);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--background-light);
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-sm);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ERROR MESSAGES ===== */
.error-message {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    color: #856404;
    margin: var(--spacing-lg) 0;
}

.error-message p {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* ===== NO RESULTS ===== */
.no-results,
.no-videos {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-light);
    grid-column: 1 / -1; /* Teljes szélesség a grid-ben */
}

/* ===== GUEST MODAL ===== */
.guest-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-md);
}

.guest-modal {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--background-light);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--background-light);
    color: var(--primary-dark);
}

.modal-content {
    padding: var(--spacing-lg);
}

.guest-modal-photo {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.guest-modal-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--box-shadow);
}

.guest-modal-info .guest-profession {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.guest-modal-info .guest-episodes {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.guest-modal-info .guest-bio {
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 100px;
    right: var(--spacing-lg);
    background-color: var(--accent-blue);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.success {
    background-color: #27ae60;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== SIMPLE ANIMATIONS ===== */
.animate-bounce {
    animation: bounce 0.3s ease-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== HEADER SCROLLED STATE ===== */
.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* ===== VIDEO CATEGORY BADGES ===== */
.video-category {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--white);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

/* ===== GUEST ACTIONS ===== */
.guest-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.guest-actions .btn {
    flex: 1;
    text-align: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
}

/* ===== ENHANCED FOCUS STYLES ===== */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 76, 115, 0.4);
}

/* ===== CONTACT SECTION ENHANCEMENT ===== */
.contact-info {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-top: var(--spacing-lg);
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
}

.contact-info a {
    font-weight: 600;
}

/* ===== VIDEO META ENHANCEMENTS ===== */
.video-guests {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-style: italic;
    margin-top: var(--spacing-xs);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .guest-modal {
        margin: var(--spacing-sm);
        max-height: 95vh;
    }
    
    .modal-content {
        padding: var(--spacing-md);
    }
    
    .guest-modal-photo img {
        width: 120px;
        height: 120px;
    }
    
    .notification {
        right: var(--spacing-sm);
        left: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .guest-actions {
        flex-direction: column;
    }
    
    .guest-actions .btn {
        flex: none;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: none;
    }
    
    .notification {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* ===== STATISTICS HIGHLIGHT ===== */
.stat-highlight {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ===== HOMEPAGE STATISTICS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--accent-blue) 100%);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.stats-content h2 {
    text-align: center;
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    font-weight: 600;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        gap: var(--spacing-lg);
    }
    
    .stat-item {
        min-width: 100px;
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stats-content h2 {
        font-size: 1.5rem;
    }
}

/* ===== TEAM SECTION ENHANCEMENTS ===== */
.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: var(--background-light);
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
    border-radius: var(--border-radius-md);
    border: 2px dashed var(--border-color);
}

.no-team-members {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    grid-column: 1 / -1;
    padding: var(--spacing-xl);
}

.team-member .member-info {
    flex-grow: 1;
}

.team-member .social-links a {
    margin-right: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--accent-blue);
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.team-member .social-links a:hover {
    background: var(--accent-blue);
    color: white;
}

/* ===== YOUTUBE BUTTON IN CONTACT SECTION ===== */
.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #FF0000;
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.youtube-button:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: white;
}

.youtube-icon {
    font-size: 1.2rem;
    margin-right: var(--spacing-xs);
}

.contact-info {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .video-card:hover,
    .guest-card:hover {
        box-shadow: 0 0 0 3px var(--accent-blue);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .mobile-nav,
    .main-footer,
    .filters,
    .pagination,
    .guest-actions,
    .play-button {
        display: none !important;
    }
    
    .video-card,
    .guest-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
        margin-bottom: var(--spacing-md);
    }
    
    main {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}